- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2024 04:22 AM
I am trying to find out if a specific table (sn_customerservice_contact_relationship) has a unique index defined.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2024 04:40 AM
Hi @Antony Morling1 ,
Follow below steps.
- Go to System Definition > Tables.
- Search for the table sn_customerservice_contact_relationship and open it.
- Scroll down to the Indexes related list (ensure the related list is enabled for the table form).
- If you find one, it means the table has a unique index defined.
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-29-2024 04:40 AM
Hi @Antony Morling1 ,
Follow below steps.
- Go to System Definition > Tables.
- Search for the table sn_customerservice_contact_relationship and open it.
- Scroll down to the Indexes related list (ensure the related list is enabled for the table form).
- If you find one, it means the table has a unique index defined.
-------------------------------------------------------------------------
If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.
Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay
-------------------------------------------------------------------------
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2025 04:41 AM
Surely that is just showing the indexes, not if the index is unique/coalese

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎02-27-2025 05:27 AM
Hi @Antony Morling1 and @poyntzj ,
Unique index you will need to create, follow the below steps:
Steps to follow in order to create a Table Index:
- Navigate to: System Definition âž” Tables
- Search and access the table on which you want to create the index.
- Navigate to the 'Database Indexes' related list.
- Click on 'New'.
- In the Index Name field, type a name for your index.
- Use the slush bucket to select the fields you want to be included in the index.
The order in which you select the fields affects how the index works. If you do not have expertise in database design, we suggest you consult someone who does.
- To create a unique index, check the 'Unique Index' check box.
- Click on the 'Create Index' UI Action.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-04-2025 12:30 PM
the related list on the Table form is v_index_creator, which doesn't include a column specifying if the index is unique - but if you look for the index on the sys_index table, you'll see a 'Unique Index' true/false column