SyntaxFix
Write A Post
Hire A Developer
Questions
DECLARE @Daysforward int SELECT @Daysforward = 25 (no of days required) Select * from table name where CAST( columnDate AS date) < DATEADD(day,1+@Daysforward,CAST(GETDATE() AS date))