Your problem is that you think Management Studio will present you all the data. This is not true. Go to Tools> Options> Query Results> SQL Server. If you use "Results for the grid", change the "Maximum characters received" to "Non XML data" (just note that "Results for the grid" will exclude any CR / LF). If you are using Results for Text, change the Maximum Number of Characters Displayed in Each Column.
You may be tempted to enter more, but the maximum that you can return to Management Studio is:
65535 for Results to Grid 8192 for Results to Text
If you really want to see all the data in Management Studio, you can try converting it to XML, but this also has problems. First set the results to grid> XML data up to 5 MB or no limit, then do:
SELECT CONVERT(XML, column) FROM dbo.table WHERE...
Now this will result in a grid result where the link is really clickable. This will open a new editor window (it will not be a query window, so you will not have launch buttons, IntelliSense, etc.) with your data converted to XML. This means that it will replace >
with >
etc. Here is a quick example:
SELECT CONVERT(XML, 'bob > sally');
Result:
When you click on the grid, you get this new window:
(It has IntelliSense validating the XML format, so you see squigglies.)
BACK FROM
If you just want to check your sanity and don't want to copy all 383K elsewhere, then don't do it! Just check using:
SELECT DATALENGTH(column) FROM dbo.table WHERE...
This should show you that your data was captured by the database, and the problem is the tool and your verification method.
(Since then I wrote a review about this here .)