Re: How query between databases
- From: "Mark Rae [MVP]" <mark@xxxxxxxxxxxxxxxxx>
- Date: Tue, 10 Jun 2008 15:29:50 +0100
"Cirene" <cirene@xxxxxxxxxxx> wrote in message news:%23FARSSwyIHA.4848@xxxxxxxxxxxxxxxxxxxxxxx
I have an Employees table in Db1 and a Vacations table in Db2 (SQL Server). Vacations is linked to Employees by EmployeeId.
In SQL how would I join the 2 tables, even though they are from 2 different dbs?
Assuming that the same credentials (userid & password) will work for both:
http://www.developer.com/db/article.php/3613301
--
Mark Rae
ASP.NET MVP
http://www.markrae.net
.
- References:
- How query between databases
- From: Cirene
- How query between databases
- Prev by Date: Re: Website starts with directorly listing instead of displaying default page
- Next by Date: Re: Test environment for ActiveDirectoryMembershipProvider
- Previous by thread: How query between databases
- Next by thread: Website starts with directorly listing instead of displaying default page
- Index(es):
Relevant Pages
|