Click here to Skip to main content
15,662,754 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
get total days beetween two dates in stored procedure.
Updated 18-Nov-20 20:08pm

1 solution

SELECT DATEDIFF(d, GETDATE(), '2014-01-31') AS Days
Share this answer

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900