可以select .... into temp table_tst,创建了临时表,session一关,临时表就自动释放了。很多操作数据库内部也会自动创建临时表,只是外面感觉不到。
[quote=引用 6 楼 Only了了 的回复:] [quote=引用 5 楼 wgf098 的回复:] 可以select .... into temp table_tst,创建了临时表,session一关,临时表就自动释放了。很多操作数据库内部也会自动创建临时表,只是外面感觉不到。
[quote=引用 5 楼 wgf098 的回复:] 可以select .... into temp table_tst,创建了临时表,session一关,临时表就自动释放了。很多操作数据库内部也会自动创建临时表,只是外面感觉不到。
没有。可以用select..into...格式。select '123123' user_id,'201904' rptdate,'47' monfee from dual into table_tst,创建表table_tst的同时也插入了数据。
1,195
社区成员
2,872
社区内容
加载中
试试用AI创作助手写篇文章吧