Viewing 7 posts - 1 through 8 (of 8 total)
Long story short, this sp was not the issue. We have another sp that is running without returning a result set. I am going to apply what you've...
May 28, 2008 at 4:38 pm
Hi Jeff,
Thank you for the help. Much appreciated.
Steve
May 28, 2008 at 3:53 pm
Hi Jeff,
Is this the syntax you were describing?
ALTER PROCEDURE bmssa.sp_VENDOR_ONTIME
/*
Vendor on time performance anaylsys
1/7/08 mm
*/
AS
DECLARE
@BeginDt Datetime,
@EndDt Datetime,
@Date1 Datetime,
@Date2 Datetime
SET @BeginDt = @Date1;
SET@EndDt = @Date2;
-- query 1
SELECT ...
May 28, 2008 at 1:57 pm
Hi Jeff, Thanks for the reply. So I am declaring 4 variables and setting them to null prior to the execution? To wash them out?
DECLARE all four variables as...
May 27, 2008 at 11:37 am
Just the select statements.
May 27, 2008 at 11:14 am
Yes. the select statements execute timely outside of the sp. The issue is pinpointed to the passing of the date parameters in the stored procedure, since my other...
May 27, 2008 at 11:01 am
Here is an example of a stored procedure that passes a date parameter
ALTER PROCEDURE bmssa.sp_VENDOR_ONTIME
/*
Vendor on time performance anaylsys
1/7/08 mm
*/
@Date1 DateTime,
@Date2 DateTime
AS
-- query 1
SELECT LTRIM(PURCHLINE.PURCHID) AS...
May 27, 2008 at 10:35 am
Viewing 7 posts - 1 through 8 (of 8 total)