Helpful Information
 
 
Category: MySQL and other databases
Help On Sql

Hello all,
One quick question.
Is that posibble to retrive records from two separate databases at the same time? IF yes how? Could you please post a sample query.
Thanks

Database names can prefix table names, just like table names can prefix column names, using a dot (.) in each case:



database-name.table-name

The default database, selected with either the USE command, or upon connection to the database server, helps simplify access by allowing that database name to be omitted in queries.

It should be noted that trying to access, and certainly trying to join, two tables in different databases is probably unwise. A database should encapsulate an entire set of entity relationships. In some DBMS, database separation is strictly enforced (such as in PostgreSQL).

Mike

Though MS-Access has lots and lots of limitations as a database it offers linking of tables of different databases.

Using this feature one can use a table which is actually not a part of its database, as if it is a part of that database.










privacy (GDPR)