名站网址导航为大家提供关于数据库教程相关的教程网站知识。
Oracle Tips, Tricks & ScriptsOracle轻松取得建表和索引的DDL数据库语句
复制具体相关代码 具体相关代码如下:, set heading off; set echo off; Set pages 999; set long 90000; spool,复制具体相关代码 具体相关代码如下:, SQL> select dbms_metadata.get_ddl('TABLE','SZT_PQSO2','ShQSYS') from dual; CREATE TA,复制具体相关代码 具体相关代码如下:, set pagesize 0 set long 90000 set feedback off set echo off spool get_schema.s
1. Topic: Compiling Invalid Objects:
Oracle8i and Oracle9i provides a script called utlrp.sql located in $ORACLE_hOME/rdbms/admin which can be used anytime to recompile all exisiting PL/SQL modules (procedure, functions,packages,triggers, types, and views) in a database.
编译无效的对象:
$ORACLE_hOME/rdbms/admin/utlrp.sql
或者
编译指定的对象:
过程:
alter procedure procedure_name compile;
函数:
alter function function_name compile;
包:
alter package package_name compile;
包体:
alter package package_name compile body;
关于数据库教程相关的教程网站知识今天我们就说到这里了,希望可以帮到大家。