Site Sponsored By: SQLDSC - SQL Server Desired State Configuration
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.
HiI've fetch data between two databases. How can i create Join between two databases.Joins between two databases in MS-SQL server 2000.Ex. Databse Table Fields------------------------------------------------DB1 T1 ID,Name-------------------------------------------------DB2 T2 ID,Name,JobType-------------------------------------------------Relation between. condition > T1.id=T2.id
"
mwjdavidson
Aged Yak Warrior
735 Posts
Posted - 2007-02-21 : 08:04:34
[code]SELECT ...FROM DB1.dbo.T1 AS T1JOIN DB2.dbo.T2 AS T2ON T1.ID = T2.ID[/code]Mark