Skip to Main Content

SQL & PL/SQL

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!

Retrieving date using :old and :new in triggers

anjana83May 11 2010 — edited May 12 2010
Hi

I am exeuting a trigger and while retrieving a date field from it using :OLD and :NEW variables, it leaves the timestamp part.

for example,the actual value for start_date field in the table is '10/12/2005 7:04:25 PM', but when I use :NEW.start_date , it returns only '10/12/2005' .
How to make it return the timestamp also?

Thanks.
This post has been answered by Saubhik Banerjee on May 12 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jun 9 2010
Added on May 11 2010
7 comments
1,491 views