标签:
91、View the Exhibit and examine the user information
The user has been granted CONNECT and RESOURCE roles and no individual system privileges. The SL_REP user executes this command to create a table: SQL> CREATE TABLE orders ( oid number(6), odate date, ccode number(4), oamt number(10,2) ) TABLESPACE purchase_space; The PURCHASE_SPACE tablespace already exists in the database. Which statement describes the effect of the command? A. The command executes successfully and creates the table in the USERS tablespace. B. The command executes successfully and creates the table in the PURCHASE_SPACE tablespace. C. The command produces an error because the user does not have the privilege to createthe table. D. The command produces an error because the user does not have quota in the PURCHASE_SPACE tablespace.
Answer: B
92、
92.A constraint in a table is defined with the INITIALLY IMMEDIATE clause. You executed the ALTER TABLE command with the ENABLE VALIDATE option to enable the constraint that was disabled. What are the two effects of this command? (Choose two.) A. It fails if any existing row violates the constraint. B. It does not validate the existing data in the table. C. It enables the constraint to be enforced at the end of each transaction. D. It prevents insert, update, and delete operations on the table while the constraint is in the process of being enabled.
Answer: AD
93、
93.The session of user SCOTT receives the following error after executing an UPDATE command on the EMP table: ERROR at line 1: ORA-00060: deadlock detected while waiting for resource On investigation, you find that a session opened by user JIM has a transaction that caused the deadlock. Which two statements are true regarding the session of SCOTT in this scenario? (Choose two.) A. The session is terminated after receiving the error and JIM can continue with his transaction. B. SCOTT should perform a COMMIT or ROLLBACK to allow JIM to continue with his transaction. C. The session is rolled back after receiving the error and JIM can continue with his transaction. D. SCOTT has to reexecute the last command in the transaction after he commits the transaction
Answer: BD
94、
94.Examine the following statement that is used to modify the primary key constraint on the SALES table: SQL> ALTER TABLE SALES MODIFY CONSTRAINT pk DISABLE VALIDATE; Which three statements are true regarding the above command? (Choose three.) A. The constraint remains valid. B. The index on the constraint is dropped. C. It allows the loading of data into the table using SQL *Loader. D. New data conforms to the constraint, but existing data is not checked. E. It allows the data manipulation on the table using INSERT/UPDATE/DELETE SQL statements.
94.Examine the following statement that is used to modify the primary key constraint on the SALES table: SQL> ALTER TABLE SALES MODIFY CONSTRAINT pk DISABLE VALIDATE; Which three statements are true regarding the above command? (Choose three.) A. The constraint remains valid. B. The index on the constraint is dropped. C. It allows the loading of data into the table using SQL *Loader. D. New data conforms to the constraint, but existing data is not checked. E. It allows the data manipulation on the table using INSERT/UPDATE/DELETE SQL statements.
95、
95.You execute the following command to change the status of the SALES tablespace: SQL> ALTER TABLESPACE sales OFFLINE; Which statements describe the effect of the command? (Choose all that apply.) A. The tablespace would require recovery to go back online. B. A checkpoint is taken on all data files that are associated with the SALES tablespace. C. The sessions that subsequently try to access the objects in the SALES tablespace receive an error. D. The new status of the SALES tablespace is recorded in the control file when the database instance is closed.
Answer: BC
标签:
原文地址:http://www.cnblogs.com/huanhuanang/p/5358286.html