简体   繁体   English

显示数据库中的所有存储过程

[英]Display all the stored procedures in a database

有什么方法可以显示数据库中的所有存储过程?

尝试这个:

select * from sys.procedures
SELECT * 
FROM INFORMATION_SCHEMA.ROUTINES
WHERE ROUTINE_TYPE = 'PROCEDURE'

here is other way: 这是另一种方式:

SELECT name
FROM sys.objects
WHERE type = 'P'

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 SQL Server中的所有存储过程都存储在哪个数据库中? - All the stored procedures in SQL Server are stored in which database? 解析数据库中的存储过程 - Parsing stored procedures in a database 有没有一种方法可以用特定数据库中所有存储过程的名称创建表 - Is there a way to create a table with the names of all the stored procedures in a particular database 如何用一条语句从Oracle数据库中选择所有存储过程? - How to select all the stored procedures from Oracle database with one statement? 将所有数据库-表,存储过程复制到文件中并保存在闪存盘上 - Copy all the Database - Tables,Stored Procedures into a file and save on a flash disk 为数据库中的所有存储过程授予用户执行权限? - Grant execute permission for a user on all stored procedures in database? 获取在数据库中执行读取,更新,删除的所有存储过程 - Get all stored procedures that perform a read, update, delete in the database 如何在SQL Server数据库中一次删除所有存储过程? - How to drop all stored procedures at once in SQL Server database? 如何从特定数据库下载所有存储过程 - How can I download all stored procedures from a specific database 如何找到数据库存储过程中使用的所有列? - How to find all columns that are used in stored procedures of database?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM