Hi all,
I'm having some problems with a Pass-through query calling a SQL stored procedure. The code I'm using is...
...which is lifted straight from working code in SQL Query Analyzer. But when I run the pass-through query I get no results. I've tried a simple SELECT from the DB the query uses to make sure its not a security issue and that was fine. I'm using the sa login (for my DSN).
Anybody have any ideas... ?
Thanks in Advance,
Casey.
I'm having some problems with a Pass-through query calling a SQL stored procedure. The code I'm using is...
Code:
DECLARE @RC int
DECLARE @startDate datetime
DECLARE @endDate datetime
SELECT @startDate = '31/10/2004'
SELECT @endDate = '1/12/2004'
EXEC @RC = [Finance].[sp_SELECT_test] @startDate, @endDate
...which is lifted straight from working code in SQL Query Analyzer. But when I run the pass-through query I get no results. I've tried a simple SELECT from the DB the query uses to make sure its not a security issue and that was fine. I'm using the sa login (for my DSN).
Anybody have any ideas... ?
Thanks in Advance,
Casey.