Solved

join seperate databases

Posted on 2015-02-09
2
87 Views
Last Modified: 2015-02-09
How do you join tables that are NOT in the same database (2 different databases)?
0
Comment
Question by:MBHEY131
2 Comments
 
LVL 32

Accepted Solution

by:
Daniel Wilson earned 500 total points
ID: 40599954
Same server or different?  If different servers ... I don't think you can do that.

If it's the same server, include the DB name with the tablenames.

select * from
DbAlpaha.CoolTable C Inner Join DbBeta.WeirdTable W on C.ID = W.ID;

Open in new window

0
 

Author Closing Comment

by:MBHEY131
ID: 40600048
Same Server
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Can 16Mbps internet speed work on this line ? 4 77
Cookies and new tab 3 38
MySQL Grouping 2 42
How many transactions can mysql handle? 3 32
Touch screen experience for personal computers, improved security, and performance have made Windows 8 a great hit amongst users. If you are an Outlook user and thinking of or have upgraded to Win 8 or 8.1, then here are some guidelines that may pro…
Does the idea of dealing with bits scare or confuse you? Does it seem like a waste of time in an age where we all have terabytes of storage? If so, you're missing out on one of the core tools in every professional programmer's toolbox. Learn how to …
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
In this Experts Exchange video Micro Tutorial, I'm going to show how small business owners who use Google Apps can save money by setting up what is called a catch-all email address in their Gmail accounts. By using the catch-all feature, small busin…

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question