Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Inserting Date into Oracle8i 1

Status
Not open for further replies.

BarkingFrog

Programmer
Apr 6, 2001
96
US
How can I convert a date into a format that Oracle8i will recognize?
 
We always use the format DD-MON-YYYY in our oracle databases.

Code:
dim theDate, sqlstring

theDate = '12-APR-2001'

sqlstring = "update table set DBDate = to_date('" & theDate & "','DD-MON-YYYY')
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top