bakershawnm
Programmer
Hello all,
I currently have 2 sql servers running. Both are 2005. I have some active live information on server1 and some on server2 (I jumped the gun on porting my stuff over before the other DBM got his over). I need to connect some views on server2 to tables/views on server1. I have both servers connected in my SSMS.
First, is it even possible to reference another server from within a view? For example a view on server2 would look like this, "Select * from <server1>.<somedb>.dbo.<sometable/view>"
Second, how would I reference it?
Thanks
I currently have 2 sql servers running. Both are 2005. I have some active live information on server1 and some on server2 (I jumped the gun on porting my stuff over before the other DBM got his over). I need to connect some views on server2 to tables/views on server1. I have both servers connected in my SSMS.
First, is it even possible to reference another server from within a view? For example a view on server2 would look like this, "Select * from <server1>.<somedb>.dbo.<sometable/view>"
Second, how would I reference it?
Thanks