create table Document(
ID int not null,
Name nvarchar(255) not null,
Body nvarchar(max) not null);
go

create unique index uq_ix_for_Document  --#这里一定要加一个not null unique的索引下面会用到。没有这个就不可以加全文索引。
on Document(ID);
go

create fulltext catalog ftt_clg_for_Studio
as default;
go

create fulltext index on Document(Body)
key index uq_ix_for_Document
on ftt_clg_for_Studio;
go                                                           --#可以看出全文索引是没有名字的。

 

------------------------------------------------------------------------------------------------------------------

 

相关文章:

  • 2021-06-11
  • 2022-12-23
  • 2022-12-23
  • 2021-07-11
  • 2021-11-13
  • 2021-08-07
猜你喜欢
  • 2021-09-20
  • 2021-08-29
  • 2022-01-21
  • 2021-06-19
  • 2021-11-18
  • 2021-09-23
  • 2021-10-15
相关资源
相似解决方案