By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,362 Members | 1,337 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,362 IT Pros & Developers. It's quick & easy.

Accessing VIEW via SELECT statement from another server

benchpolo
100+
P: 142
Server1: A
View: v_test

Server2: B

Currently, I need to create the view from Server1 and query it from Server2. Question? How do i query v_test from server B via select statement?

Thanks
Jun 19 '08 #1
Share this Question
Share on Google+
2 Replies


ck9663
Expert 2.5K+
P: 2,878
Use this and this

-- CK
Jun 19 '08 #2

P: 15
Link the remote server and then refer to the view using server2.database.dbo.view syntax.

http://www.db-pros.com
Jun 23 '08 #3

Post your reply

Sign in to post your reply or Sign up for a free account.