共用方式為


How Extended Stored Procedures Work

ms164743.note(zh-tw,SQL.90).gif重要事項:
未來的 Microsoft SQL Server 發行版本將不再提供此功能。請勿在新的開發工作中使用此功能,並且儘速修改使用此功能的應用程式。 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.

請參閱

其他資源

Database Engine Extended Stored Procedure Programming

說明及資訊

取得 SQL Server 2005 協助