Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

21 lines
762 B

-- Script: uddi.v2.xp.uninstall.sql
-- Author: [email protected]
-- Description: Un-registers extended stored procedures needed by UDDI Services. This script must be run against the master
-- database.
-- Note: This file is best viewed and edited with a tab width of 2.
-- Tell SQL Server to let go of the DLLs so we can delete them later
DBCC xp_reset_key(FREE)
GO
DBCC xp_recalculate_statistics(FREE)
GO
-- Remove the extended stored procedures
IF EXISTS (SELECT * FROM sysobjects where name = 'xp_reset_key' and type = 'X')
EXEC sp_dropextendedproc 'xp_reset_key'
GO
IF EXISTS (SELECT * FROM sysobjects where name= 'xp_recalculate_statistics' and type = 'X')
EXEC sp_dropextendedproc 'xp_recalculate_statistics'
GO