REFERENCES
SELECT
UPDATE
ALTER
第1题:
Which of the following can be used to ensure that once a row has been inserted in table TABLEX, the column MAINID in that row cannot be updated?()
第2题:
Assuming PUBLIC has been granted all privileges on table T1, which of the following statements would continue to permit any user to add rows to table T1, but not remove them?()
第3题:
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 user creates a table. 3. The SKD user grants the CREATE TABLE 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 isperformed()
第4题:
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()
第5题:
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()
第6题:
Your company uses a SQL Server 2005 database. Customer data from your trading partners is imported into the Customers table every night. You need to ensure that the customer record is updated if it already exists in the Customers table. If the record does not exist, the data needs to be inserted into the Customers table. What should you do?()
第7题:
The table created by SKD isnot accessibleand SKD cannot create new tables.
The tables created by SKD and HR remain, but both cannot create new tables.
The table created by HR remains and HR still has the CREATE TABLE system privilege.
The table created by HR remains and HR can grant the CREATE TABLE system privilege to other users.
第8题:
null lock on the row being updated
null lock on the table containing the row
ROW SHARE lock for the row being updated
ROW EXCLUSIVE lock for the row being updated
shared row-exclusive lock for the row being updated
a shareable table lock for the table containing the row
exclusive table-level lock for the table containing the row
第9题:
You cannot create a table form within Forms.
You must use the FORMS_DDL built-in to create the table.
You must use the DBMS_DYNAMIC_DDL package to create the table.
You can write the CREATE TABLE statement directly into the trigger.
第10题:
The table created by SKD is not accessible and SKD cannot create new tables.
The tables created by SKD and HR remain, but both cannot create new tables.
The table created by HR remains and HR still has the CREATE TABLE system privilege.
The table created by HR remains and HR can grant the CREATE TABLE system privilege to other users.
第11题:
Define the column MAINID as NOT UPDATABLE
Define the column MAINID as a PRIMARY KEY
Define the column MAINID as a FOREIGN KEY
Define an UPDATE trigger on table TABLEX
第12题:
REFERENCES
SELECT
UPDATE
ALTER
第13题:
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?()
第14题:
In which scenario do you use the Flashback Database feature?()
第15题:
Consider this syntax: MERGE INTO t1 USING t2 ON (join predicate)….. What does the MERGE syntax do?()
第16题:
You execute the following set of commands to create a database user and to grant the system privileges in your production environment. SQL> CREATE USER user01 IDENTIFIED BY oracle DEFAULT TABLESPACE tbs1 TEMPORARY TABLESPACE temp PROFILE default / SQL> GRANT create session, create table TO user01; While executing the command to create a table, the user gets the following error message and the CREATE TABLE.. command fails. ERROR at line 1: ORA-01950: no privileges on tablespace What could be the possible reason for this error message?()
第17题:
In your multitenant container database (CDB) containing pluggable database (PDBs), you granted theCREATE TABLE privilege to the common user C # # A_ADMIN in root and all PDBs. You execute thefollowing command from the root container:SQL > REVOKE create table FROM C # # A_ADMIN;What is the result?()
第18题:
when a table is dropped and you restore it from the Recycle Bin
when a user’s schema is dropped and you recover the user’s schema
when some incorrect data is inserted in the table and you retrieve the table to a state that was at a certain timestamp
when a row of a table is updated frequently and committed, and you view all the versions of the row within a specific duration
第19题:
Create a FOR trigger.
Create an INSTEAD OF trigger.
Create an AFTER trigger.
Create a DDL trigger.
第20题:
The commands execute successfully.
Command 6 produces an error because of circular role grant.
Command 5 produces an error because a role cannot be granted to another role.
Command 3 produces an error because the MGRROLE role already contains system privileges.
The table created by HR remains and HR still has the CREATE TABLE system privilege.
The table created by HR remains and HR can grant the CREATE TABLE system privilege to other users.
第21题:
It performs a merge join of the row from T2 only if it doesn’t exist in the T1 table.
It creates a natural join of tables T1 and T2 for all columns that have the same name.
It creates a Cartesian product of table T1 and table T2 for all columns that have the same name.
For each row from T2, it updates the row if it exists within table T1, otherwise it inserts the row into T1.
第22题:
Create an INSERT trigger to assign the default value to each item in the table.
Create a CHECK constraint to validate the data and to assign the default value to each item in the table.
Create an UPDATE trigger to update the default value for each new item in the table.
Create a DEFAULT constraint to assign the default value specifying the WITH VALUES argument.
第23题:
The tablespace TBS1 is full.
The user is not the owner of the SYSTEM tablespace.
The user does not have quota on the TBS1 tablespace.
The user does not have sufficient system privileges to create table in the TBS1 tablespace.
The user does not have sufficient privileges to create table on the default permanent tablespace.
第24题:
REVOKE DROP ON t1 FROM PUBLIC
REVOKE UPDATE ON t1 FROM PUBLIC
REVOKE DELETE ON t1 FROM PUBLIC
REVOKE CONTROL ON t1 FROM PUBLIC