3
Pemindaian tak terduga selama operasi penghapusan menggunakan WHERE IN
Saya punya pertanyaan seperti berikut: DELETE FROM tblFEStatsBrowsers WHERE BrowserID NOT IN ( SELECT DISTINCT BrowserID FROM tblFEStatsPaperHits WITH (NOLOCK) WHERE BrowserID IS NOT NULL ) tblFEStatsBrowsers telah mendapatkan 553 baris. tblFEStatsPaperHits telah mendapat baris 47.974.301. tblFEStatsBrowsers: CREATE TABLE [dbo].[tblFEStatsBrowsers]( [BrowserID] [smallint] IDENTITY(1,1) NOT NULL, [Browser] [varchar](50) NOT NULL, [Name] …