Skip to Main Content

Analytics Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Cast date to varchar

667657Jun 1 2011 — edited Jun 2 2011
Hi all,

Any idea why the timestamp is lost after casting a date into a varchar (FYI : datatype is datetime in the rpd)
if I have a date like ;
date = 5/2/2011 9:18:26 AM
CAST (date as varcchar(100)) gives 5-2-2011

Is there anyway to avoid this lost of precision

Best regards
Adil
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details