Grand privileges on the interim table.
Invoke the dbms_redefinition.can_redef_table procedure.
Invoke the dbms_redefinition.sync_interim_table procedure.
Create any triggers, indexes, or constraints on the interim table.
Create an empty interim table with all the desired characteristics.
第1题:
The HR user creates a stand-alone procedure as follows and grants the EXECUTE privilege on theprocedure to many database users: CREATE OR REPLACE PROCEDURE create_dept ( v_deptno NUMBER, v_dname VARCHAR2, v_mgr NUMBER, v_loc NUMBER) BEGIN INSERT INTO hr.departments VALUES (v_deptno, v_dname, v_mgr, v_loc); END; The users having permission to execute the procedure are able to insert records into the DEPARTMENTStable even though they do not have the INSERT privilege on the table. You want only those users whohave privileges on the DEPARTMENTS table to be able to execute the procedure successfully. What would you suggest to the PL/SQL developers to achieve this()
第2题:
Your database operates in ARCHIVELOG mode and all the tablespaces are online. Due to a user error, you decided to perform an incomplete recovery. Which two tasks would you be required to perform in the recovery process? ()
第3题:
You work as a database administrator at Certkiller .com. You are working in an online transaction processing (OLTP) environment. You realize that the salary for an employee, John, has been accidentally modified in the EMPLOYEEStable. Two days ago, the data was in the correct state. Flashback logs generated during last two days are available in the flash recovery area. Which option would you choose to bring the data to the correct state while ensuring that no other data in the same table is affected?()
第4题:
You are working in an online transaction processing (OLTP) environment. You use the FLASHBACKTABLE command to flash back the CUSTOMERS table. Before executing the FLASHBACK TABLE command, the system change number (SCN) was 663571. After flashing back the CUSTOMERS table, you realize that the table is not in the correct state. Now, you need to reverse the effects of the FLASHBACK TABLE command. Which is the fastest and the most efficient option to reverse the effects of the FLASHBACK TABLE command?()
第5题:
You work in a company which uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a database named DB1 in the instance. The DB1 database contains the following stored procedure. (Line numbers are useded for reference only.) 01 CREATE PROCEDURE Sales.Procedure1 02 AS 03 IF OBJECT_ID('Service.Table') IS NOT NULL 04 DROP TABLE Service.Table; 06 CREATE TABLE Service.Table ( 07 Id int PRIMARY KEY CLUSTERED, 08 Name varchar(100); 09 ); 11 ... 12 GOThe following exception is raised when a user tries to invoke Procedure1, "Msg 262, Level 14, State 1, Procedure Procedure1, Line 5 CREATE TABLE permission denied in database 'DB1'." You should grant the user access to execute Procedure1, you must assign only the required permissions. What action should you do perform?()
第6题:
open the database with the RESETLOGS option
open the database with the RESTRICTED option
recover all the data files to the same system change number (SCN)
recover to the required SCN only that data file in which the error occurred
第7题:
by using Oracle Enterprise Manager
by issuing the FLASHBACK TABLE statement at the RMAN prompt
by issuing the FLASHBACK TABLE statement at the SQL prompt
by issuing the FLASHBACK TABLE statement at the LSNRCTL prompt
第8题:
Ensure that the stored procedure and the tables are owned by users that are associated with the same SQL Server login.
Ensure that the stored procedure and the tables are owned by the same database user.
Ensure that the stored procedure and the tables use the same database schema.
Configure the multiuser database option on both databases.
Configure the cross-database ownership chaining option on both databases.
第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题:
Export and import the mapping table.
Drop and re-create the mapping table.
Truncate the mapping table and reinsert the values.
Use the ALTER TABLE .. REBUILD command to defragment the mapping table.
第11题:
open the database with the RESTRICTED option
open the database with the RESETLOGS option
recover to the required SCN only that data file in which the error occurred
recover all the data files to the same system change number (SCN)
第12题:
The online redo log files and archived redo log files are required to accomplish the recovery.
The uncommitted transaction will be committed at the next startup of the database instance.
The uncommitted transaction is rolled back automatically at the next opening of the database.
The DBA has to perform the recovery on the database to recover the uncommitted transaction
第13题:
You are working on an online transaction processing (OLTP) system. You notice that a PL/SQL procedure got executed twice at 2) 00 p.m. This has incorrectly updated the EMP_SAL table. How would you revert the table to its state at 2) 00 p.m.?()
第14题:
You are working in an online transaction processing (OLTP) environment. You used the FLASHBACK TABLE command to flash back the CUSTOMERS table. Before executing the FLASHBACK TABLE command, the System Change Number (SCN) was 663571. After flashing back the CUSTOMERS table, you realize that the table is not in the correct state and the resultant changes are not what you had desired. So, you need to reverse the effects of the FLASHBACK TABLE command while ensuring that: a) No other user data in the database is affected. b) The operation takes the minimum possible time. Which option would you choose?()
第15题:
Oracle9i provides a database package called dbms_redefinition to perform an online rebuild of a table. Which two steps are you recommended to do prior to issuing thedbms_redefinition_start_redef table procedure call?()
第16题:
You need to cleanse and standardize the data on potential survey participants prior to inserting it into the staging database. What should you do?()
第17题:
You work in a company which is named Wiikigo Corp. The company uses SQL Server 2008. You are the administrator of the company database. Now you are in charge of a SQL Server 2008 instance. There is a database named DB1 in the instance. DB1 has a table which is named Table01 and a stored procedure named Procedure01. Procedure01 choose data from Table01 by using a sp_executesql Transact-SQL statement. You company security rules forbid users to access tables directly in any database. Look at the exception below: "Msg 229, Level 14, State 5, Line 1 The SELECT permission was denied on the object 'Table01', database 'DB1', schema 'dbo'." The exception is raised when Procedure01 is executed by users. You must make sure that e user can successfully execute Procedure1 complying with the company rules. So what action should you perform to achieve this goal?()
第18题:
perform point-in-time recovery
perform a Flashback Table operation to restore the table to the state it was in two days ago
perform a Flashback Database operation to restore the database to the state it was in two days ago
perform Flashback Versions Query and Flashback Transaction Query to determine all the necessary undo SQL statements, and then use them for recovery
第19题:
backup of offline tablespaces
backup of readonly tablespaces
backup of systemcritical tablespaces
backup of online, locally managed tablespaces
backup of read/write dictionarymanaged tablespaces
第20题:
Grand privileges on the interim table.
Invoke the dbms_redefinition.can_redef_table procedure.
Invoke the dbms_redefinition.sync_interim_table procedure.
Create any triggers, indexes, or constraints on the interim table.
Create an empty interim table with all the desired characteristics.
第21题:
table
transactional trigger
stored procedure
FROM clause query
第22题:
Between lines 01 and 02, you should insert the WITH EXECUTE AS 'dbo' clause.
Between lines 01 and 02, you should insert the EXECUTE AS USER = 'dbo' statement.
You should give the user the ALTER permission on the Service schema
You should give the CREATE TABLE permission and permit the user to drop the Service.Table table.
第23题:
perform point-in-time recovery
perform a Flashback Table operation to restore the table to the state it was in two days ago
perform a Flashback Database operation to restore the database to the state it was in two days ago
perform Flashback Versions Query and Flashback Transaction Query to determine all the necessary undo SQL statements, and then use them for recovery
第24题:
MERGE
INSERT
UPDATE
ADD
ENTER
You cannot enter the phone numbers for the existing employee records.