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 2005 Forums
 Transact-SQL (2005)
 readtext into a variable

Author  Topic 

skysyb
Starting Member

16 Posts

Posted - 2008-05-02 : 06:16:29
hi, has anyone ever tried saving the result of 'readtext' (ofcourse, not the entire text - just some of it usnig offsets in the readtext as : readtext texttab.textcolumn @ptr 0 100 ) into a 'varchar' variable ? if so, can you give me an example pls ?

thanks.

RickD
Slow But Sure Yak Herding Master

3608 Posts

Posted - 2008-05-06 : 08:23:45
If you need the value as a variable, use SUBSTRING instead.
Go to Top of Page
   

- Advertisement -