Databases

Database structure and relationships

Tables, columns, constraints and schema diagrams.

Table designer

Open Create table or Modify table from the schema context menu. Set a name and columns, choose data types, nullability, primary keys and default values.

The SQL preview shows the change plan. Apply executes it in the selected database. If part of a plan fails, completed and remaining operations are shown.

Rename a column and review the generated SQL before applying it.

Table relationships

Choose the target table and fields in the relationships section. The designer creates foreign keys and constraints for the selected relationship type. Check object names and SQL before applying.

Schema diagram

The schema diagram shows tables, their columns and foreign-key relationships. Zoom and pan to inspect connected parts of the schema.

Catalog, customer, order, payment and shipment tables with their relationships.