Table Wizard - Set Primary Key

Specifies a field in the table to be used as a primary key.

Create a primary key

Select to create a primary key. Add a primary key to every database table to uniquely identify each record. For some database systems within LibreOffice, a primary key is mandatory for editing the tables.

Añadir una clave principal automáticamente

Select to automatically add a primary key as an additional field.

Use an existing field as a primary key

Select to use an existing field with unique values as a primary key.

Nombre de campo

Seleccione el nombre del campo.

Valor automático

Select to automatically insert a value and increment the field's value for each new record. The database must support automatic incrementation in order to use the Auto value feature.

Definir clave principal por varios campos

Seleccione la opción para crear una clave principal a partir de una combinación de varios campos.

Campos disponibles

Select a field and click > to add it to the list of primary key fields.

>

Pulse para mover los campos seleccionados al cuadro al cual apunta la flecha.

<

Pulse para mover los campos seleccionados al cuadro al cual apunta la flecha.

Primary key fields

Select a field and click < to remove it from the list of primary key fields. The primary key is created as a concatenation of the fields in this list, from top to bottom.

Table Wizard - Create table