G
Guest
I am using an input parameter to send the array list of records to retrieve
in the query.
In other words my Stored Procedure is doin WHERE PeopleID IN (1,2,3,ect) and
the "1,2,3,4" ect. is the parameter being passed in the input parameter.
I declared that my parameter in SQL is @pIN Varchar(1000)
And I declared that the input parameter as @pIn varchar(1000) =
"12,2,2,ectt....."
I have also tried declaring it like @pIn varchar = "12,2,2,ectt....."
without the 1000 specified to see if that makes a difference and it doesn't.
Now, I am finding limitation on the InputParameter property for a form. It
works fine when the size of the parameter is low like in the 100-200
character in length.
However, in one example I got the size of the parameter string up to 322
and it bombs. I know the string that it is passing is fine cause I do a
debug on it and get the output then take it over to query analyzer and run it
and it works.
So does anyone know what is the limitation on the passing a varchar
parameter string? I have looked and can not find information on this.
I am actually kinda bumbed here that there seems to be a limitation to this.
I mean just loading up 18 records takes up 100 characters. And as the ID's
get bigger the limitation will be more apparent.
Any help is greatly appreciated!
Angela
in the query.
In other words my Stored Procedure is doin WHERE PeopleID IN (1,2,3,ect) and
the "1,2,3,4" ect. is the parameter being passed in the input parameter.
I declared that my parameter in SQL is @pIN Varchar(1000)
And I declared that the input parameter as @pIn varchar(1000) =
"12,2,2,ectt....."
I have also tried declaring it like @pIn varchar = "12,2,2,ectt....."
without the 1000 specified to see if that makes a difference and it doesn't.
Now, I am finding limitation on the InputParameter property for a form. It
works fine when the size of the parameter is low like in the 100-200
character in length.
However, in one example I got the size of the parameter string up to 322
and it bombs. I know the string that it is passing is fine cause I do a
debug on it and get the output then take it over to query analyzer and run it
and it works.
So does anyone know what is the limitation on the passing a varchar
parameter string? I have looked and can not find information on this.
I am actually kinda bumbed here that there seems to be a limitation to this.
I mean just loading up 18 records takes up 100 characters. And as the ID's
get bigger the limitation will be more apparent.
Any help is greatly appreciated!
Angela