List of articles   Choose language


Referencing into several databases in one request


Prefix

One request can address to several databases simultaneously, if location of object is specified by prefix, which is before name of object through colon. Prefix can be

System table of nicknames

Each database stores all nicknames, known for its users, in system table 'stn' (System Table of Nicknames) for execution of stored procedures and timers.

stn
LocalUserID RemoteDbNick RemoteDbDns DID
101 db1 database.remote.com 31
101 db2   33
105 db1 data.storage.com 34

Replication

After all said, replication of databases by branded programs loss all sense - always it's possible to make it by extension of SQL, described above.



Dmitry Turin



List of articles   Choose language