SQL启用 'Ad Hoc Distributed Queries'
来源:互联网 发布:nodejs和java接口通信 编辑:程序博客网 时间:2024/05/22 02:25
启用 'Ad Hoc Distributed Queries'
SQL Server 阻止了对组件 'Ad Hoc Distributed Queries' 的 STATEMENT'OpenRowset/OpenDatasource' 的访问,因为此组件已作为此服务器安全配置的一部分而被关闭。系统管理员可以通过使用 sp_configure 启用 'Ad Hoc Distributed Queries'。
EXEC sp_configure 'show advanced options', 1
GO
RECONFIGURE
GO
EXEC sp_configure 'Ad Hoc Distributed Queries', 1
GO
RECONFIGURE
GO
資料二:
在Sql Server2005导入数据的时候出现的了一个问题:
insert into (test)values(test);
结果提示:
SQL Server 阻止了对组件 'Ad Hoc Distributed Queries' 的 STATEMENT'OpenRowset/OpenDatasource' 的访问,因为此组件已作为此服务器安全配置的一部分而被关闭。系统管理员可以通过使用 sp_configure 启用 'Ad Hoc Distributed Queries'。有关启用 'Ad Hoc Distributed Queries' 的详细信息,请参阅 SQL Server 联机丛书中的 "外围应用配置器".
查询相关方法,找到解决办法
启用Ad Hoc Distributed Queries:
exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure
使用完成后,关闭Ad Hoc Distributed Queries:
exec sp_configure 'Ad Hoc Distributed Queries',0
reconfigure
exec sp_configure 'show advanced options',0
reconfigure
上一篇:SQL2005备份
下一篇:sql2000与sql2005数据互相导入导出 MS SQL
- ABAP文章索引
- 数据库课程设计报告(仓库管理...
- 拼音汉字对照表
- sql isnull函数的使用
- 数据挖掘电子书下载
- 文件去重,如何解决Hash冲突的...
- 配置CI框架的rewrite 老是出...
- CentOS下,PHP如何实现SSH2扩...
- 做数据统计有没有比较好的PHP...
- C++ 拷贝一个对象是什么意思...
chinaunix网友2010-08-24 08:56:10
Download More than 1000 free IT eBooks: http://free-ebooks.appspot.com
- SQL启用 'Ad Hoc Distributed Queries'
- 启用 'Ad Hoc Distributed Queries'
- 启用 'Ad Hoc Distributed Queries'
- SQL 语句启用组件Ad Hoc Distributed Queries
- SQL 2005启用组件Ad Hoc Distributed Queries
- SQL 2005启用组件Ad Hoc Distributed Queries收藏
- SQL Server如何启用Ad Hoc Distributed Queries?
- SQL 2008启用组件Ad Hoc Distributed Queries
- 启用Ad Hoc Distributed Queries的方法
- 启用 Ad Hoc Distributed Queries 的方法
- 使用 sp_configure 启用 'Ad Hoc Distributed Queries'
- 使用 sp_configure 启用 'Ad Hoc Distributed Queries'
- 启用MSSQL 'Ad Hoc Distributed Queries'
- 使用sp_configure启用 'Ad Hoc Distributed Queries'
- 启用Ad Hoc Distributed Queries的方法
- 使用sp_configure启用 'Ad Hoc Distributed Queries'
- Ad Hoc Distributed Queries
- Ad Hoc Distributed Queries
- 基于年纪和成本(Age & Cost)的缓存替换(cache replacement)机制
- Linux 發送信息方法
- Vmstat 性能監控
- 压缩sqlserver log日志文件(db_log.dbf)的大小
- SQL2005备份
- SQL启用 'Ad Hoc Distributed Queries'
- sql2000与sql2005数据互相导入导出 MS SQL
- 磁盘IO性能监控(Linux 和 Windows)
- SQL Server 2008删除或压缩数据库日志
- 在Redhat5中安装Symantec Backup Exec Agent实例
- 系统图标变小的更改
- AD帳號登陸時間查詢工具
- Linux下查詢raid信息
- Ontape -r 恢复总结(轉)