Views

Creating a view

  1. Go to alt [Menu] > [Configuration] > [Entities] (or [Configuration] > [Schemas] > [Selected scheme] > [Entities]).

  2. Click the button alt [Add…] in tabular form.

  3. Fill in the required fields: “Schema name”, “Table name”, “View definition”. Description of all fields in Entities.

  4. Click the button alt [Create] to add an entry or a button alt [Cancel] to exit the add mode without saving data.

Deleting a view

  1. Go to alt [Menu] > [Configuration] > [Entities] (or [Configuration] > [Schemas] > [Selected scheme] > [Entities]).

  2. Click on the entry (row) in the table to go to the detailed form.

  3. In the detailed form, click alt [Edit] to switch to edit mode.

  4. Click the button alt [Delete] to delete an entry or click alt [Cancel] to exit the edit mode without deleting.

You cannot delete a view while it is referenced by objects (views, etc.).

Installing a virtual primary key

In SQL, only a table can have a primary key. In “Abris”, a virtual primary key can be created for the view.

  1. Go toalt [Menu] > [Configuration] > [Entities] > [Selected view] > [Properties] (or [Configuration] > [Schemas] > [Selected scheme] > [Entities] > [Selected view] > [Properties]).

  2. In the detailed form, click alt [Edit] to switch to edit mode.

  3. Set the flag in the field “Is primary key”. Description of the field in Properties.

  4. Click the button alt [Save] to save changes or click alt [Cancel] to exit the edit mode without saving.

The primary key can only be set for an already created view.