LoginSignup
0
0

More than 5 years have passed since last update.

get the data from Linked Server

Posted at

最近Linked Serverを使用する事がありその際の情報共有です。
以外に接続方法が分からない人は下記をお試しください。
※事前に下記URLよりLinked Serverの設定済の方対象。
linked serverの設定は大体下記のURLでOK
URL:
http://learnsqlwithbru.com/2012/01/06/create-linked-server-to-connect-to-another-sql-server-part-i/
型:
select *
from [server IP].[DB名].[dbo].[table名]
例:
selecg * from [192.168.184.111].[DB].[dbo].[TableA]
ポイントは[]を外さないこと。
dboの箇所はそのまま使用。
変更箇所は、server IP,DB名,テーブル名の3カ所

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0