ihar_hancharenka 1a0e02b03a m
2025-08-19 11:17:18 +03:00

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/