使用Clustered ColumnStore Index插入唯一值

ele*_*rck 6 sql t-sql database sql-server duplicate-data

我想知道如何创建我的表或选择一个插件,以确保我没有得到重复的值.

create table test.dbo.test
product, 
time,
primary key(product, time)
go
Run Code Online (Sandbox Code Playgroud)

使用Clustered ColumnStore时,我不能有任何唯一约束来知道已插入的数据是唯一的.还有另一种检查方法吗?