how to set a table column's as primary key in SNow

asha23
Tera Contributor

Please suggest how to set a table column's as primary key in SNOW?

2 REPLIES 2

Community Alums
Not applicable

Sys ID is Primary key for most of all tables. I would not change the Primary key for any of the OOB tables. 

If you want to set for your custom tables then there's a Primary (true/false) field.

Open the table definition, add Primary field to the form and set it for desired field for your table.

Community Alums
Not applicable

Or you can set the field Unique = true from Dictionary of the table