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

oracle date format to sql server date format

Status
Not open for further replies.

fgeorge

Programmer
Jun 28, 2002
76
NG
how can i convert "20030806 18:00:00" , which is an oracle date format to a format that sql ser ver will accept in a datetime data field?
 
Are you trying to insert date values? If so, that format will work fine.

Code:
INSERT tbl (date_col) VALUES ('20030806 18:00:00')

--James
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top