Oracle Consulting Oracle Training Oracle Support Development
Home
Catalog
Oracle Books
SQL Server Books
IT Books
Job Interview Books
eBooks
Rampant Horse Books
911 Series
Pedagogue Books

Oracle Software
image
Write for Rampant
Publish with Rampant
Rampant News
Rampant Authors
Rampant Staff
 Phone
 800-766-1884
Oracle News
Oracle Forum
Oracle Tips
Articles by our Authors
Press Releases
SQL Server Books
image
image

Oracle 11g Books

Oracle tuning

Oracle training

Oracle support

Remote Oracle

STATSPACK Viewer

Privacy Policy

 

   
  SQL Server Tips by Burleson

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

 http://www.rampant-books.com/book_2005_2_sql_server_external_procedures.htm  

Linux Oracle commands syntax poster

ION Oracle tuning software

Oracle data dictionary reference poster



Oracle Forum

BC Oracle consulting support training

BC remote Oracle DBA   

 

   

 Copyright © 1996 -2017 by Burleson. All rights reserved.


Oracle® is the registered trademark of Oracle Corporation. SQL Server® is the registered trademark of Microsoft Corporation. 
Many of the designations used by computer vendors to distinguish their products are claimed as Trademarks
 

Hit Counter