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 > interval datatype...

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-26-03, 00:39
nivaskhan nivaskhan is offline
Registered User
 
Join Date: Jan 2002
Posts: 12
Red face interval datatype...

What does the following statement do...

current year to day - interval (86) day (3) to day

does it mean that 3 days are subtracted for todays date...
correct me if I am wrong
__________________
NivasKhan
Reply With Quote
  #2 (permalink)  
Old 05-12-03, 14:30
astrue astrue is offline
Registered User
 
Join Date: Dec 2002
Location: Portland, OR, USA
Posts: 26
Post Check this

Nope. It means subtract 86 days. The (3) is the number of significant digits in the INTERVAL number of days, so it maxes out at 999.

Interval is a pretty tricky data type, so if you are planning to work with it, study up and use it carefully.

HTH
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