Viewing 3 posts - 1 through 3 (of 3 total)
Hi steve!
I tried. It works.
I think that sql server generates something like this:
declare @author_id varchar(10)
declare @FindExact bit
exec spGetAuthorsList @author_id, @FindExact
when you execute:
Execute sp_executesql N'exec spGetAuthorsList @author_id, @FindExact' , N'@author_id varchar(10), @FindExact...
February 2, 2005 at 10:44 am
try the following:
Execute sp_executesql N'exec spGetAuthorsList @author_id, @FindExact' , N'@author_id varchar(10), @FindExact bit' , @author_id = '1' , @FindExact = 0
In your original statement you are passing the variable...
February 2, 2005 at 10:24 am
I had the same problem with sql server 2000.
I solved it with SET NOCOUNT ON.
If NOCOUNT is OFF, every time sql server executes a statement it returns the number...
July 16, 2004 at 9:04 am
Viewing 3 posts - 1 through 3 (of 3 total)