OCP 1Z0 053 265
来源:互联网 发布:java统计字符出现次数 编辑:程序博客网 时间:2024/06/03 22:01
265.View the Exhibit for the object interdependency diagram.
The PRODUCTS table is used to create the PRODCAT_VW view. PRODCAT_VW is used in the
GET_DATA procedure. GET_DATA is called in the CHECK_DATA function. A new column PROD_QTY is
added to the PRODUCTS table. How does this impact the status of the dependent objects?
A. All dependent objects remain valid.
B. Only the procedure and function become invalid and must be recompiled.
C. Only the view becomes invalid and gets automatically revalidated the next time it is used.
D. Only the procedure and function become invalid and get automatically revalidated the next time they
are called.
Answer: A
答案有误:
因为view与新列无关,用select * 建view后,会自动转成具体的列。
The PRODUCTS table is used to create the PRODCAT_VW view. PRODCAT_VW is used in the
GET_DATA procedure. GET_DATA is called in the CHECK_DATA function. A new column PROD_QTY is
added to the PRODUCTS table. How does this impact the status of the dependent objects?
A. All dependent objects remain valid.
B. Only the procedure and function become invalid and must be recompiled.
C. Only the view becomes invalid and gets automatically revalidated the next time it is used.
D. Only the procedure and function become invalid and get automatically revalidated the next time they
are called.
Answer: A
答案有误:
SQL> create table test as select * from emp;Table createdSQL> create or replace view v_test as select * from emp;View createdSQL> SELECT object_name, status 2 FROM user_objects 3 WHERE created > SYSDATE - 1 / 24;OBJECT_NAME STATUS--------------- -------TEST VALIDV_TEST VALID2 rows selectedSQL> alter table test add new_col int;Table alteredSQL> SQL> SELECT object_name, status 2 FROM user_objects 3 WHERE created > SYSDATE - 1 / 24;OBJECT_NAME STATUS--------------- -------TEST VALIDV_TEST VALID2 rows selected
因为view与新列无关,用select * 建view后,会自动转成具体的列。
SQL> select dbms_metadata.get_ddl('VIEW','V_TEST') from dual;DBMS_METADATA.GET_DDL('VIEW','-------------------------------------------------------------------------------- CREATE OR REPLACE FORCE VIEW "TEST"."V_TEST" ("EMPNO", "ENAME", "JOB", "MGR", select "EMPNO","ENAME","JOB","MGR","HIREDATE","SAL","COMM","DEPTNO" from emp1 row selectedSQL>
0 0
- OCP 1Z0 053 265
- 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
- OCP 1Z0 053 17
- cocos2d 纹理加载机制
- ssh反向连接和简单实现
- 【数值分析】微分求积:复化梯形、复化辛浦生
- 解决Git出现rpc failed 问题
- 自然图像抠图/视频抠像技术发展情况梳理
- OCP 1Z0 053 265
- cocos2d lua集成XML教程
- ARM 汇编命令参考AREA
- UIButton使用详解
- 【数值分析】插值法:拉格朗日插值、牛顿插值
- hibernate 注解(一)主键生成(转)
- delphi char与string比较
- .net 生成网站地图 sitemap.xml
- POJ 1083 Moving Tables(水题)