Difference between nvarchar(max) and NText

365695 pts.
Tags:
NTEXT data type
NVARCHAR
SQL Server
Now, I'm a beginner using SQL Server and I'm looking to learn more about the advantages / disadvantages between "nvarchar(max)" and "NText" data types. Now, I don't need to know backward compatibility so I already know that "nvarchar(max)" isn't supported by previous SQL Server releases.

Answer Wiki

Thanks. We'll let you know when a new response is added.

Please use nvarchar(max) if your SQL SERVER version>2005

Discuss This Question: 2  Replies

 
There was an error processing your information. Please try again later.
Thanks. We'll let you know when a new response is added.
Send me notifications when members answer or reply to this question.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
  • carlosdl
    If you are using a version that supports nvarchar(max) then there is no advantage in using NText, and you should avoid it.

    Ntext (and text and image) have been deprecated, and Microsoft's recommendation is to use nvarchar(max), varchar(max), and varbinary(max) instead.
    73,400 pointsBadges:
    report
  • reckonankit
    HI ITKE

    NText stores text as large object structure in database while nvarchar(max) behaves by default stores text in table structure and behaves like Ntext only when it exceeds 8000 bytes.So better to use nvarchar(max).

    Thanks 

    1,860 pointsBadges:
    report

Forgot Password

No problem! Submit your e-mail address below. We'll send you an e-mail containing your password.

Your password has been sent to:

Share this item with your network:

To follow this tag...

There was an error processing your information. Please try again later.

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Thanks! We'll email you when relevant content is added and updated.

Following