Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL Server Date Syntax

Status
Not open for further replies.

pthalacker

Programmer
Aug 30, 2004
150
Can someone give me some direction on simulating the VFP GoMonth function in Sql Server? I need to be able to establish dates like the end of this month, end of last month, end of this quarter, first quarter, beginning of last quarter. Any help appreciated

pamela
 
Take a look in DateAdd() function in BOL.
Also check faq183-5842 for dateTime Tips and tricks.

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
MVP VFP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top