TableA
================
LastRun <--- datatype datetime
Query
SELECT datediff("hh",getdate(),LastRun) FROM TableA
returns...
696 which is incorrect. Do I need to do some kind of convert on either? getdate() returns a datetime and LastRun is a datetime so why would this not work?
Thanks for replies,
Naoise
================
LastRun <--- datatype datetime
Query
SELECT datediff("hh",getdate(),LastRun) FROM TableA
returns...
696 which is incorrect. Do I need to do some kind of convert on either? getdate() returns a datetime and LastRun is a datetime so why would this not work?
Thanks for replies,
Naoise