If I had a table in ACCESS with a date/time column and I wanted all records within the last 24 hours I could do this sort of thing:
SELECT * FROM Table1 where datediff('n',Field1,now) < 1440
How do I do this in SQL Server?
Thanks
|
Results 1 to 3 of 3
Threaded View
|
Click Here to Expand Forum to Full Width |