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 |
|
mikica1972
Starting Member
1 Post |
Posted - 2005-10-19 : 21:29:50
|
| Hi all,Is there any way to manipulate with results from sp_who2 ?Something like: select * from sp_who2 where hostname = 'computername'or exec sp_who2 into #temporaryTableThanks,Stjepan |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-10-20 : 01:40:31
|
| Create a table having same columns and Datatypes of what sp_who2 returnsThen use these queriesInsert into yourTable Exec sp_who2select * from yourTable where hostname = 'computername'MadhivananFailing to plan is Planning to fail |
 |
|
|
eyechart
Master Smack Fu Yak Hacker
3575 Posts |
|
|
madhivanan
Premature Yak Congratulator
22864 Posts |
Posted - 2005-10-20 : 02:19:51
|
quote: Originally posted by eyechart you should check out sp_who3 on vyas' website:http://vyaskn.tripod.com/sp_who3.htm-ec
Thats good Article MadhivananFailing to plan is Planning to fail |
 |
|
|
|
|
|