J
joe smith
I have the following query that performs very slowly if the inner select
statement returns a large result. Is there another way to write this query
that would perform better. Thanks.
SELECT [Table1].[MyID] as [ID]
FROM [Table1]
WHERE [Table1].[ID] NOT IN (SELECT [Table2].[MyID] FROM [Table2] WHERE
[Table2].[ID] = 15)
Joe
statement returns a large result. Is there another way to write this query
that would perform better. Thanks.
SELECT [Table1].[MyID] as [ID]
FROM [Table1]
WHERE [Table1].[ID] NOT IN (SELECT [Table2].[MyID] FROM [Table2] WHERE
[Table2].[ID] = 15)
Joe