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 > Is there a isdate function?

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 12-12-05, 13:56
dbatlanta dbatlanta is offline
Registered User
 
Join Date: Dec 2005
Posts: 11
Is there a isdate function?

Hi all:

I am new to Informix. Is there a isdate function in Informix. What I am trying to do is I have a table with 20 milliion rows. One of the column is 'DATE'. I have to make sure that the date column has actual date in it in the "yyyymmdd" format. If the date field is in the "yyyymmdd" format I should get true otherwise false. Can anyone please help me.

Thank you in advance
Reply With Quote
  #2 (permalink)  
Old 12-13-05, 06:51
gurey gurey is offline
Registered User
 
Join Date: Aug 2003
Location: Argentina
Posts: 780
Hi,

Please, define environment variable DBDATE=Y4MD

Gustavo.
Reply With Quote
  #3 (permalink)  
Old 12-13-05, 07:43
ravi_pentakota ravi_pentakota is offline
Registered User
 
Join Date: Dec 2005
Posts: 8
Quote:
Originally Posted by dbatlanta
Hi all:

I am new to Informix. Is there a isdate function in Informix. What I am trying to do is I have a table with 20 milliion rows. One of the column is 'DATE'. I have to make sure that the date column has actual date in it in the "yyyymmdd" format. If the date field is in the "yyyymmdd" format I should get true otherwise false. Can anyone please help me.

Thank you in advance
in informix date function is there.but it is to be used for ur field is date time u want to extract only date then u can use date(ur col name).but in this case u can check u r data type & default format for date.

regards
ravipentakota1@yahoo.co.in
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