Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is transaction server consistency?

1105


What are types of scd? : sql server analysis services, ssas

1077


What is 2nf normalization form?

1200


How do use Having,Group by,Group function in SQL?

1788


How do I view a procedure in sql server?

1036


Can sub report data source be different from that of the parent report?

149


How to throw custom exception in Stored Procedure?

1092


How do I trace a query in sql server?

998


Explain features and concepts of analysis services?

1019


What is default constraint in ms sql server?

1103


What are the differences between DDL, DML and DCL in SQL?

1278


Explain concepts of analysis services?

1012


Explain powershell included in sql server 2008?

1114


What are commit and rollback in sql?

1169


Why should you use or avoid select * statements?

1071