Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
How Extended Stored Procedures Work

How Extended Stored Procedures Work

 

Applies To: SQL Server 2016 Preview

System_CAPS_importantImportant

This feature will be removed in a future version of Microsoft SQL Server. Do not use this feature in new development work, and modify applications that currently use this feature as soon as possible. Use CLR Integration instead.

The process by which an extended stored procedure works is:

  1. When a client executes an extended stored procedure, the request is transmitted in tabular data stream (TDS) or Simple Object Access Protocol (SOAP) format from the client application to Microsoft SQL Server.

  2. SQL Server searches for the DLL associated with the extended stored procedure, and loads the DLL if it is not already loaded.

  3. SQL Server calls the requested extended stored procedure (implemented as a function inside the DLL).

  4. The extended stored procedure passes result sets and return parameters back to the server by through the Extended Stored Procedure API.

Community Additions

ADD
Show:
© 2015 Microsoft