The difference between external tables and standard tables is the following: on deleting an external table, the physical database object referenced by the external table is not deleted. Therefore, a standard table can be a source for building several external tables.
An external table is created if it is necessary to create new repository tables based on already existing server tables.
To create an external table in the object navigator:
In the web application click the
Create button in the main menu and select the object type on the New Object side panel.
In the desktop application:
Execute one of the operations:
Select the Create > Table context menu item.
Click the New Object button in the Create group on the Home ribbon tab and select the Table item.
Select a type of object to be created on the Object Type page.
After executing the operations determine settings on the pages of the external table wizard:
Basic Settings/Basic Properties. The page is used to set object name, identifier and comment.
Parameters. The page is used to create a list of parameters. The page is available only in the desktop application.
Properties/Select Database. The page is used to specify the database, which tables are used to create external tables.
Select Tables. The page is used to specify the tables, which are used to create external tables in the repository. The page is available only in the desktop application.
In the web application, when opening the external table wizard the additional pages are displayed:
Fields. The page is used to create main external table field structure.
Indexes. The page is used to create a list of indexes, which will be used to check data uniqueness. The setup is identical to table setup.
Constraints. The page is used to create a list of constraints, which will be used to automatically control entered data. The setup is identical to table setup.
Triggers. The page is used to create a list of triggers, which execute certain operations upon specified events. The setup is identical to table setup.
To save settings in the external table wizard:
In the web application:
Click the Save button.
Select the Save and Close item in the drop-down menu of the Save button. After this the specified settings are saved, the wizard closes, and the object navigator opens.
NOTE. The Save and Close item is available only on editing the settings.
In the desktop application click the Finish button.
See also: