有没有更快的sql服务器上找到一个表? [英] Is there a quicker to find a table on sql server?

查看:62
本文介绍了有没有更快的sql服务器上找到一个表?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hello All,



在sql server管理工作室找一个特定的表是否有更快的速度?

我在寻找某个表,我知道表名,但唯一的问题是有100个数据库,并且在这些数据库中至少有100个表。



所以有一个查询要做到这一点>



Thamk你

Hello All,

Is there a faster to look for a specific table on sql server management studio?
I am looking for a certain table , i know the table name but only issue is that there are a 100 of databases and with at least 100 tables in those databases.

So there a query to do this at all >

Thamk you

推荐答案

尝试:

Try:
sp_msforeachdb 'select "?" AS db, * from [?].sys.tables'


这篇关于有没有更快的sql服务器上找到一个表?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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