Error: PLS00103: 出现符号 "CREATE"在需要下列之一时:

概述:
    Oralce在begin 和end 之间创建数据表时,会出现如标题的错误。
 语句如下:       

 begin
   
create table create table studentinfobackup as 
   
select *  from studentinfo
 
end;

按下F8进行执行语句会出现如下错误

        

解决办法:    

begin
 
Execute immediate 'create table studentinfobackup as select *  from studentinfo';
 
end ;

原文地址:https://www.cnblogs.com/abcdwxc/p/1113471.html