Skip to content

Commit 398a054

Browse files
inaccurate results by design
This is modified based on internal feedback. Comment - "Customer explain that the documentation is not clear enough to warn customers about this by design behavior, they asked of we can adjust the documentation so that it appears as warning, or important note, …etc. " This is more likely require a "CAUTION" but i have created this as "IMPORTANT". Please feel free to replace "CAUTION" is required. > [!CAUTION] > After creating a table with primary key or unique constraint in dedicated SQL pool, users need to make sure all values in those columns are unique. > A violation of that may cause the query to return inaccurate result.
1 parent 46f7243 commit 398a054

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

articles/synapse-analytics/sql-data-warehouse/sql-data-warehouse-table-constraints.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,11 @@ FOREIGN KEY constraint is not supported in dedicated SQL pool.
3131

3232
Having primary key and/or unique key allows dedicated SQL pool engine to generate an optimal execution plan for a query. All values in a primary key column or a unique constraint column should be unique.
3333

34-
After creating a table with primary key or unique constraint in dedicated SQL pool, users need to make sure all values in those columns are unique. A violation of that may cause the query to return inaccurate result. This example shows how a query may return inaccurate result if the primary key or unique constraint column includes duplicate values.
34+
> [!IMPORTANT]
35+
> After creating a table with primary key or unique constraint in dedicated SQL pool, users need to make sure all values in those columns are unique.
36+
> A violation of that may cause the query to return inaccurate result.
37+
38+
This example shows how a query may return inaccurate result if the primary key or unique constraint column includes duplicate values.
3539

3640
```sql
3741
-- Create table t1

0 commit comments

Comments
 (0)