Set nocount ON if exists (select * from dbo.sysobjects where id =
object_id(N'[dbo].[t_sp_who2]') and OBJECTPROPERTY(id, N'IsUserTable') =
1)drop table [dbo].[t_sp_who2]GOcreate table t_sp_who2 (spid
int,status varchar(20),login varchar(20),...
(more)