欢迎来到PP题库网 PP题库官网
logo
全部科目 > 大学试题 > 计算机科学 > Oracle

多项选择题

oracle数据库中,如何快速做一个和原表表结构一样的空表?()

    A.create table new_table as select *from old_table;
    B.create table new_table as select *from old_table where 1=1;
    C.create table new_table as select *from old_table where 1=2;
    D.create table new_table as select *from old_table where rownum<1;

点击查看答案&解析

相关考题

  • 多项选择题
    oracle数据库中,关于数据库的关闭,下列说法正确的是()。

    A.shutdown normal:不允许新的连接,等待所有会话结束,下次启动无需进行实例恢复,无参数即此模式
    B.shutdown transactional:不允许新的连接,等待所有事务结束,下次启动无需进行实例恢复
    C.shutdown immediate:不允许新的连接,不等待事务的结束而将其rollback,下次启动无需进行实例恢复
    D.shutdown abort:不允许新的连接,不等待事务结束也不等待会话断开直接关闭,下次启动需实例恢复

  • 多项选择题
    oracle数据库中,关于数据库的启动,下列说法正确的是()。

    A.启动第一步:startup命令后,显示:ORACLE instance started,这就代表实例被启动
    B.启动第二步:Database mounted,这一步控制文件被挂载,这时候我们可以从控制文件中得知另外两大数据库核心文件——数据文件和日志文件的位置
    C.启动第三步:Database opened,数据库被打开。这一步Oracle会校验数据库文件的一致性,检查通过,才能正常打开数据库
    D.启动第三步后:如果监听已经正确启动的话,那么就可以提供对外服务了

  • 多项选择题
    oracle数据库中,快速做一个和原表(old_table)一样的备份表(new_table),可以使用以下哪些SQL命令?()

    A.create table new_table as (select *from old_table);
    B.create table new_table as select *from old_table where 1=1;
    C.create table new_table as select *from old_table;
    D.create table new_table as select from old_table where 1=1;

微信小程序免费搜题
微信扫一扫,加关注免费搜题

微信扫一扫,加关注免费搜题