Събитие
31.03, 23 ч. - 2.04, 23 ч.
Най-голямото събитие за обучение по SQL, Fabric и Power BI. 31 март – 2 април. Използвайте код FABINSIDER, за да спестите $400.
Регистрирайте се днесТози браузър вече не се поддържа.
Надстройте до Microsoft Edge, за да се възползвате от най-новите функции, актуализации на защитата и техническа поддръжка.
Applies to:
SQL Server
Use the Ole Automation Procedures option to specify whether OLE Automation objects can be instantiated within Transact-SQL batches. This option can also be configured using the Policy-Based Management or the sp_configure stored procedure. For more information, see Surface Area Configuration.
The Ole Automation Procedures option can be set to the following values.
0
OLE Automation Procedures are disabled. Default for new instances of SQL Server.
1
OLE Automation Procedures are enabled.
When OLE Automation Procedures are enabled, a call to sp_OACreate will start the OLE shared execution environment.
The current value of the Ole Automation Procedures option can be viewed and changed by using the sp_configure system stored procedure.
The following example shows how to view the current setting of OLE Automation procedures.
EXEC sp_configure 'Ole Automation Procedures';
GO
The following example shows how to enable OLE Automation procedures.
sp_configure 'show advanced options', 1;
GO
RECONFIGURE;
GO
sp_configure 'Ole Automation Procedures', 1;
GO
RECONFIGURE;
GO
sp_configure (Transact-SQL)
RECONFIGURE (Transact-SQL)
Surface Area Configuration
Server Configuration Options (SQL Server)
Събитие
31.03, 23 ч. - 2.04, 23 ч.
Най-голямото събитие за обучение по SQL, Fabric и Power BI. 31 март – 2 април. Използвайте код FABINSIDER, за да спестите $400.
Регистрирайте се днесОбучение
Модул
Configure databases for optimal performance - Training
Configure databases for optimal performance
Документация
sp_OACreate (Transact-SQL) - SQL Server
sp_OACreate creates an instance of an OLE object.
OLE Automation stored procedures (Transact-SQL) - SQL Server
OLE Automation stored procedures (Transact-SQL)
sp_OAMethod (Transact-SQL) - SQL Server
sp_OAMethod calls a method of an OLE object.