By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
438,288 Members | 1,290 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 438,288 IT Pros & Developers. It's quick & easy.

getdate()

P: n/a
How can I get getdate() (SQL similar) at DB2?

Jan 25 '07 #1
Share this Question
Share on Google+
2 Replies


P: n/a


On Jan 25, 8:16 pm, "Jonată" <ljon...@gmail.comwrote:
How can I get getdate() (SQL similar) at DB2?
select current_date from sysibm.sysdummy1
or
values current_date

/Lennart

Jan 25 '07 #2

P: n/a


On Jan 26, 5:10Â*am, "Lennart" <Erik.Lennart.Jons...@gmail.comwrote:
On Jan 25, 8:16 pm, "JonatĂŁ" <ljon...@gmail.comwrote:
How can I get getdate() (SQL similar) at DB2?select current_date from sysibm.sysdummy1
or
values current_date

/Lennart
GETDATE
Returns the current system date and time in the Microsoft® SQL
Server™ standard internal format for datetime values.

It will be beter to use CURRENT_TIMESTAMP.

Jan 26 '07 #3

This discussion thread is closed

Replies have been disabled for this discussion.