zoukankan      html  css  js  c++  java
  • opendatasource 在2005中的设置

    EXEC sp_configure 'show advanced options',1 
    GO 
    RECONFIGURE GO 
    EXEC sp_configure 'Ad Hoc Distributed Queries', 1 
    GO 
    RECONFIGURE GO
     RECONFIGURE 
    insert into OPENDATASOURCE(
             'SQLOLEDB',
             'Data Source=192.168.0.208;User ID=sa;Password=soft'
             ).zjg_ol_con.dbo.v_ep_news(class_id
          ,news_title
          ,ins_datetime
          ,edi_datetime
          ,news_content)
    select class_id
          ,news_title
          ,ins_datetime
          ,edi_datetime
          ,news_content 
    from v_ep_news

    -- 192.168.0.208的zjg_ol_con.dbo.v_ep_news表必须创建好

     
     
  • 相关阅读:
    Codeforces 1072
    XDOJ 1046
    BZOJ 1002
    BZOJ 1001
    BZOJ 1500/Luogu 2042
    nowcoder 211B
    BZOJ 3224
    BZOJ 1150
    POJ 2442
    二叉堆和二叉搜索树进阶
  • 原文地址:https://www.cnblogs.com/kuailewangzi1212/p/2443050.html
Copyright © 2011-2022 走看看