首页 > 数据库技术 > 详细

Oracle Database CHECK NUMBER For tables/views/triggers/function/procedure

时间:2020-05-13 19:43:10      阅读:42      评论:0      收藏:0      [点我收藏+]

 

 

SELECT DISTINCT(TABLESPACE_NAME) FROM ALL_TABLES;

SELECT
COUNT(*) FROM ALL_TABLES WHERE TABLESPACE_NAME=xx ORDER BY TABLE_NAME ASC; --COUNT 384 SELECT COUNT(*) FROM ALL_VIEWS WHERE OWNER=xx; --COUNT 169 select COUNT(*) from USER_TRIGGERS; --COUNT 134 SELECT OBJECT_NAME,OBJECT_TYPE FROM ALL_OBJECTS WHERE OBJECT_TYPE IN (FUNCTION,PROCEDURE) AND OWNER=xx; --COUNT 8

 

Oracle Database CHECK NUMBER For tables/views/triggers/function/procedure

原文:https://www.cnblogs.com/kakaisgood/p/12883938.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!