Изменения документа Insert or update. Upsert
Редактировал(а) Alexandr Fokin 2024/12/15 23:40
отредактировано Alexandr Fokin
на 2024/05/30 14:54
на 2024/05/30 14:54
отредактировано Alexandr Fokin
на 2024/12/15 23:40
на 2024/12/15 23:40
Изменить комментарий:
К данной версии нет комментариев
Комментарий
-
Свойства страницы (1 изменено, 0 добавлено, 0 удалено)
Подробности
- Свойства страницы
-
- Содержимое
-
... ... @@ -1,4 +1,4 @@ 1 -|(% style="width: 213px" %) |(% style="width:1241px" %)(((1 +|(% style="width:128px" %)[[MSSQL>>doc:Разработка.Базы данных.SQL.MSSQL.WebHome]]|(% style="width:1357px" %)((( 2 2 How to insert or update using single query? 3 3 [[https:~~/~~/dba.stackexchange.com/questions/89696/how-to-insert-or-update-using-single-query>>https://dba.stackexchange.com/questions/89696/how-to-insert-or-update-using-single-query]] 4 4 ... ... @@ -7,8 +7,35 @@ 7 7 8 8 Insert or Update pattern for Sql Server 9 9 [[https:~~/~~/samsaffron.com/blog/archive/2007/04/04/14.aspx>>https://samsaffron.com/blog/archive/2007/04/04/14.aspx]] 10 + 11 +Пожалуйста, прекратите использовать антипаттерн UPSERT (SQL Server) 12 +[[https:~~/~~/habr.com/ru/companies/otus/articles/547094/>>https://habr.com/ru/companies/otus/articles/547094/]] 10 10 ))) 11 -|(% style="width: 213px" %) |(% style="width:1241px" %)12 -|(% style="width: 213px" %) |(% style="width:1241px" %)14 +|(% style="width:128px" %)[[PostgreSQL>>doc:Разработка.Базы данных.SQL.PostgreSQL.WebHome]]|(% style="width:1357px" %)[[Insert or update. Upsert>>doc:Разработка.Базы данных.SQL.PostgreSQL.Сценарии.Insert or update\. Upsert.WebHome]] 15 +|(% style="width:128px" %) |(% style="width:1357px" %) 13 13 17 +---- 18 + 19 +==== Внутренние ссылки: ==== 20 + 21 +====== Дочерние страницы: ====== 22 + 23 +{{children/}} 24 + 25 +====== Обратные ссылки: ====== 26 + 27 +{{velocity}} 28 +#set ($links = $doc.getBacklinks()) 29 +#if ($links.size() > 0) 30 + #foreach ($docname in $links) 31 + #set ($rdoc = $xwiki.getDocument($docname).getTranslatedDocument()) 32 + * [[$escapetool.xml($rdoc.fullName)]] 33 + #end 34 +#else 35 + No back links for this page! 36 +#end 37 +{{/velocity}} 38 + 39 +---- 40 + 14 14