Call now: (800) 766-1884  


 SQL Server Tips
 SQL Server Training

 SQL Server Consulting
 SQL Server Support
 SQL Server Remote DBA

 SQL Server Scripts
 Scripts Menu




  SQL Server Tips by Gama and Naughter

Registering an XP from Enterprise Manager

All the examples from this book register XP’s with TSQL but it is possible to do it from Enterprise Manager, using its nice GUI. The reason for not using the GUI in the examples is that the files with the sample code should be ready to run without assumptions of whether the user registered the XP before or not. Another reason is that it is easier to test an XP from SQL Query Analyzer by registering and de-registering over and over again by selecting the code and clicking on the run button (to execute only that portion of code) rather than using the GUI.

The XP node is under the master database and this database is visible only if the permissions for SQL Server allow system databases and objects. By right clicking on the selected SQL Server, a menu will show up with an option to edit the properties:

The option “Show system databases and system objects” must be set, obviously.
Before trying to register an XP it is necessary to copy the DLL file to the binn folder under the SQL Server folder, which is created during the installation. All the XP’s must be physically located there.

The node “Extended Stored Procedures” on the master database has all the system and registered XP’s. To add a new XP takes only two quick steps, the first one is to right click on the “Extended Stored Procedures” node and, from the menu, select “New Extended Stored Procedure”:

The above book excerpt is from:

Super SQL Server Systems
Turbocharge Database Performance with C++ External Procedures

ISBN: 0-9761573-2-2
Joseph Gama, P. J. Naughter  


Burleson Consulting Remote DB Administration







Burleson is the America's Team

Note: The pages on this site were created as a support and training reference for use by our staff of DBA consultants.  If you find it confusing, please exit this page.

Errata?  SQL Server technology is changing and we strive to update our SQL Server support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:and include the URL for the page.

Burleson Consulting
SQL Server database support


Copyright © 1996 -  2013 by Vaaltech Web Services. All rights reserved.

Hit Counter