# Specific DB Type

> Part of the NocoDB documentation (Product docs). Index of all pages: https://nocodb.com/llms.txt. Any docs page is available as Markdown by adding `.md` to its URL.

URL: https://nocodb.com/docs/product/tables/fields/field-types/custom-types/specific-db-type
Last updated: 2026-10-03

Create a Specific DB Type field in NocoDB to use a data type of an external database, with attributes such as Not Null and Primary Key.

## Create a Specific DB Type field

1. Click the `+` icon to the right of `Fields header`.
2. In the dropdown modal, enter the field name (Optional).
3. In the dropdown, select the field type `Specific DB Type`.
4. Configure the default value for the field (Optional).
5. Enter the configuration of the DB specific data type.
6. Click `Save Field`.

<img alt="image" src={__img0} placeholder="blur" />

### Advanced field attributes

| Attribute               | What it does                                                                                                                      |
| ----------------------- | --------------------------------------------------------------------------------------------------------------------------------- |
| `NN` **Not Null**       | Makes sure that a column cannot have a NULL value. A value must always be given.                                                  |
| `PK` **Primary Key**    | Identifies each record in a table uniquely.                                                                                       |
| `AI` **Auto Increment** | Makes a unique number automatically for each new record. Usually used with primary keys.                                          |
| `UN` **Unsigned**       | Makes sure that a column stores only non-negative numbers. Frequently used for counters, identifiers or monetary values.          |
| `AU` **Auto Update**    | Sets a column to the current timestamp automatically when a record is updated. Frequently used for timestamp or datetime columns. |

:::note
Specific DB type is available only for external Data source connections
:::
