Encountered the symbol "(" when expecting one of the following:

[Error] PLS-00103 (1:22):pls-00103:Encountered the symbol "(" when expecting one of the following:

:=.),@% default character

The symbol ":=" was substituted for "(" to continue.

出现这个错误的原因是我在写procedure的有参时,参数里面是这么写的:

create or replace procedure test_wyh_pro (test_statement in varchar2(10))

正确的写法是参数中不需要定义数据的长度,去掉(10)即可。

猜你喜欢

转载自blog.csdn.net/QYHuiiQ/article/details/89524152