【单选题】
在Oracle中,有一个名为seq的序列对象,以下语句能返回序列值但不会引起序列值增加的是___。
A. select seq.ROWNUM from dual
B. select seq.ROWID from dual
C. select seq.CURRV AL from dual
D. select seq.NEXTV AL from dual
查看试卷,进入试卷练习
微信扫一扫,开始刷题
答案
C
解析
暂无解析
相关试题
【单选题】
在Oracle中,游标都具有下列属性,除了___。
A. %NOTFOUND
B. %FOUND
C. %ROWTYPE
D. %ISOPEN
【单选题】
要统计某表中记录的总个数,以下哪项是正确的SQL语句___。
A. select Max(*) from 表名
B. select Sum(*) from 表名
C. select Count(*) from 表名
D. select Min(*) from 表名
【单选题】
要求表中数据的最大值,应使用什么函数___。
A. Max
B. Min
C. Sum
D. Avg
【单选题】
下列正确查询姓张的学生的语句是___。
A. select * from 表名 where 姓名= '张'
B. select * from 表名 where 姓名 like '张%'
C. select * from 表名 where 姓名= '%张%'
D. select * from 表名 where 姓名 like '张'
【单选题】
以下哪项不是Oracle数据库物理组件的类型___。
A. 数据文件
B. 控制文件
C. 日志文件
D. 表空间
【单选题】
关于数据控制语言中,收回所授予的权限的语句是___。
A. Create
B. Revoke
C. Grant
D. Update
【单选题】
Oracle数据库中,连接字符串的运算符是___。
A. +
B. &
C. is
D. ||
【单选题】
Oracle数据库中返回字符串长度的函数是___。
A. Substr
B. Replace
C. InStr
D. Length
【单选题】
Oracle数据库中按指定的精度进行四舍五入的函数是___。
A. Sign
B. Trunc
C. Round
D. Mod
【单选题】
转换日期类型为字符串的转换函数是___。
A. to_date
B. to_datetime
C. to_char
D. to_number
【单选题】
在数据库中,对象Index表示___。
A. 同义词
B. 表
C. 包
D. 索引
【单选题】
在SQL*PLUS环境中可以利用DBMS_OUTPUT包中的PUT_LINE方法来回显服务器端变量的值,但在此之前要利用一个命令打开服务器的回显功能,这一命令是___。
A. set server on
B. set serverecho on
C. set servershow on
D. set serveroutput on
【单选题】
以下哪个命令是DDL命令___。
A. CREATE
B. INSERT
C. COMMIT
D. SELECT
【单选题】
第一步用DELETE命令删除了表A中的数据(但并没有提交),第二步成功创建了一个表B,第三步执行了一个ROLLBACK回滚操作。请问以下叙述正确的是___。
A. 表A中的数据被恢复回来,创建的表B被从数据库中被删除,恢复为未建表之前的状态
B. 表A中的数据被恢复回来,表B被创建在数据库中
C. 表A中的数据被彻底从数据库中删除,但表B被从数据库中被删除,恢复为未建表之前的状态
D. 表A中的数据被彻底从数据库中删除,表B被创建在数据库中
【单选题】
某个表的创建语句如下: CREATE TABLE USER_TAB01(COL1, COL2, COL3) TABLESPACE USER01 STORAGE(INITIAL 64K NEXT 128K PCTINCREASE 100); ORACLE为该表的数据段分配的前3个区的大小依次为多大?___
A. 64KB, 128KB, 128KB
B. 64KB, 128KB, 192KB
C. 64KB, 128KB, 64KB
D. 64KB, 128KB, 256KB
【单选题】
假定有一张表用户表users,其中一身份证字段ID_card。为了维护数据的完整性,在设计数据库时,最好对ID_card字段添加约束,请问应该添加什么约束___。
A. primary key
B. check
C. default
D. not null
【单选题】
下面哪一个like命令会返回名字象HOTKA的行?___
A. where ename like ‘_HOT%'
B. where ename like ‘H_T%'
C. where ename like ‘%TKA_'
D. where ename like ‘%TOK%'
【单选题】
命令sqlplus /nolog的作用是___
A. 仅创建一个ORACLE实例,但并不打开数据库.
B. 仅创建一个ORACLE实例,但并不登录数据库.
C. 启动sqlplus,但并不登录数据库
D. 以nolog用户身份启动sqlplus
【单选题】
下列哪个命令是用于ORACLE中数据导出的___
A. expdp
B. impdp
C. input
D. output
【单选题】
___是用于控制数据访问的语言。
A. DML
B. DDL
C. DCL
D. DLL
【单选题】
NULL表示什么___。
A. 0
B. 空格
C. 值
D. 没有值
【单选题】
___锁用于锁定表,允许其他用户查询表中的行和锁定表,但不允许插入.更新和删除行。
A. 行共享
B. 行排他
C. 共享
D. 排他
【单选题】
___包用于显示PL/SQL块和存储过程中的调试信息。
A. DBMS_OUTPUT
B. DBMS_STANDARD
C. DBMS_INPUT
D. DBMS_SESSION
【单选题】
下列属于运算符是___。
A. 变量运算符
B. 符号运算符
C. 关系运算符
D. 数值运算符
【单选题】
在Oracle中,有一个名为seq的序列对象,以下语句能返回序列值但不会引起序列值增加的是___。
A. select seq.ROWNUM from dual
B. select seq.ROWID from dual
C. select seq.CURRV AL from dual
D. select seq.NEXTV AL from dual
【单选题】
DBA可以使用下列哪一个命令查看当前归档状态___。
A. ARCHIVE LOG LIST
B. FROMARCHIVE LOGS
C. SELECT * FROM V$THREAD
D. SELECT * FROM ARCHIVE_LOG_LIST
【单选题】
oracle数据库有多种启动状态,其中___是在数据库备份和恢复中使用最多的状态。
A. startup force
B. startup
C. startup nomount
D. startup mount
【单选题】
要让scott能够导入自身方案给别的用户,需要他必须具有___。
A. resource角色
B. exp_full_ddatabase角色
C. imp_full_database角色
D. dba角色
【单选题】
设置闪回区域大小的参数是___。
A. DB_RECOVERY_FILE_DEST
B. DB_RECOVERY_FILE_DEST_SIZE
C. DB_FLASHBACK_RETENTION_TARGET
D. FLASHBACK_ON
【单选题】
启用系统的闪回使用___。
A. alter database set flashback_on=true
B. alter database flashback on
C. alter system set flashback_on=true
D. alter system set flashback on
【单选题】
使用序列,为数据表添加数据的时候,一般使用___。
A. currval
B. nextval
C. 序列名.currval
D. 序列名.nextval
【单选题】
导出scott的表,然后导入到另外一个方案中,要用的到核心关键词是___。
A. directory
B. dumpfile
C. tables
D. remap_schema
【单选题】
___能查询数据的名称.归档状态.闪回状态。
A. v$instance
B. v$database
C. dba_users
D. dba_tablespaces
【多选题】
PL/SQL中,对变量赋值有哪两种方式___。
A. ==
B. =
C. :=
D. select into 语句
【多选题】
关于表的主键,说法正确的两项是___。
A. 主键字段的值最多允许有一条记录为Null
B. 主键字段的值可以重复
C. 主键字段的值不能为Null
D. 主键字段的值不能重复
【多选题】
在以下概要文件的陈述中,哪两个是正确的___?
A. 概要文件不能被用来为账户加锁
B. 概要文件不能被用来控制资源使用
C. 数据库管理员可以使用概要文件来使口令衰老和过期
D. 不能删除默认的概要文件
【多选题】
在一个新的数据库中,如果要限制一个用户的并行会话(同时连接)数,需要使用以下哪3个步骤?___
A. 使用SESSION_PER_USER参数创建一个角色
B. 使用create profile创建一个概要文件
C. 使用ALTER SYSTEM 语句强制开启资源限制
D. 使用ALTER USER 语句将概要文件赋予用户
【多选题】
下列有关子查询的说法,正确的是___?
A. 子查询要包含在括号内
B. 不要在子查询中使用order by子句
C. 子查询放在比较条件的右侧
D. 单行子查询是指返回一列数据的子查询语句
【多选题】
在Oracle中,下列比较运算符表示不等于的有___?
A. >
B. !=
C. ≠
D. =!
【多选题】
下俩属于Oracle数据类型的有___?
A. 字符类型
B. 日期时间类型
C. LOB类型
D. ROWID类型
推荐试题
【单选题】
健康信息采集的原则是要保证采集的内容___反映服务对象的实际情况。
A. 主观
B. 客观
C. 全面
D. 基本
【单选题】
Bill likes playing ___ _____ basketball,but he doesn't like playing ________ guitar.
A. the;the
B. /;/
C. the;/
D. /;the
【单选题】
My sister sings well,she can join the _________ club.
A. English
B. art
C. math
D. music
【单选题】
—Can you ___ _______ this word in English? —Yes,I can ________ a little English.
A. speak;say
B. say;speak
C. speak;speak
D. ;say;say
【单选题】
Do you want ___________ with us?
A. to go
B. to going
C. go
D. goes
【单选题】
—Can you play Ping-Pong? —___________.I think it's easy.
A. Yes,I can't
B. No,I can't
C. Yes,I can
D. No,I don't
【单选题】
My brother can play chess,___________ he can't play soccer.
A. and
B. so
C. or
D. but
【单选题】
Can you ___________ Chinese?
A. speak
B. look
C. say
D. tell
【单选题】
—___________ club do you like? —The music club.
A. When
B. Where
C. What
D. How
【单选题】
—Can Li Ming ___________ stories? —No,I don't think he________.
A. tell;can
B. to tell;can
C. tells;can't
D. telling;can't
【单选题】
—Let's join the art club. —___________.
A. Yes,I can
B. Sounds good
C. No,I can't
D. Sounds well
【单选题】
She plays the piano well and she can ___________ in the music club.
A. be
B. draw
C. dance
D. speak.
【单选题】
We need you ___________ with sports for English­speaking students.
A. help
B. to help
C. helps
D. helped
【单选题】
Please call Mary ___________ 5678­9876.
A. in
B. at
C. to
D. of
【单选题】
Victor sings well. He can ___________ in the school music club.
A. is
B. are
C. be
D. am
【单选题】
—Are you good ___________ children? —Yes,I think I can help them ________ English.
A. with;at
B. with;with
C. at;with
D. at;in
【单选题】
Our English teacher Ms. Su plays ___________ chess very well.
A. a
B. an
C. the
D. /
【单选题】
—Jim,do you like apples ___________ bananas? —I like bananas.
A. and
B. but
C. or
D. because
【单选题】
—Can you help me ___________ my math? —Sorry,I am too busy today.
A. on
B. with
C. for
D. from
【单选题】
Jenny likes hamburgers. And I ___________ like them.
A. too
B. so
C. also
D. and
【单选题】
—___________ can he do? —He can ________ Chinese kung fu.
A. How;play
B. What;do
C. Where;see
D. What;make
【单选题】
Laura is from England and she ___________ English very well.
A. tells
B. says
C. speaks
D. takes
【单选题】
Saturday and Sunday are our ___________.
A. clubs
B. weekends
C. birthdays
D. games
【单选题】
Does Mr. Green teach ___________ Chinese?
A. they
B. you
C. I
D. he
【单选题】
Mom,I need you ___________ me a notebook.
A. buy
B. buying
C. to buy
D. to buying
【单选题】
Today Lucy's parents aren't at home so she wants to ___________ us for lunch.
A. join
B. make
C. think
D. know
【单选题】
Bill likes ________ but he doesn't want to be a ___________ when he grows up.
A. music;musician
B. music;music
C. musician;music
D. musician;musician
【单选题】
Old people all like Alice because she ___________ them.
A. is good at
B. is good for
C. is busy with
D. is good with
【单选题】
—Can you ___________ your new photos ________ me? —Yes. Here you are.
A. show;with
B. show;to
C. show;for
D. show;about
【单选题】
—Can you play the guitar? —___________,but I can play the piano.
A. No,I don't
B. No,I can't
C. Yes,I do
D. Yes,I can
【单选题】
—Lily,___________? —She wants to join the art club.
A. does your sister want to join the art club
B. what is your sister good at
C. what does your sister like
D. what club does your sister want to join
【填空题】
11.Kate can play the guitar改为否定句. Kate ___ play the guitar.
【填空题】
12.I can speak English改为一般疑问句. ___ you ___ English?
【填空题】
13.你姐姐擅长画画吗? ___ your sister ___ drawing?
【填空题】
14.你想加入什么俱乐部? ___ do you want to ___ ?
【填空题】
15.杰克想加入象棋俱乐部吗? ___ Jack want to ___ the ___?
【填空题】
16.老师经常给我们讲故事。 Our teacher often ___ for us.
【填空题】
17.你会什么运动项目? What ___ you play?
【填空题】
18.我哥哥在学校里喜欢结交朋友。 My brother likes to ___ at school.
【填空题】
19.他们周末想要去动物园。 They want to go to the zoo ___ .