惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
博客园 - 司徒正美
Blog — PlanetScale
Blog — PlanetScale
博客园 - 聂微东
月光博客
月光博客
量子位
大猫的无限游戏
大猫的无限游戏
Stack Overflow Blog
Stack Overflow Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
The Cloudflare Blog
P
Proofpoint News Feed
B
Blog RSS Feed
美团技术团队
腾讯CDC
C
Check Point Blog
Engineering at Meta
Engineering at Meta
F
Fortinet All Blogs
N
Netflix TechBlog - Medium
Recent Announcements
Recent Announcements
J
Java Code Geeks
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
宝玉的分享
宝玉的分享

博客园 - 望穿秋水

EF表查询列表只查询其中几列的写法 Vue 设置为history模式之后,刷新页面报404错误的解决办法 前端页面部署之后刷新页面之后出现HTTP 错误 404.0 - Not Found错误问题解决 大数据开发规范 IIS中SSL证书过期更新的问题 .NET安装运行环境及IIS网站部署相关问题汇总 SSAS问题汇总 sqlserver安装之后,SSMS远程连接连接不上的问题解决:请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接 数据治理包括哪些方面 VUE hash路由和history路由的区别 WinForm的EXE破解(基于IL修改)【转】 C# 反编译破解软件方法【转】 vue项目启动报错 spawn cmd ENOENT errno TortoiseGit提交每次都需要输入账号密码的解决办法 spark mllib算法思想总结[转] MLlib算法简介 VS2019 Git连接源代码报错问题:cannot spawn askpass: No such file or directory could not read Username for ‘https://github.com‘: terminal prompts disabled 永久关闭Windows10自动更新 [转]人生就是不断试错的经历,只有见过最糟的经历,才能学会享受美好
[MSSQL]开启/关闭Ad Hoc Distributed Queries组件
望穿秋水 · 2023-09-05 · via 博客园 - 望穿秋水

SQL Server 阻止了对组件“Ad Hoc Distributed Queries”的 STATEMENT“OpenRowset/OpenDatasource”的访问

开启组件:

exec sp_configure 'show advanced options',1
reconfigure
exec sp_configure 'Ad Hoc Distributed Queries',1
reconfigure

关闭组件:

exec sp_configure 'Ad Hoc Distributed Queries',0
reconfigure
exec sp_configure 'show advanced options',0
reconfigure

--导入用户信息
truncate table dbo.CustomerInfo
insert into RedPacket.dbo.CustomerInfo
select * from opendatasource('sqloledb','server=xxx.14.xxx.xxx;uid=sa;pwd=123;database=ma').ma.dbo.CustomerInfo