sp_who and so_who2 stored procedures are used for activity monitoring in SQL Server.
In this video, I have explained the result set of these two stored procedures and what are the differences between them.
sp_who & sp_who2 doesn’t provide information on currently running SQL command such as start execution time, query execution duration, WAIT info and other information.
Adam Machanic (a Microsoft MVP) developed a stored procedure called “sp_whoisactive” to fill the gap between the actual needs of DBAs and the currently provided stored procedures (sp_who and sp_who2).