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 > How to change TIMESTAMP value with one sql expression

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 10-18-09, 16:31
Sapfeer Sapfeer is offline
Registered User
 
Join Date: Mar 2009
Posts: 3
How to change TIMESTAMP value with one sql expression

Hi!

Maybe I didn't read manuals and documentation properly, but I was unable to form a single sql command which can change some TIMESTAMP value to CURRENT time plus some interval, for example 5 minutes after issuing sql. I've read something about INTERVAL data type, but I don't know how to use it make it out...
Reply With Quote
  #2 (permalink)  
Old 10-20-09, 09:07
ceinma ceinma is offline
Registered User
 
Join Date: Apr 2007
Location: Jundiai / SP - Brasil
Posts: 311
Article about INTERVAL :
Google Translate

Article about DATE/TIME functions:
Google Translate

To see the example codes, probably you need access the site without google translate...
__________________
________________________________________
César Inacio Martins
Jundiai / SP - Brasil
http://www.imartins.com.br/informix - em Português
http://www.imartins.com.br/informix - English (translated by Google).
________________________________________
Reply With Quote
Reply

Thread Tools
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