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                                                           --#可以看出全文索引是没有名字的。

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

最新文章

  1. 配置eclipse J2EE环境
  2. AzCopy Upload Files
  3. Angularjs学习笔记(四)----与后端服务器通信
  4. Servlet/JSP-06 Session
  5. android之简单图形绘制
  6. AngularJS 全局scope与Isolate scope通信
  7. DevExpress控件使用系列--ASPxTreeList
  8. 欧拉工程第67题:Maximum path sum II
  9. css reset浅谈
  10. BZOJ2296: 【POJ Challenge】随机种子
  11. C++之异常捕获和处理
  12. left join on +多条件与where区别
  13. IRP小结 0x01 IRP & IO_STACK_LOCATION(结合WRK理解)
  14. FileUrl
  15. web.config 加密/解密 正确版
  16. mint18.3 升级linux-libc-dev_4.4.0-102.132 导致外接显示屏无法旋转,设置分辨率
  17. Centos6.5 升级Openssl + Openssh
  18. 内存溢出和内存泄漏 mark下
  19. __str__被print函数调用,目的是打印类的内容到屏幕上
  20. echo $[1 + 2] shell中 $[] 在bash中同$(()),用于算术计算

热门文章

  1. c#中的数据类型简介(string)
  2. TCP/IP详解之:广播和多播
  3. jquery插件的编写
  4. PHP中将对数据库的操作,封装成一个工具类以及学会使用面向对象的方式进行编程
  5. linux下实现自己的shell解释器
  6. 给ecshop后台增加管理功能页面
  7. 如何去除List中的重复值?
  8. 深入理解java String 对象的不可变性
  9. Python学习笔记8-类的继承 、深度优先、广度优先
  10. linux学习之十、变量的取用与配置:echo, 变量配置守则, unset