在SQL Server中一个可以做类似下面临时表SQL Server等
declare @t as table(id int)
insert into @t values(1)
insert into @t values(2)
delete from @t where id=1
是否有这个在Oracle中的等价,而无需创建一个物理表。现在,我用来创建物理表来做到这一点,并在以后删除。
我已经去了这个链接How to create a temporary table in Oracle但这是2010年和the reference link提到的Oracle 8i。这仍然是Oracle 10g和11g的情况吗?我参观了另一个环节是Constructing a temporary table in Oracle SQL
感谢
难道你不能使用一个集合,也许是一个关联数组? – Ollie 2012-08-16 14:24:32
@Ollie我只用过一次,但没有用过类似的方法。能够对其执行CRUD,这可能吗? – codingbiz 2012-08-16 14:34:19
可能重复的[Oracle临时表?](http://stackoverflow.com/questions/11131057/temporary-table-in-oracle) – Ben 2012-08-16 14:36:36