Visual Studio 2013服务器资源管理器程序查找工具 [英] Visual studio 2013 server explorer procedure find tool
本文介绍了Visual Studio 2013服务器资源管理器程序查找工具的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用Visual Studio 2013,在我们的项目中,我们使用了超过1600个存储过程。所以当我从(View - > server explorer->选择Database->展开存储过程)服务器资源管理器扩展存储过程时,很难找到存储过程,我们是否有任何工具或其他选项可供查找商店手续更容易?
我正在尝试搜索谷歌,但我找不到任何工具或其他选项
屏幕截图
I am using Visual Studio 2013, and in our project we are using more than 1600 store procedures. So when I expanding the store procedure from (View -> server explorer->select Database->expand stored procedure)server explorer, It is very difficult to find the store procedure, do we have any tools or other option to find the store procedure easier?
I am trying to search google but I can't found any tools or other options
Screen Shot
推荐答案
您可以使用SQL Server 2008 R2或2012.
并运行以下查询;
从sys.objects中选择*,其中名称如'%spname%'和type =来自上述查询的'P'
您可以通过名称获取所有商店程序,例如'spname'
You can use SQL Server 2008 R2 or 2012.
And run below query ;
Select * from sys.objects where name like '%spname%' and type = 'P'
from above query you can receive all store procedures by name like 'spname'
这篇关于Visual Studio 2013服务器资源管理器程序查找工具的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文