Исходный код вики Insert or update. Upsert
Редактировал(а) Alexandr Fokin 2024/12/15 23:40
Последние авторы
| author | version | line-number | content |
|---|---|---|---|
| 1 | |(% style="width:128px" %)[[MSSQL>>doc:Разработка.Базы данных.SQL.MSSQL.WebHome]]|(% style="width:1357px" %)((( | ||
| 2 | How to insert or update using single query? | ||
| 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 | |||
| 5 | Mythbusting: Concurrent Update/Insert Solutions | ||
| 6 | [[https:~~/~~/michaeljswart.com/2011/09/mythbusting-concurrent-updateinsert-solutions/>>https://michaeljswart.com/2011/09/mythbusting-concurrent-updateinsert-solutions/]] | ||
| 7 | |||
| 8 | Insert or Update pattern for Sql Server | ||
| 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/]] | ||
| 13 | ))) | ||
| 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" %) | ||
| 16 | |||
| 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 | |||
| 41 |