MBoy
asked on
SQL TimeSpan to Integer
I need this done correctly.
DECLARE @NextDate As DateTime
DECLARE @DaysLeft As Integer
SET @DaysLeft = (@NextDate - GETDATE())
DECLARE @NextDate As DateTime
DECLARE @DaysLeft As Integer
SET @DaysLeft = (@NextDate - GETDATE())
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER