RE: Finding Last Day Of the systemdate
From: David Portas (REMOVE_BEFORE_REPLYING_dportas_at_acm.org)
Date: 09/09/04
- Next message: Aaron [SQL Server MVP]: "Re: Bcp and temp tables"
- Previous message: David Phelan: "Re: VB Date formating Update problem"
- In reply to: Ragugct: "Finding Last Day Of the systemdate"
- Next in thread: Toby Herring: "Re: Finding Last Day Of the systemdate"
- Reply: Toby Herring: "Re: Finding Last Day Of the systemdate"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 9 Sep 2004 08:57:04 -0700
Try this:
DATEADD(MONTH,1,DATEADD(DAY,-DAY(CURRENT_TIMESTAMP),CURRENT_TIMESTAMP))
-- David Portas SQL Server MVP --
- Next message: Aaron [SQL Server MVP]: "Re: Bcp and temp tables"
- Previous message: David Phelan: "Re: VB Date formating Update problem"
- In reply to: Ragugct: "Finding Last Day Of the systemdate"
- Next in thread: Toby Herring: "Re: Finding Last Day Of the systemdate"
- Reply: Toby Herring: "Re: Finding Last Day Of the systemdate"
- Messages sorted by: [ date ] [ thread ]