Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2004-03-23 : 08:51:46
|
| vinodh writes "Is it possible to assign value to a variable of datatype text in a stored procedure?" |
|
|
robvolk
Most Valuable Yak
15732 Posts |
Posted - 2004-03-23 : 08:53:25
|
| Unfortunately no. The most you can do is create a stored procedure that accepts a text parameter, but you can't modify it. You can insert it into a text column of a table, execute it as a SQL command (EXEC (@text), for example), or pass it to another procedure that accepts a text parameter. You can't DECLARE a text variable. |
 |
|
|
|
|
|