firebird icon indicating copy to clipboard operation
firebird copied to clipboard

Database Links [CORE776]

Open firebird-automations opened this issue 20 years ago • 7 comments

Submitted by: alassiry (alassiry)

Block progress on CORE644

Votes: 31

SFID: 1175710#⁠ Submitted By: alassiry

It would be great if we could link databases together, even with non-firebird databases.

for example:

create database link hr as "fb://sysdba:pass2@anotherhost/opt/firebird/hr.fdb"

create database link system as "ib://sysdba:[email protected]/C:/Interbase/system.gdb"

create database link vbulletin as "mysql://vb:vb@localhost/vbulletin"

create database link compiere as "oci://compiere:[email protected]/ORCL"

then you can: select * from table1@hr h,table2@compiere c, table3@vbulletin where h.field=c.field and v.field2=c.field2

firebird-automations avatar Apr 03 '05 03:04 firebird-automations

Modified by: @dyemanov

assignee: Vlad Horsun [ hvlad ]

firebird-automations avatar Jul 19 '06 19:07 firebird-automations

Modified by: @dyemanov

Link: This issue block progress on CORE644 [ CORE644 ]

firebird-automations avatar Jul 19 '06 19:07 firebird-automations

Commented by: Umberto Masotti (umasotti)

It would be useful, as first step, to have heterogeneous queries in SQL, DSQL and PSQL between Fb databases through the same server.

I'm aware of the whole architecture must be designed before any single step in this direction, but AFAIR the whole discussion ended without drawing a clear conclusion.

firebird-automations avatar Sep 12 '06 05:09 firebird-automations

Modified by: @dyemanov

Fix Version: 3.0.0 [ 10048 ]

firebird-automations avatar Nov 13 '07 04:11 firebird-automations

Modified by: @pcisar

Workflow: jira [ 10800 ] => Firebird [ 15227 ]

firebird-automations avatar Jan 28 '08 15:01 firebird-automations

Modified by: @dyemanov

Fix Version: 3.0.0 [ 10048 ] =>

firebird-automations avatar Oct 19 '09 19:10 firebird-automations

The standard solution is suggested to be considered instead. It's documented in the SQL:MED chapter of the SQL specification and includes foreign server/table declarations and ability to use foreign tables nearly everywhere in SQL/PSQL without explicit dblink references.

dyemanov avatar Nov 12 '24 17:11 dyemanov