zoukankan      html  css  js  c++  java
  • 跨服务器修改表同时按照顺序关联两个没有关系的表

    需要注意的就是 里面的排序的问题 同时常需要打开

    openrowset

    想用openrowset查询远程数据库,结果提示SQL Server 阻止了对组件 /'Ad Hoc Distributed Queries/' 的访问错误,在网上搜索了一下,找到解决方法:

    启用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

  • 相关阅读:
    nodejs设置NODE_ENV环境变量(2)
    CentOS6.8系统安装Node
    mongodb3.X权限配置
    在centos7中添加一个新用户并授权
    CentOS 7.0启用iptables防火墙
    Nginx编译参数大全 configure参数中文详解
    Linux(centos)系统各个目录的作用详解
    CentOS 6.5_X64下安装MongoDB数据库
    vue-cli 发布(译)
    Linux下的crontab定时执行任务命令详解
  • 原文地址:https://www.cnblogs.com/dingdingmao/p/3146550.html
Copyright © 2011-2022 走看看