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.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 declare text as local variable

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2004-02-24 : 08:23:30
sanjay writes "Dear sir
i have written a sotred procedure in which when we declare a local variable as text then it gives error say we can not declare local variable as text.

but i want that because the max size of the varchar is 8000.
so please give me suggestion for that as soon as possible.

warm regards
annay singh"

nr
SQLTeam MVY

12543 Posts

Posted - 2004-02-24 : 08:31:00
Create a temp table with a single row.

==========================================
Cursors are useful if you don't know sql.
DTS can be used in a similar way.
Beer is not cold and it isn't fizzy.
Go to Top of Page
   

- Advertisement -