Oracle认证考试

Which view should a user query to display the columns associated with the constraints on a table owned by the user? ()A、USER_CONSTRAINTSB、USER_OBJECTSC、ALL_CONSTRAINTSD、USER_CONS_COLUMNSE、USER_COLUMNS

题目

Which view should a user query to display the columns associated with the constraints on a table owned by the user? ()

  • A、USER_CONSTRAINTS
  • B、USER_OBJECTS
  • C、ALL_CONSTRAINTS
  • D、USER_CONS_COLUMNS
  • E、USER_COLUMNS
如果没有搜索结果,请直接 联系老师 获取答案。
如果没有搜索结果,请直接 联系老师 获取答案。
相似问题和答案

第1题:

Which data dictionary table should you query to view the object privileges granted to the user on specific columns? ()

A. USER_TAB_PRIVS_MADE

B. USER_TAB_PRIVS

C. USER_COL_PRIVS_MADE

D. USER_COL_PRIVS


参考答案:D

第2题:

可以通过查找哪个数据字典表来查看为特定表定义的约束条件()

  • A、USER_CONSTRAINTS
  • B、CONSTRAINTS_ALL
  • C、SYS_DATA_DICT
  • D、US_CON_SYS

正确答案:A

第3题:

Which view should a user query to display the columns associated with the constraints on a table owned by the user? ()

A. USER_CONSTRAINTS

B. USER_OBJECTS

C. ALL_CONSTRAINTS

D. USER_CONS_COLUMNS

E. USER_COLUMNS


参考答案:D

第4题:

You execute the following command to audit database activities: SQL> AUDIT DROP ANY TABLE BY scott BY SESSION WHENEVER SUCCESSFUL; What is the effect of this command()

  • A、One audit record is created for every successful DROP TABLE command executed in the session of SCOTT.
  • B、One audit record is generated for the session when SCOTT grants the DROP ANY TABLE privilege to otherusers.
  • C、One audit record is created for the whole session if user SCOTT successfully drops one or more tables inhis session.
  • D、One audit record is created for every session of any other user in which a table owned by SCOTT isdropped successfully.
  • E、One audit record is created for every successful DROP TABLE command executed by any user to drop Tables owned by SCOTT

正确答案:C

第5题:

A user utilizing an alias to update a subset of columns in a table must have UPDATE privileges on which of the following DB2 objects?()

  • A、Table
  • B、Columns
  • C、Table and Alias
  • D、Columns and Alias

正确答案:A

第6题:

A user utilizing an alias to update a subset of columns in a table must have UPDATE privileges on which of the following DB2 objects?()

A.Table

B.Columns

C.Table and Alias

D.Columns and Alias


参考答案:A

第7题:

You are creating the DEPT_SAL data block from the PAYHIST form. Users should be able to enter a valid department ID number, which will then display the employee salary information for that department. This data block could potentially retrieve a large number of records. Since users will probably only view a small number of these records, only 10 records should be fetched at one time. How would you create the data block?()

  • A、Select The Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, enter the procedure name in the Query Data Source Columns property, and the procedure code in the Query Data Source Arguments property. 
  • B、Choose Tools -> Data Block Wizard, select Table as the data source type, and base the block on the columns from the tables. 
  • C、Choose Tools -> Data Block Wizard, select, View as the data source type, and base the block on the columns from the tables. 
  • D、Select the Data Blocks node in the Object Navigator and click the Create button. Choose to build the data block manually, alter the Query Data Source Type property to 'FROM clause query', and enter the SELECT statement in the Query Data Source Name property. 
  • E、Select the Data Block node in the Object Navigator and click the Create button. Alter the Query Data Source Type, Query Data Source Name, Query Data Sources Columns, and Query Data Source Arguments properties to create a stored procedure that uses a red cursor.

正确答案:E

第8题:

The user Alice wants to grant all users query privileges on her DEPT table. Which SQL statement accomplishes this? ()

A. GRANT select ON dept TO ALL_ USER;

B. GRANT select ON dept TO ALL;

C. GRANT QUERY ON dept TO ALL_USERS

D. GRANT select ON dept TO PUBLIC;


参考答案:D

第9题:

The user Alice wants to grant all users query privileges on her DEPT table. Which SQL statement accomplishes this?()

  • A、GRANT select ON dept TO ALL_ USER;
  • B、GRANT select ON dept TO ALL;
  • C、GRANT QUERY ON dept TO ALL_USERS
  • D、GRANT select ON dept TO PUBLIC;

正确答案:D

第10题:

Examine the command: SQL> ALTER USER skd ACCOUNT LOCK; Which two statements are true after the command is executed()

  • A、The SKD user cannot log in to the database instance.
  • B、The objects owned by the SKD user are not accessible to any user.
  • C、The other users can access the objects owned by the SKD user, on which they have access.
  • D、The password for the SKD user expires and the user is forced to change the password at the next log in

正确答案:A,C

更多相关问题