Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
AskSQLTeam
Ask SQLTeam Question
0 Posts |
Posted - 2002-05-14 : 10:50:21
|
| Stephen writes "I have a stored procedure that returns records in a single column.I want to use this stored procedure in the "WHERE IN" clause of a query:e.g.SELECT * FROM table WHERE col IN (EXEC SP ..." |
|
|
Page47
Master Smack Fu Yak Hacker
2878 Posts |
Posted - 2002-05-14 : 11:13:52
|
create table #execholder (<tabledef>)insert #execholderexec sp_dotdotdotselect *from <table>inner join #execholderon <table>.col = #execholder.<col> <O> |
 |
|
|
|
|
|