网友您好, 请在下方输入框内输入要搜索的题目:

题目内容 (请给出正确答案)
单选题
在Oracle中,你以SYSDBA登录,CUSTOMER表位于Mary用户方案中,下面哪条语句为数据库中的所有用户创建CUSTOMER表的同义词()。
A

CREATE PUBLIC SYNONYM cust ON mary.customer

B

CREATE PUBLIC SYNONYM cust FOR mary.customer

C

CREATE SYNONYM cust ON mary.customer FOR PUBLIC

D

不能创建CUSTOMER的公用同义词


参考答案

参考解析
解析: 暂无解析
更多 “单选题在Oracle中,你以SYSDBA登录,CUSTOMER表位于Mary用户方案中,下面哪条语句为数据库中的所有用户创建CUSTOMER表的同义词()。A CREATE PUBLIC SYNONYM cust ON mary.customerB CREATE PUBLIC SYNONYM cust FOR mary.customerC CREATE SYNONYM cust ON mary.customer FOR PUBLICD 不能创建CUSTOMER的公用同义词” 相关考题
考题 创建基于函数的索引时必须具有()权限。 A.Query Rewrite系统权限B.创建Synonym的权限C.创建public Synonym的权限D.创建Sequence的权限

考题 在Oracle中,你以SYSDBA登录,CUSTOMER表位于Mary用户方案中,下面哪条语句为数据库中的所有用户创建CUSTOMER表的同义词()。 A.CREATE PUBLIC SYNONYM cust ON mary.customerB.CREATE PUBLIC SYNONYM cust FOR mary.customerC.CREATE SYNONYM cust ON mary.customer FOR PUBLICD.不能创建CUSTOMER的公用同义词

考题 要以自身的模式创建私有同义词,用户必须拥有()系统权限。A、CREATE PRIVATE SYNONYMB、CREATE PUBLIC SYNONYMC、CREATE SYNONYMD、CREATE ANY SYNONYM

考题 在Mary的方案中已经存在“客户”表。应使用哪条语句来为所有数据库用户创建一个“客户”表的同义词()A、CREATE PUBLIC SYNONYM cust ON mary.客户B、CREATE PUBLIC SYNONYM cust FOR mary.客户C、CREATE SYNONYM cust ON mary.客户FORPUBLICD、CREATE SYNONYM cust ON mary.客户;GRANT SELECT ON cust TO PUBLIC

考题 您作为用户Julie执行了以下语句:CREATE.SYNONYM雇员FORsam.雇员;此语句将完成什么任务()A、对用户所有的“雇员”表创建一个公用同义词B、对您所有的“雇员”表创建一个私有同义词C、对用户Sam所有的“雇员”表创建一个公用同义词D、对用户Sam所有的“雇员”表创建一个私有同义词

考题 由以下语句创建的表有种子字段,请正确组合插入语句,可不分先后。CREATE TABLE Customer(id int IDENTITY PRIMARY KEY,Customer varchar(40))()A、INSERT INTO CustomerB、SET IDENTITY_INSERT Customer ONC、VALUES(3,’garden shovel’)D、(id,Customer)

考题 The accounts receivable department requested an accounts status to allow users to enter either a customer name, customer number, customer phone number and then display the customer out standing balance. You want to restrict the data retrieved based on values entered by the users. Which where clause would you write in the query to select statement to accomplish this task?()A、p_where_clause B、:p_where_clause C、WHERE CUST_ID=P_CUST_ID or cust_name=:p_cust_name or cust_phone=:p_cust_phone D、Where cust_ID=p_custid cust_name=p_cust_name or cust_phone=p_cust_phone

考题 用户SUSAN创建了“雇员”表,然后创建了视图“雇员视图”,此视图只显示雇员的“名字”和“姓氏”列。用户RUDI需要能访问“雇员”表中的“雇员”姓名但不能访问其它数据。SUSAN应执行以下哪条语句才允许此操作()A、SELECT*FROM雇员视图FOR rudiB、CREATE SYNONYM雇员视图FOR雇员C、GRANT SELECTON雇员视图TO rudiD、GRANT SELECTON雇员视图ONLY TO rudi

