惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Google DeepMind News
Google DeepMind News
爱范儿
爱范儿
J
Java Code Geeks
L
LangChain Blog
V
V2EX
大猫的无限游戏
大猫的无限游戏
S
SegmentFault 最新的问题
博客园 - Franky
Microsoft Azure Blog
Microsoft Azure Blog
Jina AI
Jina AI
Blog — PlanetScale
Blog — PlanetScale
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
博客园 - 司徒正美
B
Blog
G
Google Developers Blog
Stack Overflow Blog
Stack Overflow Blog
罗磊的独立博客
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Apple Machine Learning Research
Apple Machine Learning Research
Engineering at Meta
Engineering at Meta
MyScale Blog
MyScale Blog
有赞技术团队
有赞技术团队
Hugging Face - Blog
Hugging Face - Blog

博客园 - toon的泥瓦匠

在oj中Python的循环输入问题解决 LeetCode 2. Add Two Numbers swift LeetCode 01 Two Sum swift Protocol in Objective-C 阿里云Center OS 6.2 Nginx 配置 SSL/TLS HTTPS配置 阿里云Centos 6.3 64位 安全加固版 升级 Php 中的 Curl 7.19 到 7.35 iOS APNS配置(转) GCD dispath_async dispath_sync 各种混合使用测试情况 Mac OS X Redmine Backlogs安装日志 设计模式建议学习顺序 调试iOS 已经发布代码 Crash 文件分析出出错对应代码 iOS RSA公钥加密数据 服务端接受PHP私钥解密 反过服务端公钥加密数据 iOS端私钥解密数据 xcode调试找出错误行 iOS 日期格式串 setDateFormat 显示格式代码 iOS5 UI 设计新手段 Storyboard UIEdgeInsets Non-SQL 完成公司核名 varchar(max) text sqlserver 2005 数据库的正则替换
sqlserver 2005 full-text 的创建和使用 - toon的泥瓦匠
toon的泥瓦匠 · 2009-01-16 · via 博客园 - toon的泥瓦匠

--前提如果sqlserver 2005 express 需要下载 SQLEXPR_ADV.EXE。安装Full-Text支持

--安装完了,FullText Search在Sqserver configuration Manager中的三个服务

中的Sql Server FullText Search中的账户 Log on as "Local System"

在查询分析器中

安下面步骤

--打开数据库

user donab

 --打开全文索引支持,启动SQL Server的全文搜索服务

execute sp_fulltext_database 'enable'

--建立全文检索目录donba_fulltext

execute sp_fulltext_catalog 'donba_fulltext', 'create','F:"donbafulltext'

为Title列建立全文索引数据元,ProductID为Product表中由主键所建立的唯一索引,这个参数是必需的。

execute sp_fulltext_table 'Product','Create','donba_fulltext','ProductID'

--设置全文索引列名

execute sp_fulltext_column 'Product', 'Name', 'add'

execute sp_fulltext_column 'Product','Summary', 'add'

execute sp_fulltext_column 'Product','Description', 'add'

--建立全文索引

execute sp_fulltext_table 'Product', 'activate'

--填充全文索引目录

execute sp_fulltext_catalog 'donba_fulltext', 'start_full'

--至此,全文索引建立完毕。

--查询
select [productid],[Name],[Description] from Product where contains(Name,'"IBM" and "thinkpad" and "A21"')

--select c1 from ftstable where contains(*,'"apples" and "oranges"')