Home Forums SQL Server 2012 SQL 2012 - General Since Text and NText are being deprecated, what is the best data type to use for a Full text Index ? RE: Since Text and NText are being deprecated, what is the best data type to use for a Full text Index ?

  • The answer is that it depends on what you want to index. If you want to index texts stored as such, you use varchar or nvarchar. If you want to index xml documents, you use the xml data type. And if you want to index PDF or Word documents, you use varbinary (and a column which holds the type of the document).

    [font="Times New Roman"]Erland Sommarskog, SQL Server MVP, www.sommarskog.se[/font]