考题 用户 SUSAN 创建了一个“雇员”表,然后又创建了一个“雇员_视图”视图,仅显示“雇员”表的“名字”列和“姓氏”列。用户 RUDI 需要能访问雇员的姓名,但不能访问“雇员”表中的其他数据。SUSAN 应使用哪条语句来实现这一点?()A、SELECT*FROM雇员_视图FOR rudi;B、CREATE SYNONYM雇员_视图FOR雇员;C、GRANT SELECT ON雇员_视图TO rudi;D、GRANT SELECT ON雇员_视图ONLY TO rudi;

考题 Which statement adds a constraint that ensures the CUSTOMER_NAME column of the CUSTOMERS table holds a value?()A、ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;B、ALTER TABLE customers MODIFY CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;C、ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn NOT NULL;D、ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn IS NOT NULL;E、ALTER TABLE customers MODIFY name CONSTRAINT cust_name_nn NOT NULL;F、ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name NOT NULL;

考题 User Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. She has the privilege to create a public synonym, and would like to create a synonym for this view that can be used by all users of the database.Which SQL statement can Mary use to accomplish that task?()A、CREATE PUBLIC SYNONYM EDL_VU ON emp_dept_loc_vuB、CREATE PUBLIC SYNONYM EDL:VU FOR mary (emp_dept_loc_vu);C、CREATE PUBLIC SYNONYM EDL_VU FOR emp _dept_loc_vu;D、CREATE SYNONYM EDL_VU ON emp_dept_loc_vu FOR EACH USER;E、CREATE SYNONYM EDL_VU FOR EACH USER ON emp_dept_loc_vuF、CREATE PUBLIC SYNONYM EDL_VU ON emp_dept_loc_vu FOR ALL USERS;

考题 在Oracle中,你以SYSDBA登录,CUSTOMER表位于Mary用户方案中,下面哪条语句为数据库中的所有用户创建CUSTOMER表的同义词()。A、CREATE PUBLIC SYNONYM cust ON mary.customerB、CREATE PUBLIC SYNONYM cust FOR mary.customerC、CREATE SYNONYM cust ON mary.customer FOR PUBLICD、不能创建CUSTOMER的公用同义词

考题 Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. She granted SELECT privilege to Scott on this view. Which option enables Scott to eliminate the need to qualify the view with the name MARY .EMP_DEP_LOC_VU each time the view is referenced?()A、Scott can create a synonym for the EMP_DEPT_LOC_VU bus using the command: CREATE PRIVATE SYNONYM EDL_VU FOR mary.EMP DEPT_LOC_VU; then he can prefix the columns with this synonymn.B、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.C、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE LOCAL SYNONYM EDL_VU FOR mary.EMP DEPT_LOC_VU; then he can prefix the columns with this synonym.D、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE SYNONYM EDL_VU ON mary(EMP_DEPT_LOC_VU); then he can prefix the columns with this synonym.E、Scott cannot create a synonym because synonyms can be created only for tables.F、Scott cannot create any synonym for Mary’s view. Mary should create a private ynonym for the view and grant SELECT privilege on that synonym to Scott.

考题 创建基于函数的索引时必须具有()权限。A、Query Rewrite系统权限B、创建Synonym的权限C、创建public Synonym的权限D、创建Sequence的权限

考题 Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. She granted SELECT privilege to Scott on this view. Which option enables Scott to eliminate the need to qualify the view with the name MARY.EMP_DEPT_LOC_VU each time the view is referenced?()A、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command CREATE PRIVATE SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.B、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command CREATE SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.C、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command CREATE LOCAL SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.D、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command CREATE SYNONYM EDL_VU ON mary(EMP_DEPT_LOC_VU); then he can prefix the columns with this synonym.E、Scott cannot create a synonym because synonyms can be created only for tables.F、Scott cannot create any synonym for Mary's view. Mary should create a private synonym for the view and grant SELECT privilege on that synonym to Scott.

