How Extended Stored Procedures Work
重要提示: |
---|
后续版本的 Microsoft SQL Server 将删除该功能。请不要在新的开发工作中使用该功能,并尽快修改当前还在使用该功能的应用程序。 Use CLR Integration instead. |
The process by which an extended stored procedure works is:
- 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.
- SQL Server searches for the DLL associated with the extended stored procedure, and loads the DLL if it is not already loaded.
- SQL Server calls the requested extended stored procedure (implemented as a function inside the DLL).
- The extended stored procedure passes result sets and return parameters back to the server by through the Extended Stored Procedure API.
请参阅
其他资源
Database Engine Extended Stored Procedure Programming