OCP-1Z0-051-V9.02-37题

本文深入探讨了SQL命令在数据库管理中的应用,重点解析了DROP TABLE命令的使用及其对数据库结构、数据、索引、视图和同义词的影响。通过解析案例,读者能够清晰理解SQL操作对数据库资源的管理和维护作用。

37. You issued 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 along with the table structure is  deleted. 

B. The  pending transaction in the session   is  committed. 

C. All indexes on the table will remain but they are   invalidated. 

D. All views and synonyms will remain but they are   invalidated. 

E. All data in the table are  deleted but the   table structure will  remain. 


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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值