How to read long text in sql server

Sometime you might want to read the entire text in a particular table column. If you execute the command

select longColumn from MyTable

You will see that you can only read the first 50 characters are so. If you are doing this in SQL Server Management studio, simply right click on the column or cell and select copy. Then past is word or any text editor of your choice. It quite easy but can some give you trouble.

This entry was posted in SQL Server 2008. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s