输入banner图图片脚本导航/分类

Postgresql的临时表的用法

(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   事务