Home Forums SQL Server 2008 SQL Server 2008 - General OrderDate = Today RE: OrderDate = Today
salliven
SSCrazy
Points: 2644
More actions
February 22, 2013 at 6:54 am
#1590337
Please check this code:
if exists (select OrderDate from Order) = CONVERT(VARCHAR(20), Getdate(), 101)
Begin
...some code...
End