If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Informix > SysDate equivalent in Informix

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-07-03, 19:34
islamabadi islamabadi is offline
Registered User
 
Join Date: Apr 2003
Posts: 20
SysDate equivalent in Informix

When I am inserting current system date in a record using sysdate, I use SysDate function. What would I use in the statement below for informix:

insert into mytable (SysDate,'Me');

ANy help will be appreciated.

Thanks
Reply With Quote
  #2 (permalink)  
Old 05-08-03, 03:30
eherber eherber is offline
Registered User
 
Join Date: Aug 2002
Location: Bonn/Germany
Posts: 152
you can use 'today' (date columns) or 'current'
for datetime columns.
__________________

Best regards

Eric
--
IT-Consulting Herber
WWW: http://www.herber-consulting.de
Email: eric@herber-consulting.de

***********************************************
Download the IFMX Database-Monitor for free at:
http://www.herber-consulting.de/BusyBee
***********************************************
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On