Here are the details of what I am trying to do.
I have a procedure which has a incoming parameter that is an ID. Based on that ID I want to then perform a select statement that will select a field of type text from a table where a column matches with that ID. Then, I want to call a procedure and pass it the text variable which was just obtained. This is where I run into the error that I can not have a local variable of type text, ntext or image. Any ideas? I have tried selecting straight in for the parameter of a procedure but that doesn't work either.
Any suggestions would be greatly appreciated!
Lindsay
I have a procedure which has a incoming parameter that is an ID. Based on that ID I want to then perform a select statement that will select a field of type text from a table where a column matches with that ID. Then, I want to call a procedure and pass it the text variable which was just obtained. This is where I run into the error that I can not have a local variable of type text, ntext or image. Any ideas? I have tried selecting straight in for the parameter of a procedure but that doesn't work either.
Any suggestions would be greatly appreciated!
Lindsay