Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE text_test (test NTEXT NOT NULL)
- INSERT
- INTO text_test
- VALUES ('test')
- DECLARE @t NVARCHAR(MAX);
- DECLARE txt_cur CURSOR FOR
- SELECT test
- FROM text_test
- OPEN txt_cur
- FETCH NEXT
- FROM txt_cur
- INTO @t
- CLOSE txt_cur
- DEALLOCATE txt_cur
- GO
- DROP TABLE text_test
- GO
Add Comment
Please, Sign In to add comment