考题 Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. She granted SELECT privilege to Scott on this view. Which option enables Scott to eliminate the need to qualify the view with the name MARY .EMP_DEP_LOC_VU each time the view is referenced?()A、Scott can create a synonym for the EMP_DEPT_LOC_VU bus using the command: CREATE PRIVATE SYNONYM EDL_VU FOR mary.EMP DEPT_LOC_VU; then he can prefix the columns with this synonymn.B、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.C、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE LOCAL SYNONYM EDL_VU FOR mary.EMP DEPT_LOC_VU; then he can prefix the columns with this synonym.D、Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE SYNONYM EDL_VU ON mary(EMP_DEPT_LOC_VU); then he can prefix the columns with this synonym.E、Scott cannot create a synonym because synonyms can be created only for tables.F、Scott cannot create any synonym for Mary's view. Mary should create a private synonym for the view and grant SELECT privilege on that synonym to Scott.

考题 单选题创建基于函数的索引时必须具有()权限。A Query Rewrite系统权限B 创建Synonym的权限C 创建public Synonym的权限D 创建Sequence的权限

考题 单选题Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. She granted SELECT privilege to Scott on this view. Which option enables Scott to eliminate the need to qualify the view with the name MARY .EMP_DEP_LOC_VU each time the view is referenced?()A Scott can create a synonym for the EMP_DEPT_LOC_VU bus using the command: CREATE PRIVATE SYNONYM EDL_VU FOR mary.EMP DEPT_LOC_VU; then he can prefix the columns with this synonymn.B Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.C Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE LOCAL SYNONYM EDL_VU FOR mary.EMP DEPT_LOC_VU; then he can prefix the columns with this synonym.D Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE SYNONYM EDL_VU ON mary(EMP_DEPT_LOC_VU); then he can prefix the columns with this synonym.E Scott cannot create a synonym because synonyms can be created only for tables.F Scott cannot create any synonym for Mary’s view. Mary should create a private ynonym for the view and grant SELECT privilege on that synonym to Scott.

考题 单选题Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES,DEPARTMENTS, and LOCATIONS tables. She granted SELECT privilege to Scott on this view. Which option enables Scott to eliminate the need to qualify the view with the name MARY .EMP_DEP_LOC_VU each time the view is referenced? ()A Scott can create a synonym for the EMP_DEPT_LOC_VU bus using the command: CREATE PRIVATE SYNONYM EDL_VU FOR mary. EMP DEPT_LOC_VU; then he can prefix the columns with this synonymn.B Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE SYNONYM EDL_VU FOR mary. EMP DEPT_LOC_VU; then he can prefix the columns with this synonym.C Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE LOCAL SYNONYM EDL_VU FOR mary. EMP DEPT_LOC_VU; then he can prefix the columns with this synonym.D Scott cannot create a synonym because synonyms can be created only for tables.E Scott cannot create any synonym for Mary's view. Mary should create a private synonym for the view and grant SELECT privilege on that synonym to Scott.

考题 单选题在Mary的方案中已经存在“客户”表。应使用哪条语句来为所有数据库用户创建一个“客户”表的同义词()A CREATE PUBLIC SYNONYM cust ON mary.客户B CREATE PUBLIC SYNONYM cust FOR mary.客户C CREATE SYNONYM cust ON mary.客户FORPUBLICD CREATE SYNONYM cust ON mary.客户;GRANT SELECT ON cust TO PUBLIC

考题 单选题The accounts receivable department requested an accounts status to allow users to enter either a customer name, customer number, customer phone number and then display the customer out standing balance. You want to restrict the data retrieved based on values entered by the users. Which where clause would you write in the query to select statement to accomplish this task?()A p_where_clause B :p_where_clause C WHERE CUST_ID=P_CUST_ID or cust_name=:p_cust_name or cust_phone=:p_cust_phone D Where cust_ID=p_custid cust_name=p_cust_name or cust_phone=p_cust_phone

