зеркало из
https://github.com/iharh/notes.git
synced 2025-10-30 21:26:09 +02:00
10 строки
269 B
Plaintext
10 строки
269 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);
|
|
|