SQL Tutorial, SQL Server, SQL Statement, SQL Query, MS SQL 2000 Reporting Service, T-SQL, SQL Function, SQL Syntax, SQL User Define Function, SQL Trigger
select ,DATEADD(DD, -2, GETDATE()),112) from emp ...what is usee of -2 in above query can u expalin ???
plz give solution
select DATEADD(DD, -2, GETDATE())in this -2 is giving 2 days before date of present date.
Post a Comment