Answer the question
In order to leave comments, you need to log in
How can I increase the query speed?
I make a simple request:
SELECT top 500 *
FROM [dbo].[table1]
WHERE ([Id] NOT IN (select [ClientTableId] from [Entities] where [column] = '2'))
Answer the question
In order to leave comments, you need to log in
SELECT TOP 500 *
FROM [table]
WHERE NOT EXISTS ( SELECT NULL
FROM [Entities]
WHERE [column] = '2'
AND [table1].[Id] = [ClientTableId] )
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question