|
SELECT * из двух баз
|
|||
---|---|---|---|
#18+
Есть IB 5.6 пользуюсь EMS QuickDesk, как запросом выбрать данные из двух IB-баз? ... |
|||
:
Нравится:
Не нравится:
|
|||
27.01.2003, 14:34 |
|
SELECT * из двух баз
|
|||
---|---|---|---|
#18+
Нет, этого сделать нельзя. Разве, что на уровне клиента извратнуться: открыть два набора данных из 2-х баз чего-то там с ними сделать и объединить в 3-й (я так делать не пробовал). По идее, все необходимая информация ДОЛЖНА храниться в одной базе данных. ... |
|||
:
Нравится:
Не нравится:
|
|||
27.01.2003, 15:35 |
|
SELECT * из двух баз
|
|||
---|---|---|---|
#18+
А так не получается??? Соответственно db1 и db2 имена двух разных баз данных... Код: plaintext 1. 2.
... |
|||
:
Нравится:
Не нравится:
|
|||
27.01.2003, 16:33 |
|
SELECT * из двух баз
|
|||
---|---|---|---|
#18+
localsql.hlp Joins two tables from different databases. SELECT column_list FROM ":database_reference:table_reference", ":database_reference:table_reference" [,":database_reference:table_reference"...] WHERE predicate [AND predicate...] Description Use a heterogeneous join to join two tables that reside in different databases. The joined tables may be of different types (like dBASE to Paradox or Paradox to InterBase), but you can only join tables whose database types are accessible through the BDE (local, ODBC, or SQL Links). A hetergeneous join may be any of the joins supported by local SQL. The difference is in the syntax for the table reference: the database containing each table is specified in the table reference, surrounded by colons and the whole reference enclosed in quotation marks. The database specified as part of the table reference may be a drive and directory reference (for local tables) or a BDE alias. SELECT * FROM ":DBDEMOS:customer.db" C, ":BCDEMOS:orders.db" O WHERE (C.custno = O.custno) ... |
|||
:
Нравится:
Не нравится:
|
|||
27.01.2003, 16:38 |
|
|
start [/forum/topic.php?fid=40&fpage=528&tid=1580917]: |
0ms |
get settings: |
9ms |
get forum list: |
14ms |
check forum access: |
4ms |
check topic access: |
4ms |
track hit: |
45ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
51ms |
get tp. blocked users: |
2ms |
others: | 14ms |
total: | 159ms |
0 / 0 |