It is possible,but transaction T3 also backs out.
It is possible with the NOCASCADE_FORCE option.
It is possible with the NONCONFLICT_ONLY option.
It is not possible because it has conflicts with transaction T3.
第1题:
Given the following two tables:TAB1 C1 C21 Antarctica 2 Africa 3 Asia 4 Australia TAB2 CX CY5 Europe 6 North America 7 South AmericaWhich of the following SQL statements will insert all rows found in table TAB2 into table TAB1?()
A.INSERT INTO tab1 SELECT cx, cy FROM tab2
B.INSERT INTO tab1 VALUES (tab2.cx, tab2.cy)
C.INSERT INTO tab1 VALUES (SELECT cx, cy FROM tab2)
D.INSERT INTO tab1 (c1, c2) VALUES (SELECT cx, cy FROM tab2)
第2题:
Given table T1 has column I1 containing the following data: I1 1 2 3 4 If the following sequence of SQL statements is applied within a single unit of work: UPDATE t1 SET i1 = 3 WHERE i1 = 2; S AVEPOINT s1 ON ROLLBACK RETAIN CURSORS; UPDATE t1 SET i1 = 5 WHERE i1 = 3; SAVEPOINT s2 ON ROLLBACK RETAIN CURSORS;INSERT INTO t1 (i1) VALUES (6); ROLLBACK TO SAVEPOINT s1; UPDATE t1 SET i1 = 2 WHERE i1 = 4; COMMIT; What is the expected sequence of values returned from?() SELECT i1 FROM t1 ORDER BY i1
第3题:
At 5:30 PM, a database administrator, William, is informed that an important record of employee no E0025 is missing from the SCOTT.EMPLOYEE table. At 4:30 P.M, the table contained the record of employee no E0025. William issues the following command to find the SQL statements that are used to undo the deletion: SELECT operation, undo_sql, logon_user FROM FLASHBACK_TRANSACTION_QUERY WHERE xid= HEXTORAW(’0100043E23456’); where ’0100043E23456’ is the transaction ID of the transaction that deleted the row. Before issuing the above statement, which task did William perform to identify the transaction ID of the transaction that deleted the row?()
第4题:
Which of the following operations does not require Oracle to store information in an UNDO segments as part of the transaction?()
第5题:
TestKing.com uses SQL Server 2005. A user reports that an order processing application stopped responding in the middle of an order transaction. The users SQL Server session ID is 54. You need to find out if session 54 is blocked by another connection. If it is,you need to identify the blocking session ID. What are two possible ways to achieve this goal?()
第6题:
1, 2, 3, 3
1, 2, 2, 4
1, 2, 3, 3, 6
1, 2, 2, 5, 6
第7题:
You can find information about only active transactions from the view
You can find information about read only transactions from the view
You require the SELECT ANY TRANSACTION system privilege to access the view
You can find information about both active and committed transactions from the view
You require the SELECT ON FLASHBACK_TRANSACTION_QUERY object privilege to access the view
第8题:
The constraint remains valid.
The index on the constraint is dropped.
It allows the loading of data into the table using SQL *Loader.
New data conforms to the constraint, but existing data is not checked.
It allows the data manipulation on the table using INSERT/UPDATE/DELETE SQL statements.
第9题:
The CONNECT statement
The first FETCH of a cursor
The BEGIN TRANSACTION statement
The first executable SQL statement
第10题:
point-in-time recovery
execute the ROLLBACK command with transaction number
flashback the database to before the transaction was committed
determine all the necessary undo SQL statements from FLASHBACK_TRANSACTION_QUERY and use them for recovery
第11题:
When view V1 is created
Each time the REFRESH VIEW v1 statement is executed
Each time an SQL statement is executed against view V1
Only the first time an SQL statement is executed against view V1
第12题:
It is possible,but transaction T3 also backs out.
It is possible with the NOCASCADE_FORCE option.
It is possible with the NONCONFLICT_ONLY option.
It is not possible because it has conflicts with transaction T3.
第13题:
Application A is designed to execute the following SQL statements within a single Unit of Work (UOW). UPDATE employee SET salary = salary * 1.1 WHERE empno='000010' UPDATE department SET deptname = 'NEW dept' WHERE deptno='A00'Application B is designed to execute the following SQL statements within a single Unit of Work (UOW). UPDATE department SET deptname = 'OLD DEPT' WHERE deptno='A00' UPDATE employee SET salary = salary * 0.5 WHERE empno='000010' Application A and application B execute their first SQL statement at the same time. When application A and application B try to execute their second SQL statement, a deadlock occurs. What will happen?()
第14题:
Which of the following will begin a new unit of work?()
第15题:
Which method would you use to undo the changes made by a particular transaction without affecting the changes made by other transactions?()
第16题:
Examine the following statement that is used to modify the constraint on the SALES table: SQL> ALTER TABLE SALES MODIFY CONSTRAINT pk DISABLE VALIDATE; Which three statements are true regarding the above command()
第17题:
A Windows Azure application stores data in a SQL Azure database. The application will start an operation that includes three insert statements. You need to recommend an approach for rolling back the entire operation if the connection to SQL Azure is lost. What should you recommend?()
第18题:
Ensure that all statements execute in the same database transaction.
Create a stored procedure in the database that wraps the insert statements in a TRY CATCH block.
Create a stored procedure in the database that wraps the insertstatements in a TRANSACTION block.
Open a new connection to the database. Use a separate transaction scope to roll back the original operation.
第19题:
One audit record is created for every successful execution of a SELECT, INSERT OR DELETE command on a table, and contains the SQL text for the SQL Statements.
One audit record is created for every successful execution of a SELECT, INSERT OR DELETE command, and contains the execution plan for the SQL statements.
One audit record is created for the whole session if john successfully executes a SELECT, INSERT, or DELETE command, and contains the execution plan for the SQL statements.
One audit record is created for the whole session if JOHN successfully executes a select command, and contains the SQL text and bind variables used.
One audit record is created for the whole session if john successfully executes a SELECT, INSERT,or DELETE command on a table, and contains the execution plan, SQL text, and bind variables used.
第20题:
0
1
2
3
第21题:
The constraint remains valid.
The index on the constraint is dropped.
It allows the loading of data into the table using SQL*Loader.
New data conforms to the constraint, but existing data is not checked
It allows the data manipulation on the table using INSERT/UPDATE/DELETE SQL statements.
第22题:
The statement will fail.
The statement will be executed successfully, and the new time zone will be set for the database.
The statement will be executed successfully, but the new time zone will be set for the current session.
The statement will be executed successfully, but the new time zone will neither be set for the database nor for a specific session.
第23题:
In SQL Server Management Studio, open the Activity Monitor. Open the Process Info page. View the blockedBy column for session 54.
In SQL Server Management Studio,open the Activity Monitor. Open the Locks by Process page. View the Request Mode column for session 54.
In SQL Server Management Studio, open a new query window and execute the following statement.SELECT * FROM sys.dm exec requests WHERE session id = 54View the blocking session id column.
In SQL Server Management Studio, open a new query window and execute the following statement.SELECT * FROM sys.dm exec sessionsWHERE session id = 54View the status column.
第24题:
GRANT SELECT ANY TRANSACTION TO ARREN
GRANT SELECT ON FLASHBACK_TRANSACTION_QUERY TO ARREN
GRANT SELECT_ANY_TRANSACTION TO ARREN
GRANT FLASHBACK TO ARREN
GRANT SELECT ANY VIEW TO ARREN