зеркало из
https://github.com/iharh/notes.git
synced 2025-10-30 13:16:07 +02:00
12 строки
328 B
Plaintext
12 строки
328 B
Plaintext
create temp table <temp-table-name> as
|
|
select * from <other-table> with no data
|
|
on commit <delete|preserve|drop>;
|
|
|
|
# no constraints/indexes are auto-created
|
|
|
|
create temp table <temp-table-name>
|
|
(like <other-table> including constraints including indexes);
|
|
|
|
2025
|
|
https://habr.com/ru/companies/tantor/articles/930038/
|