查询存储过程,函数,序列,表,视图的名字
select object_name from user_objects where object_type = ‘PROCEDURE‘
select object_name from user_objects where object_type = ‘FUNCTION‘
select object_name from user_objects where object_type = ‘SEQUENCE‘
select object_name from user_objects where object_type = ‘INDEX‘
select object_name from user_objects where object_type = ‘TABLE‘
select object_name from user_objects where object_type = ‘VIEW‘
或:
select * from user_tables;
select view_name from user_views;
select view_name from user_views;
select sequence_name from user_sequences;
oracle表,视图,存储过程,函数,序列.....查询
标签:where oracle procedure bsp 函数 序列 存储过程 object table
本条技术文章来源于互联网,如果无意侵犯您的权益请点击此处反馈版权投诉 本文系统来源:http://www.cnblogs.com/26JRS/p/6719424.html
本文介绍如何使用SQL查询Oracle数据库中的各种对象,包括表、视图、存储过程、函数及序列等。通过简单有效的SQL语句,可以快速获取这些对象的名称,便于管理和维护数据库。

772

被折叠的 条评论
为什么被折叠?



