多项选择题Which three descriptions are correct about the effects of the TRUNCATE command on a table()

A.The corresponding indexes for the table are also truncated.
B.Delete triggers on the table are fired during the execution of the TRUNCATE command.
C.The child table is truncated when the TRUNCATE command is applied on the parent table.
D.The high-water mark (HWM) is set to point to the first usable data block in the table segment.
E.No undo or very little undo data is generated during the execution of the TRUNCATE command


您可能感兴趣的试卷

你可能感兴趣的试题

1.单项选择题

Which statement is true about the PCTFREE setting for the table()

A.It sets the minimum percentage of a data block to be reserved to contain chained rows from other blocks.
B.It sets the minimum percentage of a data block to be reserved as free space before the server prevents inserts into the block.
C.It sets the minimum percentage of a data block to be reserved to contain the bitmap used to maintain the free block information.
D.It sets the minimum percentage of a block that can be used for row data plus overhead before new rows are added to the block.

2.多项选择题

Examine the command that is used to create a table: 
SQL> CREATE TABLE orders(oid NUMBER(6) PRIMARY KEY, odate DATE, ccode NUMBER(6), oamt NUMBER(10,2)) TABLESPACE users; 
Which two statements are true about the effect of the above command) ()

A.A CHECK constraint is created on the OID column.
B.A NOT NULL constraint is created on the OID column.
C.The ORDERS table is the only object created in the USERS tablespace.
D.The ORDERS table and a unique index are created in the USERS tablespace.
E.The ORDERS table is created in the USERS tablespace and a unique index is created on the OIDcolumn in the SYSTEM tablespace.

4.单项选择题

You created a profile APP_USER and assigned it to the users. After a month, you decide to drop theprofile.Some user sessions are currently connected to the database instance and are using the APP_USERprofile. This command is used to drop the profile: SQL> DROP PROFILE app_user; 
Which statement describes the result()

A.The command produces an error.
B.The profile is dropped and current user sessions use the DEFAULT profile immediately.
C.The profile is dropped and only the subsequent user sessions use the DEFAULT profile.
D.The profile is dropped, the sessions are terminated, and the subsequent user sessions use theDEFAULT profile.

6.单项选择题

View the Exhibit to observe the roles assigned to the SLP_REP user. 

Which statement is true about the assignment of the SELECT_CATALOG_ROLE role to the SLP_REPuser()

A.The user must enable the role explicitly.
B.The user can grant the role to other users.
C.The user cannot use the role until the DBA enables it explicitly.
D.The user can start using the role immediately without any changes.

7.单项选择题

View the Exhibit and examine the user information. 

The user has been granted CONNECT and RESOURCE roles and no individual system privileges. TheSL_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 theeffect 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 create the table.
D.The command produces an error because the user does not have quota in the PURCHASE_SPACE tablespace.

8.单项选择题

You want to create a role to meet these requirements: 
1:The role is to be protected from unauthorized usage. 
2:The password of the role is not to be embedded in the application source code or stored in a table. 
Which method would you use to restrict enabling of such roles()

A.Create the role with global authentication.
B.Create the role with external authentication.
C.Create the role as a secure application role.
D.Create the role as a password-protected role.
E.Create a role and use Fine-Grained Access Control (FGAC) to secure the role.

9.单项选择题

Examine the commands executed in the following sequence: 
1:SQL> CREATE ROLE mgrrole; 
2:SQL> GRANT create user,select any table,connect,resource TO mgrrole; 
3:SQL> GRANT select,update ON sh.sales TO mgrrole; 
4:SQL> CREATE ROLE ceo IDENTIFIED BY boss; 
5:SQL> GRANT mgrrole,drop any table,create any directory TO ceo; 
6:SQL> GRANT ceo TO mgrrole; 
Which statement is true about the above commands()

A.The commands execute successfully.
B.Command 6 produces an error because of circular role grant.
C.Command 5 produces an error because a role cannot be granted to another role.
D.Command 3 produces an error because the MGRROLE role already contains system privileges.
E.The table created by HR remains and HR still has the CREATE TABLE system privilege.
F.The table created by HR remains and HR can grant the CREATE TABLE system privilege to other users.

10.单项选择题

Examine the following steps performed on a database instance: 
1:The DBA grants the CREATE TABLE system privilege to the SKD user with ADMIN OPTION. 
2:The SKD usercreates a table. 
3:The SKD user grants theCREATETABLE system privilege to the HR user. 
4:The HR user creates a table. 
5:The DBA revokes the CREATE TABLE system privilege from SKD. 
Which statement is true after step 5 is performed()

A.The table created by SKD isnot accessibleand SKD cannot create new tables.
B.The tables created by SKD and HR remain, but both cannot create new tables.
C.The table created by HR remains and HR still has the CREATE TABLE system privilege.
D.The table created by HR remains and HR can grant the CREATE TABLE system privilege to other users.

最新试题

The session of user SCOTT receives the following error after executing an UPDATE command on the EMPtable:ERROR at line 1:ORA-00060: deadlock detected while waiting for resource On investigation, you find that a session opened byuser JIM has a transaction that caused the deadlock. Which two statements are true regarding the session ofSCOTT in this scenario()

题型:多项选择题

Which  statements are correct about temporary tables()

题型:多项选择题

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 aretrue regarding the above command()

题型:多项选择题

You set the following parameters in the parameter file and restarted the database:MEMORY_MAX_TARGET=0MEMORY_TARGET=500MPGA_AGGREGATE_TARGET=90MSGA_TARGET=270MWhich two statements are true about these parameters after the database instance is restarted()

题型:多项选择题

After performing a clean shut down of the database instance for maintenance, you mount the database andthen execute a command to open the database:SQL> ALTER DATABASE OPEN;Which two statements are true()

题型:多项选择题

You are managing an Oracle Database 11g database. You configured the database to run in ARCHIVELOGmode. Which two statements are true in this scenario()

题型:多项选择题

You are working on a database that must be functioning 24 hours a day, 7 days a week. The database isconfigured in ARCHIVELOG mode. Which two options do you have for performing user-managed backups()

题型:多项选择题

Examine the command that is used to create a table:SQL> CREATE TABLE orders(oid NUMBER(6) PRIMARY KEY, odate DATE, ccode NUMBER (6), oamtNUMBER(10,2)) TABLESPACE users;Which two statements are true about the effect of the above command()

题型:多项选择题

Your database is functional with a peak load for the last one hour. You want to preserve the performancestatistics collected during this period to be used for comparison when you analyze the performance of thedatabase in the future. What action would you take to achieve this task()

题型:单项选择题

User SCOTT executes the following command on the EMP table but has not issued COMMIT, ROLLBACK, orany data definition language (DDL) command:SQL> SELECT ename FROM emp WHERE job=’CLERK’ FOR UPDATE OF empno;SCOTT has opened another session to work with the database instance. Which three operations would waitwhen issued in SCOTT’s second session()

题型:多项选择题