Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
beedeep
Starting Member
2 Posts |
Posted - 2004-11-19 : 06:14:23
|
| Hello All,I need to select data from 2 different databases sitting on 2 different servers. and then update the other one depending on some criteria.for eg. i need to do somethig like this.SELECT A.*,B.* FROM Server1...Database1..[dbo].TB_Company AINNER JOINServer2...Database2..[dbo].TB_Company.Account BON A.Account = B.Accountis this possible ??i know it is possible if it is on the same server but not very sure if it is on another server.any help will be very helpfulMany thanksDeep |
|
|
spirit1
Cybernetic Yak Master
11752 Posts |
Posted - 2004-11-19 : 06:27:32
|
look up linked serverver in SQL help = Books OnLine = BOLand also check 4 part naming: serverName.dbName.ownerName.tableNameGo with the flow & have fun! Else fight the flow |
 |
|
|
beedeep
Starting Member
2 Posts |
Posted - 2004-11-19 : 06:43:33
|
| Many Thanks spirit1Got my problem solved. but had to replicated that locally on my machine as i didn't have permission to excute the system procedure on our shared hosting.ThanksDeepesh |
 |
|
|
|
|
|