Page 1 of 1

Pls conver these SQL to Teradata SQL

Posted: Sat Feb 02, 2008 4:33 am
by rakesh.nc
hi,

pls convert the following SQL queries to Teradata SQL.

1.

DATEDIFF(day,dateadd ( dd , ( r_update_date % 1000 ) - 1 , convert ( datetime ,convert( char(4) , r_update_date / 1000 ) + '/01/01') ) , GETDATE()) > 90[/b][/i]


2.

datepart(d,dateadd(day,-datepart(d,getdate()),getdate());


Rakesh nc

Posted: Sat Feb 02, 2008 5:37 am
by DS_FocusGroup
what do u want to do ?

Posted: Sat Feb 02, 2008 8:24 am
by chulett
No thank you. Surely there is someone you work with that could help you with that.