Home Page for the TeradataForum
 

Archives of the TeradataForum

Message Posted: Thu, 16 May 2002 @ 20:59:54 GMT


     
  <Prev Next>   <<First <Prev Next> Last>>  


Subj:   Re: Testing for valid dates
 
From:   Thomas F. Stanek

One solution might be to create your own calendar table with all the dates required. You could:

1) Create a table

2) Populate it with all the rows from SYS_CALENDAR

3) Create a BTEQ that repeats and inserts rows into your table by selecting the max date from your table + 1 to add future dates (or min date -1 to add past dates).

Not elegant, but I think it should work.

Thomas F. Stanek
TFS Consulting
www.tfsconsulting.com



     
  <Prev Next>   <<First <Prev Next> Last>>  
 
 
 
 
 
 
 
 
  
  Top Home Privacy Feedback  
 
 
Copyright for the TeradataForum (TDATA-L), Manta BlueSky    
Copyright 2016 - All Rights Reserved    
Last Modified: 15 Jun 2023