摘要: Allow the Oralcel server to read multiple objects into memory at once.Package bundle related PL/SQL types, items, and subprograms into one container.包含2部分 : specification , body ( stored separately in the database )The specification is the interface to your applications. ( 声明 )body : 真实定义The package 阅读全文
posted @ 2012-11-20 11:08 神之一招 阅读(5125) 评论(0) 推荐(0)
摘要: 当一个object A 定义中引用了object B, 则说明object A依赖于object B。比如,创建视图employees是通过查询子句查询表emp而来的,那么employees就依赖于emp。employees引用了emp表中的所有列,当修改emp表中的列时,会导致视图employees失效:静态数据字典视图DBA_DEPENDENCIES (USER_DEPENDENCIES,ALL_DEPENDENCIES) 描述各schema objects之间的相互依赖关系。Dependent objects keep a record of the timestamp of the o 阅读全文
posted @ 2012-11-20 11:08 神之一招 阅读(600) 评论(0) 推荐(0)
摘要: 1. PL/SQL中的 SQL语句- END语句与COMMIT等内容,没有任何关系。- PL/SQL does not directly support data definition language( DDL ) statements, such as CREATE TA BLE, ALTER TABLE, or DROP TABLE.- PL/SQL does not support data control language( DCL ) statements, such as GRANT or REVOKE.- 每条 SQL语句后边都要有个 ; 分号.- PL/SQL 可以通过设置 阅读全文
posted @ 2012-11-20 09:33 神之一招 阅读(1141) 评论(0) 推荐(0)