RRinTetons
IS-IT--Management
I want to get the entire content of an NVARCHAR(MAX) column in a single row out into a text file for inspection. If I set query results to go to a file and write:
SELECT m.MyCol
FROM MyTable m
WHERE m.ID = 1
I get one row, but only the first 255 characters. LEN(m.MyCol) tells me it's 5997 chars long, and I can pick out 255 char substrings, but I want to inspect the whole thing.
What am I missing?
-
Richard Ray
Jackson Hole Mountain Resort
SELECT m.MyCol
FROM MyTable m
WHERE m.ID = 1
I get one row, but only the first 255 characters. LEN(m.MyCol) tells me it's 5997 chars long, and I can pick out 255 char substrings, but I want to inspect the whole thing.
What am I missing?
-
Richard Ray
Jackson Hole Mountain Resort