[dba-SQLServer]SP question

Michael Brosdorf michael.broesdorf at web.de
Wed Apr 16 09:47:42 CDT 2003


Dear group,

is it possible to use the result set of a stored procedure in the where
clause of another SQL-Statement?

Something like:

Select * from MyTable where My_ID in (spMySP) (This does not work...)

The SP returns a couple of ID's (only one column)


TIA,

Michael



More information about the dba-SQLServer mailing list