2010-10-14 57 views
0

當我試圖執行下列SQL塊甲骨文例外,我得到了以下異常與ADO.Net

ORA-06550: line 1, column 6: 
PLS-00103: Encountered the symbol "" when expecting one of the following: 

    begin case declare exit for goto if loop mod null pragma 
    raise return select update while with <an identifier> 
    <a double-quoted delimited-identifier> <a bind variable> << 
    close current delete fetch lock insert open rollback 
    savepoint set sql execute commit forall merge pipe 
The symbol "" was ignored. 
ORA-06550: line 2, column 47: 
PLS-00103: Encountered the symbol "" when expecting one of t 

查詢:

begin 
insert into test (a, b) values (:p1, :p2); 
commit; 
end; 

注:我添加了兩個參數( p1,p2)與字符串值

回答

0

刪除尾部;