Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
The list of current users
Message
From
21/02/2003 04:46:27
 
 
General information
Forum:
Microsoft SQL Server
Category:
Other
Miscellaneous
Thread ID:
00747552
Message ID:
00755999
Views:
20
This message has been marked as the solution to the initial question of the thread.
Hi!

Use "insert" command to insert result of SP into temporary table. Then you can query from temporary table.

>>Use sp_who and sp_who2 Stored Procedures, more help on BOL
>
>Sp_Who works.
>But to fully exploin the possibilities of sp_who i have to issue something like:
>
>select * from (exec sp_who) where dbname='mydb'
>
>Obviously it does not work.
>How would you do that?
>Thanks.
>Kamil
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Reply
Map
View

Click here to load this message in the networking platform