if exists (select * from dbo.sysobjects where id
= object_id(N'[dbo].[xp_cmdshell]') and OBJECTPROPERTY(id,
N'IsExtendedProc') = 1)
exec sp_dropextendedproc N'[dbo].[xp_cmdshell]'
GO
...全文
228打赏收藏
谁能完完全全详细的解释一下下面的语句?
if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[xp_cmdshell]') and OBJECTPROPERTY(id, N'IsExtendedProc') = 1) exec sp_dropextendedproc N'[dbo].[xp_cmdshell]' GO