DB2’s equivalent of Oracle’s “dual”

Wednesday, February 16th, 2011

This is really a quick example of DB2’s equivalent of Oracle’s “dual”

Get current date/time in DB2

select current date from sysibm.sysdummy1 

You can leave a response, or trackback from your own site.

Posted in: Development, quick tips

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>