Tip #8 – Setting Your Own Names for Primary Key

Sometimes the naming convention you use requires a specific pattern for the primary keys’ names. That’s why you may want to set your own names for each primary key in your database model instead of using default ones. Go on reading to get to know how to do this in Vertabelo.

Sometimes the naming convention you use requires a specific pattern for the primary keys’ names. That’s why you may want to set your own names for each primary key in your database model instead of using default ones. Go on reading to get to know how to do this in Vertabelo.

To give your own name to a primary key, select the table that contains the primary key you want to name:


own name for primary key

Expand the Primary key section in the Table properties panel on the right:


naming convention

Enter the name you want to give to the primary key:


primary keys’ names

In SQL Preview we can see that the primary key’s name is now the one you assigned:


primary key, naming convention

 
 

Tools in this post

Redgate Data Modeler

Design, update, and manage database schemas

Find out more