99问答网
所有问题
如何获取获取mysql某个数据库下面的所有存储过程名称和视图名称
如题所述
举报该问题
推荐答案 2017-04-21
可以查询存储过程的脚本:
select * from syscomments
可以查询表名,视图名,存储过程名等
select * from sysobjects
--where xtype='U' --表名
--where xtype='V' --视图名
--where xtype='PK' --主键
--where xtype='P' --存储过程
温馨提示:答案为网友推荐,仅供参考
当前网址:
http://99.wendadaohang.com/zd/ejevWeveeXvt7OjBXv.html
相似回答
大家正在搜
相关问题
如何查询SqlServer和MySql数据库中某个数据库下面...
怎样获取某个数据库的所有存储过程SQL语句
mysql如何查找数据库中表,视图,存储过程的序号,名称和总...
怎样获取某个数据库的所有存储过程SQL语句
怎么用SQL语句列出所有数据库里面的存储过程的名称
怎么查看当前数据库的所有对象,包括表,视图,存储过程等。。
怎么用Sql语句获取一个数据库中的所有表的名字
如何查询存储过程的源程序和查询一个数据库的存储过程名称?