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 - 2004-06-07 : 12:08:29
|
| Pallavi writes "The stored proc fires a select and gets data into a cursor (eg. all emp IDs)now i want to use the data retrieved from this cursor to fetch data into another cursor (Details for all empIds)i.e :The Ouput of 1 cursor is to be used in the where clause of another" |
|
|
X002548
Not Just a Number
15586 Posts |
Posted - 2004-06-07 : 12:21:23
|
| Oh yeah...nested cursors....that'll fly....Can you tell us what you really want to do?Brett8-) |
 |
|
|
derrickleggett
Pointy Haired Yak DBA
4184 Posts |
Posted - 2004-06-07 : 12:21:43
|
| Buy a SQL Book. The Guru's Guide to Transact-SQL or Teach Yourself Transact-SQL in 21 days would be a good place to start. You don't want to use cursors this way. It will be sloooooooooooooooow!!!!!!!MeanOldDBAderrickleggett@hotmail.comWhen life gives you a lemon, fire the DBA. |
 |
|
|
|
|
|