查询数据库死锁进程 SELECT spid,hostname ,[program_name],* FROM sysprocesses WHERE dbid=DB_ID('MobilePartnerPlatform')