STORED PROCEDURE
From: Cairns (stephensenterprises_at_hotmail.com)
Date: 02/20/04
- Next message: thiru: "Re: How to findout Eliminated record by when use Distinct function"
- Previous message: Hari: "Re: Reference to more than one table"
- Next in thread: Hari: "Re: STORED PROCEDURE"
- Reply: Hari: "Re: STORED PROCEDURE"
- Reply: EB: "Re: STORED PROCEDURE"
- Reply: Andrew J. Kelly: "Re: STORED PROCEDURE"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 20 Feb 2004 04:36:08 -0800
I am receiving the following error message when producing this fied as part of a select statement in a stored procedure. Can anyone help me fix it.
Incorrect syntax near 'dateadd'.
dateadd(d,7*CONVERT(int,LEFT(CONVERT(decimal(4,1),DATEDIFF(dd,GETDATE(),'20030208')/7),2)),'20030208') as TestDate
- Next message: thiru: "Re: How to findout Eliminated record by when use Distinct function"
- Previous message: Hari: "Re: Reference to more than one table"
- Next in thread: Hari: "Re: STORED PROCEDURE"
- Reply: Hari: "Re: STORED PROCEDURE"
- Reply: EB: "Re: STORED PROCEDURE"
- Reply: Andrew J. Kelly: "Re: STORED PROCEDURE"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|