The text data type has several inherent problems, including:
You cannot directly write or update text data using the INSERT or UPDATE statements. Instead, you have to use special statements like READTEXT, WRITETEXT and UPDATETEXT.
There are several known issues associated with replicating tables that contain text columns.
Because of the way SQL Server stores text columns, it can take more time to retrieve text/ntext values.
Text data types have extra overhead that can negatively impact performance.
If you don't have to store more than 8KB of text, consider using char(8000) or varchar(8000) data types instead of text and ntext.
Tuesday, December 25, 2007
Avoid Using Text and Ntext Data Types
Labels:
SQL Server
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment