Stack Overflow
  1. 首页
  2. 工具
  3. 教程
  1. 首页
    1. 导航
    2. 问题
    3. 标签
    1. Teams
      Stack Overflow for Teams – Start collaborating and sharing organizational knowledge. Create a free Team Why Teams?
    2. Teams
    3. Create free Team
Collectives on Stack Overflow

Find centralized, trusted content and collaborate around the technologies you use most.

Learn more

Teams

Q&A for work

Connect and share knowledge within a single location that is structured and easy to search.

Learn more

sql - 选择具有“dataname”数据的行/列

翻译自:https://stackoverflow.com/questions/14974413 2013-02-20T07:25:09.237
232 次
This question shows research effort; it is useful and clear
-2
This question does not show any research effort; it is unclear or not useful
Bookmark this question.
Show activity on this post.

是否有一个选择查询,我可以在其中找到一个包含名为“Hello”的数据的列。我不是在单个表上寻找数据,而是在整个数据库上寻找数据。

sqldatabase
4

1 回答 1

This answer is useful
1

@aedz:这里有一些建议/提示,基本上这很容易用谷歌搜索:

微软SQL:

  • SQL Server:在所有表中搜索特定 GUID
  • http://gallery.technet.microsoft.com/scriptcenter/c0c57332-8624-48c0-b4c3-5b31fe641c58
  • http://vyaskn.tripod.com/search_all_columns_in_all_tables.htm
  • 在数据库的所有表、行和列中搜索字符串
  • http://justgeeks.blogspot.de/2006/10/search-ms-sql-server-for-any-text.html
  • http://www.sqlservercentral.com/Forums/Topic419243-8-1.aspx
  • http://www.mssqltips.com/sqlservertip/1522/searching-and-finding-a-string-value-in-all-columns-in-a-sql-server-table/
  • http://www.mssqltips.com/sqlservertip/1555/sql-server-find-and-replace-values-in-all-tables-and-all-text-columns/

mysql:

  • 在 mysql 数据库中搜索所有出现的字符串
  • 从 MySQL 数据库的每个表中搜索所有字段
  • 在所有字段、表和数据库中搜索字符串的 MySQL 工具
  • mySQL 查询在数据库中的所有表中搜索字符串?
  • http://kedar.nitty-witty.com/blog/search-through-all-databases-tables-columns-in-mysql
于 2013-02-20T07:36:26.940 回答

Related

4
perl - 如何在 perl 中访问变量的值,其中我有多个变量及其值并以 ; 结尾
1
c# - NHibernate 复合关键问题
1
c# - 如何托管 Web 服务,以便连接到同一网络的其他客户端可以访问
1
bash - 在字符串内的bash中转义方括号以获取if
1
java - 消极环顾四周的理解不佳
3
ios - 为什么在将核心数据属性从整数 16 更改为字符串时会看到此错误?
1
ruby-on-rails - ruby on rails - 自动化表单信息和填充数据库
1
php - PHP Shopify 致命错误:未捕获的异常“ShopifyClientCurlException”和消息“SSL 连接超时”
1
add-in - 如何在PowerPoint文本框中将宽度设置为未定义
3
regex - 用于替换多个元素的通用 RegEx 模式

Reference

php × 1429865
c/c++ × 756500
nginx × 49975
mongodb × 159057
mybatis × 3233
anaconda × 13410
pycharm × 14671
python × 1902243
vscode × 56040
docker × 110988
github × 49000
flask × 49129
ffmpeg × 24037
jmeter × 16910
matplotlib × 63493
bootstrap × 54641
Stack Overflow 中文网

遵从 CC BY-SA 知识共享许可协议。