CONTROL
UPDATE
USAGE
ALTER
第1题:
Given the following ALTER SEQUENCE statement: ALTER SEQUENCE myseq RESTART WITH 0 INCREMENT BY 1 NO MAXVALUE CACHE 5 ORDER Assuming that the sequence had reached a value of 100 prior to the RESTART, which of the following is true?()
第2题:
Which of the following groups should a user be added to for the ability to restore files, withoutgranting any ownership privileges?()
第3题:
A user needs to create a trigger that will update table T2 whenever a row is added to table T1. Assuming the user has all appropriate privileges for table T2, which privilege is required on table T1 to create the trigger?()
第4题:
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?()
第5题:
Which object privileges can be granted on a view? ()
第6题:
You are attempting to clear an unarchived redo log file. In order to manually enact a log switch, which of the following statements is appropriate?()
第7题:
The user HR owns the EMP table. The user HR grants privileges to the user SCOTT by using this command: SQL> GRANT SELECT,INSERT,UPDATE ON emp TO scott WITH GRANT OPTION; The user SCOTT executes this command to grant privileges to the user JIM: SQL> GRANT SELECT,INSERT,UPDATE ON hr.emp TO jim; Now, the user HR decides to revoke privileges from JIM using this command: SQL> REVOKE SELECT,INSERT,UPDATE ON emp FROM jim; Which statement is true after HR issues the REVOKE command()
第8题:
EXECUTE_CATALOG_ROLE
CONNECT
RESOURCE
RECOVERY_CATALOG_OWNER
RECOVERY_CATALOG_USER
第9题:
The command fails because SCOTT still has privileges.
The command succeeds and privileges are revoked from JIM.
The command fails because HR cannot revoke the privileges from JIM.
The command succeeds and only HR has the privilege to perform the SELECT, INSERT, and UPDATEoperations on the EMP table.
第10题:
REVOKE ALL PRIVILEGES FROM USER tom
REVOKE ALL ON EMPLOYEE FROM USER tom
REVOKE EXECUTE ON EMPLOYEE FROM USER tom
REVOKE PRIVILEGES ON EMPLOYEE FROM USER tom
第11题:
REFERENCES
SELECT
UPDATE
ALTER
第12题:
REVOKE DROP ON t1 FROM PUBLIC
REVOKE UPDATE ON t1 FROM PUBLIC
REVOKE DELETE ON t1 FROM PUBLIC
REVOKE CONTROL ON t1 FROM PUBLIC
第13题:
更改oracle用户HR,使其变为不可用(锁定)状态()
第14题:
Which of the following approval member groups can an organization administrator grant privileges to?()
第15题:
Which of the following statements is used to revoke all DML privileges on table EMPLOYEE from user TOM?()
第16题:
Which of the following privileges permits a user to update the comment on a sequence?()
第17题:
The DBA is defining role for users. Which of the following is not an acceptable method for defining a default role?()
第18题:
User A executes the following command to update the TRANS table) SQL> UPDATE B.trans SET tr_amt=tr_amt+500 WHERE c_code=’C005’; Before user A issues a COMMIT or ROLLBACK command, user B executes the following command on the TRANS table: SQl> ALTER TABLE trans MODIFY (tr_type VARCHAR2 (3)); What would happen in this scenario?()
第19题:
User A issues the command: LOCK TABLES pets READ; Which command can User B execute against the pets table?()
第20题:
The ALTER TABLE command modifies the column successfully.
The DDL operation gets higher priority and transaction for user A is rolled back.
The ALTER TABLE command waits indefinitely until user A ends the transaction.
The ALTER TABLE command fails after waiting for 60 seconds due to the resource being busy
第21题:
The next value will be 0 and the sequence will never use the values 101 to 105.
The next value will be 101 to ensure uniqueness between existing and newly generated sequence values.
Previously cached values are retained by DB2, and after the restart, will be used for values 101 to 105.
The next value will be 0 and DB2 will not ensure uniqueness between existing and newly generated values.
第22题:
The transaction for user A is rolled back.
The ALTER TABLE command modifies the column successfully.
The ALTER TABLE command fails due to the resource being busy.
The ALTER TABLE command waits until user A ends the transaction.
第23题:
Table
Columns
Table and Alias
Columns and Alias
第24题:
CONTROL
UPDATE
USAGE
ALTER