C#创建Oracle存储过程

创建完存储过程后出现如下错误,在pl/sql developer等工具中编辑一下,再编译成功了。

错误:PLS-00103: 出现符号 ""在需要下列之一时:        <an identifier>          <a double-quoted delimited-identifier> current

解决办法:所有的"\r\n"  替换 成空格

创建Table对象时,语句结尾不需要";"

删除表 :

execute immediate 'drop table REPORTTEMPLATEDIRECTORY';

原文地址:https://www.cnblogs.com/seaboy8899/p/1362173.html