August 21, 2015 at 6:41 am
HI All ,
I Am faing a problem while calling the code using a link server .The query is able to fetch the datawhen we modify the query with in instead of notin in the select statement of the query .Please assist.
August 21, 2015 at 6:43 am
sammy10691 (8/21/2015)
HI All ,I Am faing a problem while calling the code using a link server .The query is able to fetch the datawhen we modify the query with in instead of notin in the select statement of the query .Please assist.
Without seeing the query? Are you serious?
For fast, accurate and documented assistance in answering your questions, please read this article.
Understanding and using APPLY, (I) and (II) Paul White
Hidden RBAR: Triangular Joins / The "Numbers" or "Tally" Table: What it is and how it replaces a loop Jeff Moden
August 21, 2015 at 6:52 am
the [IN]/[NOT IN] (SELECT SOMECOLUMN FROM SECRETTABLE) has to explicitly exclude nulls.
NOT IN(SELECT SOMECOLUMN FROM SECRETTABLE WHERE SOMECOLUMN IS NOT NULL)
Lowell
Viewing 3 posts - 1 through 3 (of 3 total)
You must be logged in to reply to this topic. Login to reply