INCLUDE (Project Definition)
- Last UpdatedFeb 22, 2022
- 1 minute read
Function:
Includes Databases (DBs) from another Project in the current MDB.
Note:
The external DBs can only be accessed in read-only mode.
In a Global Project, the administrator can only include DBs at the Hub.
Description:
Included DBs are also known as foreign DBs. They are often used for sharing Catalogues.
When creating a new Project that is required to share DBs from other Projects, there are two important considerations:
-
Teams must exist for all DBs that are to be shared.
-
DBs in the source Project that are to be shared should not be given a DB Number that will clash with a DB Number that already exists in the destination Project.
Examples:
|
INCLUDE DB MASTER/PIPECATA FROM PROJ MAS USER USERA/A The DB MASTER/PIPECATA from Project MAS will be included in the current Project. The User/password (USERA/A in this example) must be a free User in the source Project. INCLUDE DB MASTER/PIPECATA FROM PROJ MASTER USER FRED. BLOGGS1/B Similar using long Project identifier and non-alphabetic username. |
Command Syntax:
|
>--- INCLude DB dbname FROM Project Projectid USer username/password ---> |
Related Commands:
COPY