Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: What kind of date format?
Chris,
Since Oracle cannot handle milliseconds, one of my colleaque wrote a stored procedure to manipulate the date and then dump the sybase data into a flat file and used sqlldr to load into Oracle.
Another solution will be load this date into a varchar2 column and use a combination of substr and to_date to ignore the milliseconds. Will that work?
Prakash
-----Original Message-----
Sent: Wednesday, April 04, 2001 9:56 PM
To: Multiple recipients of list ORACLE-L
I used bcp to get the database from a sybase database,
and plan to load the data back to Oracle. The only
problem is that I got the following defualt date
format from Sybase:
Apr 3 2001 10:29:47:000AM
What's the corresponding date format in Oracle? ('Mon dd yyyy hh:mi:ss:???AM')
And did anyone migrate the database from Sybase or SQL Server to Oracle before?
Thanks,
Chris
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Fat City Network Services -- (858) 538-5051 FAX: (858) 538-5051 San Diego, California -- Public Internet access / Mailing Lists --------------------------------------------------------------------To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). Received on Thu Apr 05 2001 - 10:28:28 CDT
![]() |
![]() |