Quantcast
Channel: SQLServerCentral » SQL Server 7,2000 » Working with Oracle » Latest topics
Viewing all articles
Browse latest Browse all 86

Datetime Formating -

$
0
0
hi, - how to get the Last 30 days records from a table in Oracle if the column is in format string - like Example - the value in the table is - [b]1251807219[/b]the value in formatted is "[b]2009-09-01 08:13:39.000[/b]"and after foramting date I want to use this column in where condition to get the records from last third days IN SQL SERVER , I can using Date Add - but how cani get the Oracle Select col1 from tabel where dateadd(s,convert(int,1251807219)-(4*60*60),'01/01/1970') <getdate()- 30Please help.., Thanks

Viewing all articles
Browse latest Browse all 86

Trending Articles