Re: Newbie Q: How to Combine data from two tables from two different databases
- From: "Tibor Karaszi" <tibor_please.no.email_karaszi@xxxxxxxxxxxxxxxxxx>
- Date: Tue, 4 Jul 2006 08:36:18 +0200
SELECT ... FROM DB1.dbo.tblname
--
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Michelle" <nospam_mbytwo-news@xxxxxxxxxxxx> wrote in message
news:12ak1vpj5epfn00@xxxxxxxxxxxxxxxxxxxxx
Hi
I have two separate SQL server databases: DB1 and DB2
Both databases contains similar tables and I have to combine some of the like tables together.
If I create an INSERT INTO statement, how do I reference the DB1 and DB2 specific tables?
I will be appreciative for responses or links to areas that I can further read up.
TIA
Michelle
.
- Follow-Ups:
- References:
- Prev by Date: Newbie Q: How to Combine data from two tables from two different databases
- Next by Date: Re: Newbie Q: How to Combine data from two tables from two different databases
- Previous by thread: Newbie Q: How to Combine data from two tables from two different databases
- Next by thread: Re: Newbie Q: How to Combine data from two tables from two different databases
- Index(es):
Relevant Pages
|
Loading