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
Explain system views?
Can the query output be sorted by multiple columns in ms sql server?
Do you know what is a with(nolock)?
Is mysql the same as sql server?
How to create new tables with "select ... Into" statements in ms sql server?
You want to implement the one-to-one relationship while designing tables. How would you do it?
How will you know when statistics on a table are obsolete?
What are cursors and when they are useful?
What is advantage data architect?
What is the temp table?
What are window functions in sql server?
Is there any performance difference between if exists (select null from table) and if exists (select 1 from table)?
Explain the flow of creating a cube? : sql server analysis services, ssas
Is null vs coalesce?
Do you know clustered and non-clustered index?