IBM Mainframe Forum Index
 
Log In
 
IBM Mainframe Forum Index Mainframe: Search IBM Mainframe Forum: FAQ Register
 

How to get the value of system date in db2 ?


IBM Mainframe Forums -> DB2
Post new topic   Reply to topic
View previous topic :: View next topic  
Author Message
senthilssg

New User


Joined: 09 Dec 2005
Posts: 64
Location: USA

PostPosted: Tue Mar 28, 2006 6:49 pm
Reply with quote

Hi All ,


Actually i want to update the one column of a table which has DATE data type with value of system date . For that i need the value for system date .


can any one tell me , In db2 , what is the query is used for getting the value for system date (In oracle sysdate is used for getting the system date ) .


Thanks and Regards ,
Senthil
Back to top
View user's profile Send private message
thanooz

New User


Joined: 28 Jun 2005
Posts: 99

PostPosted: Tue Mar 28, 2006 8:07 pm
Reply with quote

senthilssg,


SELECT CURRENT_DATE FROM SYSIBM.SYSDUMMY1;

thak's
thanooz
Back to top
View user's profile Send private message
View previous topic : : View next topic  
Post new topic   Reply to topic All times are GMT + 6 Hours
Forum Index -> DB2

 


Similar Topics
Topic Forum Replies
No new posts Sorting date into YYYYMMDD, and creat... DFSORT/ICETOOL 13
No new posts CICS UCTRAN=NO not working, need syst... CICS 3
No new posts Sort card to know that creation date ... DFSORT/ICETOOL 10
No new posts Help with SORT - I need to validate d... DFSORT/ICETOOL 11
No new posts Date format correction using dfsort DFSORT/ICETOOL 3
Search our Forums:


Back to Top