SQL Server SELECT INTO and Blocking With Temp Tables

后端 未结 8 867
抹茶落季
抹茶落季 2020-12-13 19:08

So, recently a DBA is trying to tell us that we cannot use the syntax of

SELECT X, Y, Z
INTO #MyTable
FROM YourTable

To create temporary ta

8条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-13 20:04

    I would say lack of locking proof means no locking, which is your proof. Why would the method that the temp table is created in (CREATE or SELECT ... INTO) make a difference in locking TempDB?

提交回复
热议问题