当前位置:Gxlcms > 数据库问题 > Postgresql的临时表的用法

Postgresql的临时表的用法

时间:2021-07-01 10:21:17 帮助过:193人阅读

(select * from testbulkcopy limit 0);

 

二、本次使用完临时表后自动删除

CREATE TEMP TABLE temp_testbulkcopy ON COMMIT DROP as (select * from testbulkcopy limit 0);

ON COMMIT DROP  表示本次事务提交后就自动删掉

 

Postgresql的临时表的用法

标签:临时   表示   bsp   rop   comm   pos   col   res   事务   

人气教程排行