balor
Programmer
- Jul 24, 2000
- 74
Hi,
I want to use the values from a sp in a WHERE-Clause. Do any one have a example of how I can do that in the simplest way.
This is what I want to do:
SELECT
*
FROM
Table1
WHERE
Table1.ID IN (SELECT ID FROM sp_GetID)
I want to use the values from a sp in a WHERE-Clause. Do any one have a example of how I can do that in the simplest way.
This is what I want to do:
SELECT
*
FROM
Table1
WHERE
Table1.ID IN (SELECT ID FROM sp_GetID)