Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 how to check datetime in < 0 to >= 24 hours...

Author  Topic 

avijit111@gmail.com
Yak Posting Veteran

55 Posts

Posted - 2010-09-10 : 13:43:52
In sqlserver2000 sqlprocedure to check the datetime should be < 0 hours to >= 24 hours, i used that in frontend .net when user select datetime in frontend .net.If possible send procedure also....
please someone solve my problem to write such sqlprocedure ...
please help me out....
thanks a lot....

russell
Pyro-ma-ni-yak

5072 Posts

Posted - 2010-09-10 : 14:20:36
SELECT DATEPART(hour, getdate());
Go to Top of Page
   

- Advertisement -