Database Engine Extended Stored Procedures - Reference

APPLIES TO: yesSQL Server noAzure SQL Database noAzure SQL Data Warehouse noParallel Data Warehouse


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.


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 srv_pfield
srv_convert srv_pfieldex
srv_describe srv_rpcdb
srv_getbindtoken srv_rpcname
srv_got_attention srv_rpcnumber
srv_message_handler srv_rpcowner
srv_paramdata srv_rpcparams
srv_paraminfo srv_senddone
srv_paramlen srv_sendmsg
srv_parammaxlen srv_sendrow
srv_paramname srv_setcoldata
srv_paramnumber srv_setcollen
srv_paramset srv_setutype
srv_paramsetoutput srv_willconvert
srv_paramstatus srv_wsendmsg