对于 .Net 4.0 应用程序,我使用 ODP.Net 11 库中的 OracleClient 类。经过一番研究,有些人注意到 ODP.net 库无法处理 Windows 换行符,而只能处理 unix 换行符(无法处理 \r)。当我用空格替换每个 \r 出现时,查询运行正常。
我在这里遗漏了什么还是甲骨文只是荒谬?
我收到以下错误:
Message: 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 "begin was inserted before "" to continue.
ORA-06550: line 2, column 90:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin case declare end exception exit for goto if loop mod
null pragma raise return select update while with
<an identifier> <a double-quoted delimited-id