Re: Day Of The Week
From: Satish Balusa (sbalusa_nospam_at_corillian.com)
Date: 03/02/04
- Next message: Geoff N. Hiten: "Re: Day Of The Week"
- Previous message: Bart Simpson: "Re: How to create maintenance plan without Northwind and Pubs"
- In reply to: Jim Heavey: "Day Of The Week"
- Next in thread: Geoff N. Hiten: "Re: Day Of The Week"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 2 Mar 2004 10:42:08 -0800
Select datename(dw,getdate())
-- HTH Satish Balusa Corillian Corp. "Jim Heavey" <JHeavey@nospam.com> wrote in message news:Xns94A07D007A203JHeaveyBDUP@207.46.248.16... > There is probably a better way to do this...but... > I am wanting to run a procedure which will backup a database. I created 7 > devices, one for each day of the week. > When I run my procedure, I was wanting it to figure out the day of the week > so it would know which "device" to use for a backup. > Is there a SQL command which will allow me to determine the day of the week > rather then having to pass a parm which provides the day of the week? > > Thanks in advance for your assistance....
- Next message: Geoff N. Hiten: "Re: Day Of The Week"
- Previous message: Bart Simpson: "Re: How to create maintenance plan without Northwind and Pubs"
- In reply to: Jim Heavey: "Day Of The Week"
- Next in thread: Geoff N. Hiten: "Re: Day Of The Week"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|
Loading