OCP 1Z0 053 19
来源:互联网 发布:淘宝主图可以长着用吗 编辑:程序博客网 时间:2024/05/17 05:14
19.A PL/SQL procedure queries only those columns of a redefined table that were unchanged by the
online table redefinition. What happens to the PL/SQL procedure after the online table redefinition?
A. It remains valid.
B. It becomes invalid for all options of online table redefinition but automatically gets revalidated the next
time it is used.
C. It becomes invalid for all options of online table redefinition and is automatically recompiled during
online redefinition of the table.
D. It becomes invalid only if the storage parameters have been modified and it automatically gets
revalidated the next time it is used.
Answer: A
http://docs.oracle.com/cd/B28359_01/server.111/b28279/chapter1.htm#FEATURENO07633
11G新特性,但实验不理想。谁有通过验正的步骤?
online table redefinition. What happens to the PL/SQL procedure after the online table redefinition?
A. It remains valid.
B. It becomes invalid for all options of online table redefinition but automatically gets revalidated the next
time it is used.
C. It becomes invalid for all options of online table redefinition and is automatically recompiled during
online redefinition of the table.
D. It becomes invalid only if the storage parameters have been modified and it automatically gets
revalidated the next time it is used.
Answer: A
http://docs.oracle.com/cd/B28359_01/server.111/b28279/chapter1.htm#FEATURENO07633
1.2.9.5 Minimize Dependent PL/SQL Recompilation After Online Table Redefinition
This feature minimizes the need to recompile dependent PL/SQL packages after an online table redefinition. If the redefinition does not logically affect the PL/SQL packages, recompilation is not needed. This optimization is on by default.
This feature reduces the time and effort to manually recompile dependent PL/SQL after an online table redefinition. This also includes views, synonyms, and other table dependent objects (with the exception of triggers) that are not logically affected by the redefinition.
11G新特性,但实验不理想。谁有通过验正的步骤?
Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 Connected as test@ORCLSQL> SQL> CREATE OR REPLACE PROCEDURE p_test AS 2 BEGIN 3 FOR cur IN (SELECT ename FROM emp WHERE rownum <= 2) LOOP 4 dbms_output.put_line(cur.ename); 5 END LOOP; 6 END; 7 /Procedure createdSQL> SET serveroutput ON;SQL> EXEC p_test;SMITHALLENPL/SQL procedure successfully completedSQL> SELECT status FROM user_objects WHERE object_name = upper('p_test');STATUS-------VALID1 row selectedSQL> DROP TABLE emp2 PURGE;Table droppedSQL> CREATE TABLE emp2 AS SELECT * FROM emp WHERE 1=2;Table createdSQL> ALTER TABLE emp2 MODIFY ename VARCHAR2(22);Table alteredSQL> BEGIN 2 dbms_redefinition.can_redef_table(user,'emp',DBMS_REDEFINITION.CONS_USE_ROWID); 3 dbms_redefinition.start_redef_table(user, 'emp', 'emp2','',DBMS_REDEFINITION.CONS_USE_ROWID); 4 dbms_redefinition.finish_redef_table(USER, 'emp', 'emp2'); 5 END; 6 /PL/SQL procedure successfully completedSQL> SELECT status FROM user_objects WHERE object_name = upper('p_test');STATUS-------INVALID1 row selectedSQL> EXEC p_test;SMITHALLENPL/SQL procedure successfully completedSQL> SELECT status FROM user_objects WHERE object_name = upper('p_test');STATUS-------VALID1 row selectedSQL>
0 0
- OCP 1Z0 053 19
- ocp Oracle.1z0-053 711 ---19
- OCP 1Z0 053 1
- OCP 1Z0 053 2
- OCP 1Z0 053 3
- OCP 1Z0 053 4
- OCP 1Z0 053 5
- OCP 1Z0 053 6
- OCP 1Z0 053 7
- OCP 1Z0 053 8
- OCP 1Z0 053 9
- OCP 1Z0 053 10
- OCP 1Z0 053 11
- OCP 1Z0 053 12
- OCP 1Z0 053 13
- OCP 1Z0 053 14
- OCP 1Z0 053 15
- OCP 1Z0 053 16
- 流程管理——Ultimus PDC 与山东格瑞德集团有限公司正式签约合作
- css常用属性
- 笔记
- mysql储存过程以及定时调度清除数据
- 家长如何善待孩子们的秘密
- OCP 1Z0 053 19
- 一些公司为什么招不到人
- 程序员如何活得明白
- java Calendar类常用用法
- quick-cocos2d-x 慣用CCScrollView滾動視圖
- android[配置]ADT插件安装教程
- Android&IOS 大小写转换
- css的float使用
- 设计模式学习笔记(五):建造者模式【Builder Pattern】(三)问题引申