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.

20 lines
762 B

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