Hi,
I wrote a query in the query analyser and it works just fine. When I want to use the exact same query in a stored procedure, he gives me this error: Invalid column name ... .
This error occurs in the where clause where he has to compare with a parameter. This parameter is a string. I had this error in other stored procedures, but i solved it there by putting the parameter between " ", like this "'+parameter+'". Now it just doesn't help a bit.
could someone please help me?
>
:O> Björn
I wrote a query in the query analyser and it works just fine. When I want to use the exact same query in a stored procedure, he gives me this error: Invalid column name ... .
This error occurs in the where clause where he has to compare with a parameter. This parameter is a string. I had this error in other stored procedures, but i solved it there by putting the parameter between " ", like this "'+parameter+'". Now it just doesn't help a bit.
could someone please help me?
>