‎2009 Jul 06 5:40 PM
Hello all,
I have to write native sql code to update the date and time stamp on an oracle database in the format 22/05/2009 02:37:33
I was able to update date by passing 22-MAY-2009 through the native sql, how do i update time ? Any ideas?
‎2009 Jul 06 6:56 PM
Just chk your existing DB DATE and Time which format it was stored.
Kanagaraja L
‎2009 Jul 07 9:38 AM
How does that matter. All I am doing is passing my date through a variable in the native sql. it has no relation with my system settings
‎2009 Jul 07 10:20 AM
you can define a time variable uisng sy-uzeit.
It gives the time format you've mentioned
data: v_time like sy-uzeit.
write:/ v_time.
‎2009 Aug 12 8:57 AM
Found the solution. I was supposed to use to_date oracle function in my native sql