zoukankan      html  css  js  c++  java
  • Find Last Update Date/Time for an Oracle PL/SQL Procedure

    Problem
    You need to find when a PL/SQL procedure in an Oracle Database was updated.

    Solution
    The following SQL query returns information about a FIND_USER procedure, defined in the current user’s schema. The information returned includes procedure name, date procedure was created and date procedure was updated.

    SELECT o.object_name AS object_name,
           o.created AS date_created,
           o.last_ddl_time AS date_updated
      FROM user_objects o
     WHERE o.object_type = 'PROCEDURE'
           AND o.object_name ='FIND_USER';

    The following SQL query retrieves similar information for any PL/SQL procedure in any Oracle Database schema you have granted access to.

    SELECT o.object_name AS object_name,
           o.owner AS object_schema,
           o.created AS date_created,
           o.last_ddl_time AS date_updated
      FROM all_objects o
     WHERE o.object_type = 'PROCEDURE'
           AND o.object_name ='FIND_USER';

    Database Administrator can query information about procedures, defined in any schema.

    SELECT o.object_name AS object_name,
           o.owner AS object_schema,
           o.created AS date_created,
           o.last_ddl_time AS date_updated
      FROM dba_objects o
     WHERE o.object_type = 'PROCEDURE'
           AND o.object_name ='FIND_USER';
  • 相关阅读:
    flutter-常见的基础组件(一)
    flutter-dart语言初识
    从零开始配置安装Flutter开发环境
    vue路由vue-router
    css秘密花园一
    mvvm实现一个简单的vue
    js常见的设计模式一
    es6 generator函数的异步编程
    es6 async和await
    模块--random
  • 原文地址:https://www.cnblogs.com/simonhaninmelbourne/p/2872434.html
Copyright © 2011-2022 走看看