我在存储过程中使用了SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
。似乎命令的使用正在达到性能。可以用其他方式重写吗?
CREATE PROCEDURE ProcName
AS
SET TRANSACTION ISOLATION LEVEL READ UNCOMMITTED
SELECT *
FROM Table1 T1
LEFT JOIN Table2 T2 ON T2.field1 = T1.field1
LEFT JOIN Table3 T3 ON T3.field1 = T2.field2