OCP-1Z0-051-2015-42题

QUESTION NO: 42
You issue the following command to drop the PRODUCTS table:
SQL>DROP TABLE products;
What is the implication of this command? (Choose all that apply.)
A. All data in the table are deleted but the table structure will remain表数据都删除了表结构仍然存在
B. All data along with the table structure is deleted 所有数据和表结构都删除
C. All views and synonyms will remain but they are invalidated 所有视图肯同义词还保留,但不再有效
D. The pending transaction in the session is committed  提交所有挂起在的事务处理
E. All indexes on the table will remain but they are invalidated  所有表的序列仍存在,但不再有效
Answer: B,C,D

Explanation:语句:SQL>DROP TABLE products; drop命令含义

A 错误,表结构以及表中所有数据都删除。
B 正确,表结构以及表中所有数据都删除。
C 正确,保留视图和同义词,但不再有效
D 正确,提交所有待定的事务处理。
E 错误,删除表后,在数据库中会失去表的所有数据以及与表关联的所有索引。



评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值