如何使用ANSI SQL创建临时表?
答
Create temporary table using the following statement
CREATE GLOBAL TEMPORARY TABLE my_temp_table (
id NUMBER,
description VARCHAR2(20)
)
ON COMMIT PRESERVE ROWS;
ON COMMIT PRESERVE ROWS clause indicates that rows should persist beyond the end of the transaction. They will only be removed at the end of the session.
你不能。没有创建临时表的标准。这是供应商特定的。 – OldProgrammer