Исходный код вики Индексы
Версия 1.2 от Alexandr Fokin на 2023/09/18 01:34
Последние авторы
author | version | line-number | content |
---|---|---|---|
1 | |(% style="width:185px" %) |(% style="width:1269px" %)((( | ||
2 | По умолчанию null поле не учитывается ограничении уникальности. | ||
3 | Чтобы добавить проверку уникальности по null значению нужно добавить фильтрующий индекс. | ||
4 | |||
5 | Create unique constraint with null columns | ||
6 | [[https:~~/~~/stackoverflow.com/questions/8289100/create-unique-constraint-with-null-columns>>https://stackoverflow.com/questions/8289100/create-unique-constraint-with-null-columns]] | ||
7 | ))) | ||
8 | |(% style="width:185px" %) |(% style="width:1269px" %) | ||
9 | |(% style="width:185px" %) |(% style="width:1269px" %) | ||
10 | |||
11 |