|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 11/27/2006 6:35:00 AM
Posts: 1,
Visits: 1
|
|
Hi all,
Difference Between CURRENT_DATE() and DATE
|
|
|
|
|
Supreme Being
      
Group: PAC and SFT Members
Last Login: Yesterday @ 10:56:35 AM
Posts: 298,
Visits: 363
|
|
|
CURRENT_DATE [no parentheses] is ANSI SQL and should be used for new development. DATE is old Teradata-only syntax retained for backward compatibility.
|
|
|
|
|
Forum Newbie
      
Group: Forum Members
Last Login: 2/5/2007 3:16:00 PM
Posts: 1,
Visits: 1
|
|
Can current_date be used in an equation
where tbl1.host_date = current_date -1
|
|
|
|
|
Forum Guru
      
Group: Forum Members
Last Login: 8/20/2008 2:31:00 AM
Posts: 53,
Visits: 10
|
|
ya you can use..
regds, sachin
|
|
|
|
|
Junior Member
      
Group: Forum Members
Last Login: 3/27/2007 12:06:00 PM
Posts: 12,
Visits: 1
|
|
Be careful that you do not try to use these expressions on PPI tables. If so, the optimizer will not invoke partition eliminiation (at least in the current release.)
-pt
Peter T. Bense - pbense@ebay.com Sr. Performance Engineer, eBay Teradata Certified Master V2R5
|
|
|
|