如何查看什么时间有哪些数据库对象结构被修改过

来源:互联网 发布:fastcam套料软件 编辑:程序博客网 时间:2024/04/29 10:39
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>

 

如何查看什么时间有哪些数据库对象结构被修改过

阿木伯 著  

系统环境:  
1、操作系统:Windows 2000  
2、数据库: Oracle 8i R2 (8.1.6) for NT 企业版  
3、安装路径:C:ORACLE  

说明:  

SQL> col OBJECT_NAME format a20  

SQL> SELECT OBJECT_NAME,                        --对象名  
      OBJECT_TYPE,                        --对象类型  
      TO_CHAR(CREATED, 'YYYY-Mon-DD HH24:MI') CREATE_TIME, --创建时间  
      TO_CHAR(LAST_DDL_TIME, 'YYYY-Mon-DD HH24:MI') MOD_TIME,   --修改时间  
      TIMESTAMP,                         --时间戳  
      STATUS                           --状态  
  FROM USER_OBJECTS  
   WHERE to_char(LAST_DDL_TIME,'yyyymmdd')>'&日期变量';  

<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 728x15, 创建于 08-4-23MSDN */google_ad_slot = "3624277373";google_ad_width = 728;google_ad_height = 15;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
<script type="text/javascript"><!--google_ad_client = "pub-2947489232296736";/* 160x600, 创建于 08-4-23MSDN */google_ad_slot = "4367022601";google_ad_width = 160;google_ad_height = 600;//--></script><script type="text/javascript"src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script>
原创粉丝点击