I am preparing for MCTS 70 - 433 and while reading the dumps I found this question.
"You are tasked to analyze blocking behavior of the following query
SET TRANSACTION ISOLATION LEVEL SERIALIZABLE;
WITH customers
AS (SELECT *
FROM customer),
salestotal
AS (SELECT customerid,
sum(ordertotal) AS Allordertotal
FROM salesorder)
SELECT customerid,
allordertotal
FROM salestotal
WHERE allordertotal > 10000.00
You need to determine if other queries that are using the Customer table will be blocked by this query. You also need to determine if this query will be blocked by the other queries that use the customer table.
A. The other queries will be blocked by the user. This query will be blocked by the other queries.
B. The other queries will be blocked by the user. This query will not be blocked by the other queries.
C. The other queries will not be blocked by the user. This query will be blocked by the other queries.
D. The other queries will not be blocked by the user. This query will not be blocked by the other queries."
The correct answer is given as D.
But when serializable transaction level is used, it issues a lock and stop other transactions rite.??
Please correct me if I am wrong.