1234567891011121314151617181920212223242526272829303132 |
- --开启 Ole Automation Procedures
- sp_configure 'show advanced options', 1;
- GO
- RECONFIGURE;
- GO
- sp_configure 'Ole Automation Procedures', 1;
- GO
- RECONFIGURE;
- GO
- EXEC sp_configure 'Ole Automation Procedures';
- GO
- --关闭 Ole Automation Procedures
- sp_configure 'show advanced options', 1;
- GO
- RECONFIGURE;
- GO
- sp_configure 'Ole Automation Procedures', 1;
- GO
- RECONFIGURE;
- GO
- EXEC sp_configure 'Ole Automation Procedures';
- GO
- --关闭高级选项
- sp_configure 'show advanced options', 0;
- GO
- RECONFIGURE;
- GO
|