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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Date & Leading Zeros 2

Status
Not open for further replies.

lenebene

Programmer
Sep 24, 2002
15
US
Hi! I have a table of 700,000 records. The date currently is formatted 5/25/1987. I need the date updated to look like this 05/25/1987. This needs to be done so that I can import it into Oracle.

Thanks!
 
What is the data type of the field ?
If (as it really should) DateTime then simply play with the Format function in a query and then export this query to Oracle.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
This is a table thou... I don't want to create a query if I don't have to... is there another way to do this?

Thanks!
Charlene
 
In design view for the table, set the Format for the field to "Short Date" then, in "Control Panel / Regional & Language Options / Customize / Date ", set the "Short Date" format to "MM/dd/yyyy".

Assuming of course that it is a DateTime field.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top