sp_configure
-
[MSSQL] Ad Hoc 옵션 유효화SQL Server 2021. 11. 6. 17:16
내가 잊어버리지 않으려고 쓰는 블로그 연결된 서버를 이용하여 테이블 복사를 할 경우 쿼리에는 문제가 없는데 실행이 안되는 때가 있다. 「메시지 15281, 수준 16, 상태 1, 줄 1 SQL Server blocked access to STATEMENT 'OpenRowset/OpenDatasource' of component 'Ad Hoc Distributed Queries' because this component is turned off as part of the security configuration for this server. A system administrator can enable the use of 'Ad Hoc Distributed Queries' by using sp_configu..