INF: How Sp_OA Procedures Extension to SQL Server Is ImplementedID: Q180780
|
This article describes how the sp_OA procedures or Microsoft Visual Basic for Applications extension to SQL Server is implemented.
The sp_OA procedures (OA stands for OLE Automation) like sp_OACreate,
sp_OAMethod, and so on, allow a connection, through Transact-SQL commands,
to create and use Component Object Model (COM) based objects. The
procedures are built into SQL Server as an extended stored procedure
(XPROC), contained in Sqlole32.dll. This is another powerful example of how
SQL Server behavior can be extended with an XPROC implementation. For more
information, see the following article in the Microsoft Knowledge Base:
Q152801 : Examples of Sp_OA Procedure Use and SQLOLE.Transfer Object
Additional query words: VBA tsql
Keywords : SSrvProg
Version : WINNT:6.5
Platform : winnt
Issue type : kbinfo
Last Reviewed: April 16, 1999