I want to know basic difference between datatype of ntext
and varchar
in SQL Server 2008 R2. And in what situation should I use ntext
and varchar
Asked
Active
Viewed 1.9k times
6

marc_s
- 732,580
- 175
- 1,330
- 1,459

Vishal Nagra
- 113
- 2
- 3
- 8
-
http://stackoverflow.com/questions/2133946/nvarcharmax-vs-ntext – David Brabant Jul 19 '13 at 05:26
-
3Easy: **don't use** `ntext` anymore. Also: `varchar` = non-Unicode, `nvarchar` = Unicode (2 bytes per character) – marc_s Jul 19 '13 at 05:31
1 Answers
13
From ntext, text, and image (Transact-SQL) i think that the biggest difference that should concern you is
ntext, text, and image data types will be removed in a future version of Microsoft SQL Server. Avoid using these data types in new development work, and plan to modify applications that currently use them.

Adriaan Stander
- 162,879
- 31
- 289
- 284
-
1This is not an answer to the main question, but a strong recommendation. – user2063329 Jul 20 '17 at 03:29