>DECLARE @Last_Date datetime >DECLARE @Last_Time time > >SET @Last_Date='1899-12-30 00:00:00' >SET @Last_Time='00:00:00' >>
>begin >DECLARE @Last_Date datetime; >DECLARE @Last_Time time ; > >SET @Last_Date='1899-12-30 00:00:00' ; >SET @Last_Time='00:00:00' ; >if <some condition> then > >end if ; > >end >Thanks