View previous topic :: View next topic
|
Author |
Message |
Knowledge Hunter
New User
Joined: 17 Aug 2006 Posts: 22 Location: India
|
|
|
|
hi,
i need a query to fetch the current Date from db2.
Can you throw me some light on it, since i am new to db2.
Thanks,
Yogesh |
|
Back to top |
|
|
guptae
Moderator
Joined: 14 Oct 2005 Posts: 1208 Location: Bangalore,India
|
|
|
|
Hi There,
Code: |
SELECT CURRENT_DATE
FROM SYSIBM.SYSDUMMY1; |
|
|
Back to top |
|
|
vini_srcna
Active User
Joined: 26 May 2005 Posts: 178 Location: Copenhagen, Denmark
|
|
|
|
Or,
SELECT CURRENT DATE AS DATE FROM SYSIBM.SYSDUMMY1
DATE
----------
2007-03-15
** END *** |
|
Back to top |
|
|
|