Insert a unique value using the Clustered ColumnStore Index

I would like to know how I am going to create my table or select an insert that ensures that I do not get duplicate values.

create table test.dbo.test product, time, primary key(product, time) go 

When using the Clustered ColumnStore, I cannot have any unique restrictions to know that the data that was inserted is unique. Is there any other way to check this?

+6
source share

Source: https://habr.com/ru/post/974635/


All Articles