How will you collect the date from current date to last
older 6 days date in sql server 2005
Answer Posted / gopi muluka
Using DATEADD Function compare get the requited values
SELECT DATEADD(DD,-6,GETDATE())
| Is This Answer Correct ? | 9 Yes | 0 No |
Post New Answer View All Answers
What is transaction server consistency?
What are types of scd? : sql server analysis services, ssas
What is 2nf normalization form?
How do use Having,Group by,Group function in SQL?
How do I view a procedure in sql server?
Can sub report data source be different from that of the parent report?
How to throw custom exception in Stored Procedure?
How do I trace a query in sql server?
Explain features and concepts of analysis services?
What is default constraint in ms sql server?
What are the differences between DDL, DML and DCL in SQL?
Explain concepts of analysis services?
Explain powershell included in sql server 2008?
What are commit and rollback in sql?
Why should you use or avoid select * statements?