Little SQL Server Tricks: Include Full-Text Indexes in the Create Table Scripts

SQL Server Management Studio may not include all important parts of your table when you let it write the CREATE TABLE script. For instance, the full-text index for a table is omitted by default. If you use the full-text search feature, you should make sure that SQL Server Management Studio includes them in the create scripts. You can change the behaviour with these steps:

  1. Open SQL Server Management Studio
  2. In the Tools menu click on Options…
  3. Expand the entry SQL Server Object Explorer and select Scripting
  4. In the right list locate Script full-text indexes and set it to True

Select True from the dropdown list for Script full-text indexes

From now on SQL Server Management Studio includes the definition for the full-text indexes in the CREATE TABLE scripts.

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.