Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 492
  • Last Modified:

My SQL 2000 Server is missing the following extended stored procedures under the master database: sp_addextendedproc and xp_cmdshell. How do I get them back?

My SQL 2000 Server is missing the following extended stored procedures under the master database: sp_addextendedproc and xp_cmdshell.  How do I get them back?   I'm not a SQL expert, we are running Everest Accounting system that uses MS SQL 2000.  There support person is the one who determined the missing procedures.

Thanks! In advance
0
Mr_Comdata
Asked:
Mr_Comdata
  • 2
1 Solution
 
dportasCommented:
Do you have a backup of the Master database?
http://msdn.microsoft.com/en-us/library/aa173515.aspx
If not, you may have to rebuild it if you really want those procs back. Although you can recreate xp_cmdshell I don't think you can do that without sp_addextendedproc.

Firstly, are you sure sp_addextendedproc isn't there? Check it yourself. Secondly, do you actually NEED either of these procs? They are not often used and in fact xp_cmdshell is very often removed by administrators for security reasons. It may well be that your system can work just fine without either of the procs.

If you really must fix it, then consider rebuilding master. Best to get some help from someone who has done it before. Make sure you have good backups of everything and be sure you know how to get your server up and working again. If you aren't confident of doing that then find or hire some help - it may only take less than an hour to do if all goes smoothly.
http://msdn.microsoft.com/en-us/library/aa214014(SQL.80).aspx
0
 
dportasCommented:
Glad if that helped. I'm interested to know how you resolved this because I haven't heard of sp_addextendedproc being missing before. Was it really missing and did you have to rebuild master?
0

Featured Post

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now