Please start any new threads on our new site at We've got lots of great SQL Server experts to answer whatever question you can come up with.

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Register Now and get your question answered!
Save Password
Forgot your Password?

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 One Month from getdate() and Day 1
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Starting Member

16 Posts

Posted - 12/03/2012 :  12:58:05  Show Profile  Reply with Quote

Please help. I would like a query that would get me a month prior to today's date and start with day 1. For example,if today's date was 11/23/2012. My end result would be 10/1/2012.


Flowing Fount of Yak Knowledge

5155 Posts

Posted - 12/03/2012 :  14:21:41  Show Profile  Reply with Quote
Go to Top of Page

Starting Member

16 Posts

Posted - 12/04/2012 :  10:40:00  Show Profile  Reply with Quote
Thanks. It worked.
Go to Top of Page

Very Important crosS Applying yaK Herder

52326 Posts

Posted - 12/06/2012 :  01:34:25  Show Profile  Reply with Quote
see the logic behind here

SQL Server MVP

Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.05 seconds. Powered By: Snitz Forums 2000