脚本在单个DB中的所有表上搜索一堆关键字 [英] script to search an bunch of keywords on all tables in single DB

查看:75
本文介绍了脚本在单个DB中的所有表上搜索一堆关键字的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

 我有一个要求,我的团队将在其中提供一组关键字(可能是10个关键字或20个关键字) excel表。在那里我应该写一个查询来搜索输入excel表&中列出的所有关键字。检查表格X和列Y中的那些
关键字并将其显示为输出类似于关键字"sample"的列表名称XXXX,列名YYYY

 I have an requirement , in which my team will be supplying few set of Keywords ( it might be 10 key words or 20 keywords) in an excel sheet . There by i should write an query to search all the listed keywords from input excel sheet & check those key words are there in table X and column Y and display those as output something like Keyword "sample"is in table name XXXX in column name YYYY

你能请帮我解决一些满足我要求的查询。 

Can you please help me with some query that will fullfill my request. 

谢谢 

hemadribabu

hemadribabu

hemadri

推荐答案

参见
在SQL Server数据库的所有表中搜索字符串


这篇关于脚本在单个DB中的所有表上搜索一堆关键字的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