I'm trying to do something like the following,
select * into temp from (select * from student);
This gives me the following error:
ERROR at line 1: ORA-00905: missing keyword
In my real example, the subquery (select * from student) is more complex.
I want to use this in a stored procedure, so I don't want to create a table. I just want my code to become more readable using a temporary table.
oracle plsql sqlplus
Sait
source share