zoukankan
html css js c++ java
创建SQL Server全文索引的步骤
--
使用指定的数据库
use
Fredoc
--
enable 数据库的全文检索
sp_fulltext_database
'
enable
'
--
建立全文目录 FT_Fredoc
sp_fulltext_catalog
'
FT_Fredoc
'
,
'
create
'
--
在全文目录中注册需要全文索引的表
sp_fulltext_table
'
TArchive
'
,
'
create
'
,
'
FT_Fredoc
'
,
'
PK_TDocuments
'
--
设置全文索引列名
sp_fulltext_column
'
TArchive
'
,
'
FContent
'
,
'
add
'
--
填充全文索引目录
execute
sp_fulltext_catalog
'
FT_Fredoc
'
,
'
start_full
'
GO
WHILE
FulltextCatalogProperty
(
'
FT_Fredoc
'
,
'
PopulateStatus
'
)
<>
0
BEGIN
WAITFOR
DELAY
'
0:0:30
'
--
--如果全文目录正处于填充状态,则等待30秒后再检测一次
END
--
测试
SELECT
FContent
FROM
TArchive
where
contains
(FContent,
'
Sql
'
)
查看全文
相关阅读:
Spring事务管理
Spring Bean装配(下)——注解
Spring Bean装配(上)
Spring入门篇
Spring入门篇——AOP基本概念
计算机组成原理(1)——系统概述
浏览器缓存 总结
React-router 4 总结
Redux 总结
操作系统位数 的 概念(转)
原文地址:https://www.cnblogs.com/kokoliu/p/611264.html
最新文章
400. Nth Digit
441. Arranging Coins
Java内存模型
728. Self Dividing Numbers
运行期优化
SPOJ
ZOJ 3946 Highway Project (最短路)
HDU 5860 Death Sequence (递推)
HDU 5862 Counting Intersections (离散化+扫描线+树状数组)
POJ 3616 Milking Time (DP)
热门文章
URAL 1297 Palindrome (后缀数组+RMQ)
HDU 1078 FatMouse and Cheese (记忆化搜索)
HDU 3915 Game (高斯消元)
POJ 3764 The xor-longest Path (字典树)
Gym
JAVA遇见HTML——JSP篇(2、JSP基础语法)
JAVA遇见HTML——JSP篇(1、JAVA WEB简介)
Spring MVC拦截器
Spring MVC起步
java中的文件上传下载
Copyright © 2011-2022 走看看