sql get number of days between two dates
snippet in sql

sql get number of days between two dates

user4130

DATEDIFF(DAY, '1/1/2011', '3/1/2011')