Text data type can not be ordered or unioned

It was astonished for me that databases like MS SQL and Sybase do not support ordering and union by columns of the TEXT type (and some other data types, in short big data blobs). It seems the reason is logical. I would suppose it is performance hit to compare such big data sets that could be stored in such columns. So when you change legacy data type to text be sure that somewhere else this column is not a part of such operations. Or you will caught unpleasant regression as I did.

Advertisements
This entry was posted in Microsoft SQL Server, Sybase. 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 )

Twitter picture

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

Facebook photo

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

Google+ photo

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

Connecting to %s