`
java-mans
  • 浏览: 11437964 次
文章分类
社区版块
存档分类
最新评论

full-text search

 
阅读更多

1,catalog

USE AdventureWorks;
GO
CREATE FULLTEXT CATALOG AdvWksDocFTCat;


2,unique, single-column, non-nullable index

CREATE UNIQUE INDEX ui_ukDoc ON Production.Document(DocumentID);


3,full-text index

CREATE FULLTEXT INDEX ON Production.Document
(
    Document                         --Full-text index column name 
        TYPE COLUMN FileExtension    --Name of column that contains file type information
        Language 2057                 --2057 is the LCID for British English
)
KEY INDEX ui_ukDoc ON AdvWksDocFTCat --Unique index
WITH CHANGE_TRACKING AUTO            --Population type;
GO


分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics