SQLServer 内容检索
来源:互联网 发布:java netty demo 编辑:程序博客网 时间:2024/06/05 18:25
declare @str varchar(100)
set @str='复合信用控制'
declare @s varchar(8000)
declare tb cursor local for
select s='if exists(select 1 from ['+b.name+'] where ['+a.name+'] like ''%'+@str+'%'')
print ''所在的表及字段: ['+b.name+'].['+a.name+']'''
from syscolumns a join sysobjects b on a.id=b.id
where b.xtype='U' and a.status>=0
and a.xusertype in(175,239,231,167)
open tb
fetch next from tb into @s
while @@fetch_status=0
begin
exec(@s)
fetch next from tb into @s
end
close tb
deallocate tb
set @str='复合信用控制'
declare @s varchar(8000)
declare tb cursor local for
select s='if exists(select 1 from ['+b.name+'] where ['+a.name+'] like ''%'+@str+'%'')
print ''所在的表及字段: ['+b.name+'].['+a.name+']'''
from syscolumns a join sysobjects b on a.id=b.id
where b.xtype='U' and a.status>=0
and a.xusertype in(175,239,231,167)
open tb
fetch next from tb into @s
while @@fetch_status=0
begin
exec(@s)
fetch next from tb into @s
end
close tb
deallocate tb
- SQLServer 内容检索
- sqlserver 全文检索
- Sqlserver全文检索
- UTF8文本文件内容检索!
- python 内容检索
- 基于内容图像检索
- Sqlserver的全检索建立
- SQLServer数据库,字符串检索、截取
- lucene全文检索word内容
- 基于内容的图像检索
- 基于内容的音频检索
- 基于内容的图像检索
- sqlserver启动images字段的全文检索
- 在sqlserver中建全文检索
- SQLSERVER 2008 R2中的全文检索
- SQLServer 全文检索(full-text)语法
- 图像检索:基于内容的图像检索技术
- 图像检索:基于内容的图像检索技术
- 读懂C语言中复杂的指针声明
- 监听esc键 关闭dialog dwz框架
- C语言运算符优先级 详细列表
- 20非常有用的Java程序片段
- 写给2013年
- SQLServer 内容检索
- 算法---->NP-难度和NP-完全的问题
- 在Linux下如何删除包含特殊字符的文件
- 并发下常见的加锁及锁的PHP具体实现
- Ogre——Overlay添加2D图片
- 内核初始化优化宏 ,初始化顺序, __init,__devexit等
- Android进阶2之Gallery无限循环
- struts2异常ognl.MethodFailedException: Method "setId" failed for object
- iPhone开发中的技巧整理(四)