Extended Stored Procedures Programmer's Reference

Important

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 Microsoft Extended Stored Procedure API, previously part of Open Data Services, provides a server-based application programming interface (API) for extending Microsoft SQL Server functionality. The API consists of C and C++ functions and macros used to build applications.

With the emergence of newer and more powerful technologies such as CLR integration, the need for extended stored procedures has largely been replaced.

Security noteSecurity Note

You should thoroughly review the source code of extended stored procedures, and you should test the compiled DLLs before you install them on a production server. For information about security review and testing, see this Microsoft Web site.

In This Section

Data Types (Extended Stored Procedure API)

srv_pfield (Extended Stored Procedure API)

srv_alloc (Extended Stored Procedure API)

srv_revert_to_self (Extended Stored Procedure API)

srv_convert (Extended Stored Procedure API)

srv_pfieldex (Extended Stored Procedure API)

srv_describe (Extended Stored Procedure API)

srv_rpcdb (Extended Stored Procedure API)

srv_getbindtoken (Extended Stored Procedure API)

srv_rpcname (Extended Stored Procedure API)

srv_got_attention (Extended Stored Procedure API)

srv_rpcnumber (Extended Stored Procedure API)

srv_impersonate_client (Extended Stored Procedure API)

srv_rpcoptions (Extended Stored Procedure API)

srv_message_handler (Extended Stored Procedure API)

srv_rpcowner (Extended Stored Procedure API)

srv_paramdata (Extended Stored Procedure API)

srv_rpcparams (Extended Stored Procedure API)

srv_paraminfo (Extended Stored Procedure API)

srv_senddone (Extended Stored Procedure API)

srv_paramlen (Extended Stored Procedure API)

srv_sendmsg (Extended Stored Procedure API)

srv_parammaxlen (Extended Stored Procedure API)

srv_sendrow (Extended Stored Procedure API)

srv_paramname (Extended Stored Procedure API)

srv_setcoldata (Extended Stored Procedure API)

srv_paramnumber (Extended Stored Procedure API)

srv_setcollen (Extended Stored Procedure API)

srv_paramset (Extended Stored Procedure API)

srv_setutype (Extended Stored Procedure API)

srv_paramsetoutput (Extended Stored Procedure API)

srv_willconvert (Extended Stored Procedure API)

srv_paramstatus (Extended Stored Procedure API)

srv_wsendmsg (Extended Stored Procedure API)

srv_paramtype (Extended Stored Procedure API)