考题 单选题您作为用户Julie执行了以下语句:CREATE.SYNONYM雇员FORsam.雇员;此语句将完成什么任务()A 对用户所有的“雇员”表创建一个公用同义词B 对您所有的“雇员”表创建一个私有同义词C 对用户Sam所有的“雇员”表创建一个公用同义词D 对用户Sam所有的“雇员”表创建一个私有同义词

考题 单选题Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. She granted SELECT privilege to Scott on this view. Which option enables Scott to eliminate the need to qualify the view with the name MARY.EMP_DEPT_LOC_VU each time the view is referenced?()A Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command CREATE PRIVATE SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.B Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command CREATE SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.C Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command CREATE LOCAL SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.D Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command CREATE SYNONYM EDL_VU ON mary(EMP_DEPT_LOC_VU); then he can prefix the columns with this synonym.E Scott cannot create a synonym because synonyms can be created only for tables.F Scott cannot create any synonym for Mary's view. Mary should create a private synonym for the view and grant SELECT privilege on that synonym to Scott.

考题 单选题Which statement adds a constraint that ensures the CUSTOMER_NAME column of the CUSTOMERS table holds a value?()A ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;B ALTER TABLE customers MODIFY CONSTRAINT cust_name_nn CHECK customer_name IS NOT NULL;C ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn NOT NULL;D ALTER TABLE customers MODIFY customer_name CONSTRAINT cust_name_nn IS NOT NULL;E ALTER TABLE customers MODIFY name CONSTRAINT cust_name_nn NOT NULL;F ALTER TABLE customers ADD CONSTRAINT cust_name_nn CHECK customer_name NOT NULL;

考题 单选题The ORDERS table belongs to the user OE. OE has granted the SELECT privilege on the ORDERS table to the user HR.Which statement would create a synonym ORD so that HR can execute the following query successfully?()A CREATE SYNONYM ord FOR orders; This command is issued by OE B CREATE PUBLIC SYNONYM ord FOR orders; This command is issued by OE C CREATE SYNONYM ord FOR oe.orders; This command is issued by the database administrator D CREATE PUBLIC SYNONYM ord FOR oe.orders; This command is issued by the database administrator 

考题 单选题Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. She granted SELECT privilege to Scott on this view. Which option enables Scott to eliminate the need to qualify the view with the name MARY .EMP_DEP_LOC_VU each time the view is referenced?()A Scott can create a synonym for the EMP_DEPT_LOC_VU bus using the command: CREATE PRIVATE SYNONYM EDL_VU FOR mary.EMP DEPT_LOC_VU; then he can prefix the columns with this synonymn.B Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE SYNONYM EDL_VU FOR mary.EMP_DEPT_LOC_VU; then he can prefix the columns with this synonym.C Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE LOCAL SYNONYM EDL_VU FOR mary.EMP DEPT_LOC_VU; then he can prefix the columns with this synonym.D Scott can create a synonym for the EMP_DEPT_LOC_VU by using the command: CREATE SYNONYM EDL_VU ON mary(EMP_DEPT_LOC_VU); then he can prefix the columns with this synonym.E Scott cannot create a synonym because synonyms can be created only for tables.F Scott cannot create any synonym for Mary's view. Mary should create a private synonym for the view and grant SELECT privilege on that synonym to Scott.

考题 单选题User Mary has a view called EMP_DEPT_LOC_VU that was created based on the EMPLOYEES, DEPARTMENTS, and LOCATIONS tables. She has the privilege to create a public synonym, and would like to create a synonym for this view that can be used by all users of the database. Which SQL statement can Mary use to accomplish that task?()A CREATE PUBLIC SYNONYM EDL_VU ON emp_dept_loc_vuB CREATE PUBLIC SYNONYM EDL:VU FOR mary (emp_dept_loc_vu);C CREATE PUBLIC SYNONYM EDL_VU FOR emp _dept_loc_vu;D CREATE SYNONYM EDL_VU ON emp_dept_loc_vu FOR EACH USER;E CREATE SYNONYM EDL_VU FOR EACH USER ON emp_dept_loc_vuF CREATE PUBLIC SYNONYM EDL_VU ON emp_dept_loc_vu FOR ALL USERS;