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