标签: sql oracle
可能重复: How to create a temporary table in Oracle
我有一个SQL查询,它生成一个我想多次重用的表。在T-SQL中,我会创建一个临时表(#temp),Oracle SQL中的等价物是什么?
感谢。
答案 0 :(得分:1)
临时表在oracle中的工作方式与在sql server中的工作方式不同。我建议阅读oracle文档中的相应章节。要重用表的内容,请在commit上使用“preserve rows”子句。