吉大23春《数据库应用技术》在线作业二【标准答案】

作者:周老师 分类: 吉林大学 发布时间: 2023-04-27 12:56

专业辅导各院校在线、离线考核、形考、终极考核、统考、社会调查报告、毕业论文写作交流等!

联系我们:QQ客服:3326650399   439328128    微信客服①:cs80188     微信客服②:cs80189

              扫一扫添加我为好友                           扫一扫添加我为好友

支付宝微信钱包

吉大22秋学期《数据库应用技术》在线作业二 -0003

试卷总分:100 得分:100

一、单选题 (共 25 道试题,共 100 分)

1.Which of the following is a benefit of user-defined functions?

A.Improves application concurrency

B.Improves blocking of result sets

C.Simplifies application maintenance

D.Reduces memory requirements on the server



2.当FROM子句中呈现多个根本表或视图时,系统将履行啥操作?

A.并

B.等值联接

C.天然联接

D.笛卡儿积



3.在SELECT句子的下列子句中,一般和HAVING子句一起运用的是以下哪项?

A.ORDER BY子句

B.WHERE子句

C.GROUP BY子句

D.均不需求



4.数据库系统的并发操控的首要方法是选用()制。

A.回绝

B.改为串行

C.锁

D.不加任何操控



5.要对应用程序预编译并生成绑定文件,需求啥特权?

A.数据库上的CONNECT特权

B.数据库上的BINDADD特权

C.程序包上的BIND特权

D.程序包上的CONTROL特权



6.下面哪个东西能够协助用户对句子功能进行剖析?

A.可视化解说东西

B.功能监督器

C.指令行处理器

D.操控中间



7.The following commands are issued against a data source containing table user2.org: CREATE ALIAS user1.org FOR sample.org CREATE TABLE org.sample ( c CHAR(1)) CREATE ALIAS sample.org FOR user2.org CREATE ALIAS user2.sample FOR sample.org Given the user SAMPLE issues the following statement: SELECT * FROM sample For which of the following database objects will access be attempted?

A.user2.org

B.org.sample

C.sample.org

D.sample.sample



8.在客户端直连续接到DB2 UDB效劳器的环境中,效劳器端的认证类型为以下哪个时,在编目时指定的认证类型纷歧定要与效劳器端认证参数的值相匹配。

A.SERVER_ENCRYPT

B.DCE

C.DCE_SERVER_ENCRYPT

D.KERBEROS



9.创立一个DMS类型的表空间,能够运用以下哪两种文件系统对象作为容器?

A.目录

B.文件

C.DEVICE



10.To prepare an embedded SQL program for use with a host-language compiler, which of the following database components is required?

A.Binder

B.Precompiler

C.Stored Procedure Builder

D.Application Development Center



11.Given the code: EXEC SQL WITH most_cities AS ( SELECT b.id, b.name, a.cities FROM country a, staff b WHERE a.person = b.id AND cities > :threshold ) SELECT id, name, cities FROM most_cities INTO :id, :name, :cities WHERE cities IN (SELECT MAX(cities) FROM most_cities) Which of the following can reference MOST_CITIES?

A.The current statement

B.Statements from any application

C.All statements within this application

D.All statements within the current unit of work



12.下列SQL句子中,可以完成“回收用户U4对学生表(STUD)中学号(XH)的修正权”这一功用的是()

A.REVOKE UPDATE(XH) ON TABLE FROM U4

B.REVOKE UPDATE(XH) ON TABLE FROM PUBLIC

C.REVOKE UPDATE(XH) ON STUD FROM U4

D.REVOKE UPDATE(XH) ON STUD FROM PUBLIC



13.An application uses embedded dynamic SQL to connect to a remote DB2 server and inserts data into the CUST.ORDERS table on that remote DB2 server. To enable access of the remote DB2 server, Administrator FOO needs to create a package with default options such that BAR is the only non-administrative user that can use this package on the remote DB2 server. Which statement describes the privileges that must be granted and/or revoked by FOO to accomplish this?

A.BAR requires EXECUTE privilege on the package and UPDATE privilege on CUST.ORDERS, and the EXECUTE privilege for the package must be revoked from PUBLIC.

B.BAR requires EXECUTE privilege on the package and INSERT privilege on CUST.ORDERS, and the EXECUTE privilege for the package must be revoked from PUBLIC.

C.BAR requires EXECUTE privilege on the package and INSERT privilege on CUST.ORDERS, and the REFERENCES privilege for the package must be revoked from PUBLIC.

D.BAR requires EXECUTE privilege on the package and UPDATE privilege on CUST.ORDERS, and the REFERENCES privilege for the package must be revoked from PUBLIC.



14.关于那些需求偶然衔接到公司数据进步行数据交流的用户可挑选哪种版别的DB2?关于撑持小规划的部门级应用,这些应用不需求存取驻留在OS/400、OS/390等渠道上的远程数据库,则需求哪种等级的DB2 商品?

A.企业版

B.工作组版

C.企业拓展版

D.个人版

E.卫星版



15.缺省的数据库日志文件的类型是:

A.Circular Log

B.Archival Log

C.Primary Log

D.Secondary log



16.界说根本表时,若要求某一列的值不能为空,则应在界说时运用啥保存字?但假如该列是主键,则可省写。

A.NULL

B.NOT NULL

C.DISTINCT

D.UNIQUE



17.游标安稳性(CS,或称光标安稳性)阻隔级确定工作单元时间光标地点的任何行。对该行的确定将()

A.. 不坚持

B.. 坚持到取出下一行记载或整个工作单元停止。

C.. 坚持到整个工作单元停止。



18.要更改数据库管理器装备文件,需以下哪个数据库权限?

A.DBADM

B.SYSMAINT

C.SYSCTRL

D.SYSADM



19.假如想在数据导入的过程中创立表,大概

A.运用IXF文件格局进行LOAD

B.运用WSF文件格局进行LOAD

C.运用IXF文件格局进行IMPORT

D.运用WSF文件格局进行IMPORT



20.两个子查询的成果(),能够履行并、交、差操作

A.结构彻底共同

B.结构彻底纷歧致

C.结构有些共同

D.主键共同



21.假如选用循环日志方法,辅助日志文件何时分配?

A.数据库树立的时分

B.数据库效劳器发动的时分

C.需求的时分

D.以上都不对



22.运用SQL句子进行查询操作时,若期望查询成果不呈现重复元组,应在SELECT子句中运用啥保存字?

A.UNIQUE

B.ALL

C.EXCEPT

D.DISTINCT



23.E-R图中的联系能够与()实体有关

A.0个

B.1个

C.1个或多个

D.多个



24.关系数据库管理系统应能完成的专门关系运算包含()

A.排序、索引、统计

B.挑选、投影、衔接

C.相关、更新、排序

D.显现、打印、制表



25.嵌入式SQL句子中引证同享变量时,有必要在变量名前加啥象征?

A.号

B.分号

C.句号

D.冒号

专业辅导各院校在线、离线考核、形考、终极考核、统考、社会调查报告、毕业论文写作交流等!(非免费)

联系我们:QQ客服:3326650399   439328128    微信客服①:cs80188     微信客服②:cs80189

               扫一扫添加我为好友                           扫一扫添加我为好友

支付宝微信钱包