Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: What kind of date format?

RE: What kind of date format?

From: Bala, Prakash <prakash.bala_at_cingular.com>
Date: Thu, 05 Apr 2001 08:28:28 -0700
Message-ID: <F001.002E2996.20010405081153@fatcity.com>

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



Do You Yahoo!?
Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: CC Harvest
  INET: ccharvest_at_yahoo.com
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).
--

Please see the official ORACLE-L FAQ: http://www.orafaq.com
--

Author: Bala, Prakash
  INET: prakash.bala_at_cingular.com
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

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US