Click here to Skip to main content
15,896,606 members
Home / Discussions / Database
   

Database

 
GeneralRe: Cross-Tabulations with multiple tables Pin
CodingLover21-Mar-11 2:20
CodingLover21-Mar-11 2:20 
GeneralRe: Cross-Tabulations with multiple tables Pin
Mycroft Holmes21-Mar-11 3:39
professionalMycroft Holmes21-Mar-11 3:39 
AnswerRe: Cross-Tabulations with multiple tables Pin
Chris Meech17-Mar-11 3:19
Chris Meech17-Mar-11 3:19 
GeneralRe: Cross-Tabulations with multiple tables Pin
CodingLover21-Mar-11 2:21
CodingLover21-Mar-11 2:21 
Questionmysql select from multiple tables / databases Pin
piticcotoc15-Mar-11 21:23
piticcotoc15-Mar-11 21:23 
AnswerRe: mysql select from multiple tables / databases Pin
Mycroft Holmes16-Mar-11 1:10
professionalMycroft Holmes16-Mar-11 1:10 
GeneralRe: mysql select from multiple tables / databases Pin
piticcotoc16-Mar-11 2:44
piticcotoc16-Mar-11 2:44 
AnswerRe: mysql select from multiple tables / databases Pin
jschell16-Mar-11 8:38
jschell16-Mar-11 8:38 
To be clear - your database is MySQL.

To use different databases in the same SQL requires that the SQL that the database uses provides a way to specify the database itself as part of the name for the table.

Far as I can tell MySQL does not allow that.

The following is the documentation for what a 'table' can be.

http://dev.mysql.com/doc/refman/5.0/en/join.html[^]

This doesn't totally eliminate the possibility since this might just not specify it. Finding the similar information for MS SQL Server is difficult.

If it doesn't allow it then you must query each database independently and then merge them together yourself.
GeneralRe: mysql select from multiple tables / databases Pin
piticcotoc16-Mar-11 20:22
piticcotoc16-Mar-11 20:22 
QuestionDatabase Directory Pin
gmhanna15-Mar-11 17:23
gmhanna15-Mar-11 17:23 
AnswerRe: Database Directory Pin
Mycroft Holmes15-Mar-11 19:23
professionalMycroft Holmes15-Mar-11 19:23 
GeneralRe: Database Directory Pin
Roger Wright15-Mar-11 19:45
professionalRoger Wright15-Mar-11 19:45 
GeneralRe: Database Directory Pin
Mycroft Holmes15-Mar-11 20:03
professionalMycroft Holmes15-Mar-11 20:03 
GeneralRe: Database Directory Pin
Roger Wright15-Mar-11 20:30
professionalRoger Wright15-Mar-11 20:30 
GeneralRe: Database Directory Pin
Jörgen Andersson15-Mar-11 20:45
professionalJörgen Andersson15-Mar-11 20:45 
AnswerRe: Database Directory Pin
Wendelius15-Mar-11 19:51
mentorWendelius15-Mar-11 19:51 
AnswerRe: Database Directory Pin
PIEBALDconsult16-Mar-11 3:02
mvePIEBALDconsult16-Mar-11 3:02 
Questionhow to make server & clients? Pin
Nabawoka15-Mar-11 7:52
Nabawoka15-Mar-11 7:52 
AnswerRe: how to make server & clients? Pin
Wendelius15-Mar-11 8:38
mentorWendelius15-Mar-11 8:38 
AnswerRe: how to make server & clients? Pin
Corporal Agarn15-Mar-11 8:59
professionalCorporal Agarn15-Mar-11 8:59 
QuestionProduct of Salary Pin
Anubhava Dimri15-Mar-11 0:14
Anubhava Dimri15-Mar-11 0:14 
AnswerRe: Product of Salary Pin
Simon_Whale15-Mar-11 0:28
Simon_Whale15-Mar-11 0:28 
GeneralRe: Product of Salary Pin
Anubhava Dimri15-Mar-11 0:48
Anubhava Dimri15-Mar-11 0:48 
GeneralRe: Product of Salary Pin
Bernhard Hiller15-Mar-11 1:07
Bernhard Hiller15-Mar-11 1:07 
GeneralRe: Product of Salary Pin
Anubhava Dimri15-Mar-11 1:11
Anubhava Dimri15-Mar-11 1:11 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.