Join Remote database table with my Local database table in SQL Server 2012

痞子三分冷 提交于 2019-12-13 05:42:56

问题


I am using SQL Server 2012 Management Studio. I tried to connect to a remote database. I was able to connect successfully but i was restricted to access only for four views. I tried the following steps to join the table with my local table.

  1. I tried to use linkedserver but I was un-able to add the remote server due to permission restriction so i was un-able to modify the SP_LinkedServer.

  2. I tried to copy the table but i was un-able to copy it to my local database.

I am planning to compare my local table with my remote table. I am new to SQL Server, curious to learn. Please correct me if have a wrong understanding.

I appreciate your kind help


回答1:


You should try using the SQL Server Import and Export Wizard:

http://msdn.microsoft.com/en-us/library/ms140052.aspx

If possible you could export the data from one server and import it to the other using the wizard.

If this is not possible then you could export to a file from one server, and then import from a file onto the other.



来源:https://stackoverflow.com/questions/17701273/join-remote-database-table-with-my-local-database-table-in-sql-server-2012

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!