|
-
Apr 5th, 2000, 06:52 AM
#1
Thread Starter
Member
I have several places where I used the subquery like this
in my store procedure
SELECT *
FROM MASTER_NEW
WHERE ProductCode NOT IN
(SELECT ProductCode FROM MAPSDATA)
I am going to use the subquery
FROM MASTER_NEW
WHERE ProductCode NOT IN
(SELECT ProductCode FROM MAPSDATA)
in serveral other places in the stored procedure, like
select count(*)
FROM MASTER_NEW
WHERE ProductCode NOT IN
(SELECT ProductCode FROM MAPSDATA)
Is there any ways that I can save the set once and use over and over again to save
some time?
Thanks a lot. Any tips will greatly appreciated
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|