设为首页收藏本站language→→ 语言切换

鸿鹄论坛

 找回密码
 论坛注册

QQ登录

先注册再绑定QQ

查看: 3218|回复: 15
收起左侧

[题库] Oracle OCP题库原创解析(55)

  [复制链接]
发表于 2012-4-6 17:51:04 | 显示全部楼层 |阅读模式
Examine the following commands executed in your database:
SQL> ALTER SESSION RECYCLEBIN=ON;
Session altered
SQL> CREATE TABLE emp TABLESPACE tbsfd AS SELECT * FROM hr.employees;
Table created.
Further, you executed the following command to drop the table:
SQL> DROP TABLE emp;
Table dropped.
What happens in this scenario?
A) The table is moved to the SYSAUX tablespace.
B) The table is moved to the SYSTEM tablespace.
C) The table is removed from the database permanently.
D) The table is renamed and remains in the TBSFD tablespace.

Answer: D
DROP TABLE的时候,只是给表重命名,表依然停留在原来的表空间,类似Windows的回收站。如果要彻底删除表,可以加上purge选项。

发表于 2012-4-6 17:55:55 | 显示全部楼层
好像学习啊
沙发 2012-4-6 17:55:55 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-4-6 19:22:37 | 显示全部楼层
要一个gold要好几万。
谁考这个?
板凳 2012-4-6 19:22:37 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2012-4-7 17:40:35 | 显示全部楼层
在学中
地板 2012-4-7 17:40:35 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-4-18 20:49:57 | 显示全部楼层
5# 2013-4-18 20:49:57 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-8-8 19:45:17 | 显示全部楼层
支持你大侠
6# 2013-8-8 19:45:17 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2013-8-18 00:57:27 | 显示全部楼层
7# 2013-8-18 00:57:27 回复 收起回复
回复 支持 反对

使用道具 举报

发表于 2014-10-21 12:48:24 | 显示全部楼层
学学一下,加油
11# 2014-10-21 12:48:24 回复 收起回复
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 论坛注册

本版积分规则

QQ|Archiver|手机版|小黑屋|sitemap|鸿鹄论坛 ( 京ICP备14027439号 )  

GMT+8, 2024-4-27 03:12 , Processed in 0.073093 second(s), 7 queries , Redis On.  

  Powered by Discuz!

  © 2001-2024 HH010.COM

快速回复 返回顶部 返回列表