Virtual columns

Last modified: 15 May 2024

A virtual column is an IDE virtual object that contains values calculated using the data of other columns. It is not defined in the database code, and it cannot be used to create indexes. The data of the virtual column is not stored in the database.

For example, to have a column that would contain data from both first_name and last_name columns, create a virtual column with the following expression: first_name || '.' || last_name.

The virtual column with your expression result will appear in the table, and it will also be available in the Database tool window as a virtual object.

Virtual column

The expression used to calculate values for virtual column is stored in external-data-<data_source_name>.xml. You can select another name for the XML file and other place to store this file. To change or see the path to the XML document, open data source settings by pressing , click the Options tab and see the Virtual objects and attributes field.

Virtual columns ( Virtual column) can be found in the Database tool window. For the reference on other node and object icons, refer to the Data sources and their elements chapter of Database window topic. For the table column icons, refer to the Possible icon combinations for columns chapter.

Virtual columns in Database