【发布时间】:2012-11-09 10:33:05
【问题描述】:
对于 .Net 4.0 应用程序,我使用的是 ODP.Net 11 库中的 OracleClient 类。经过一番研究,有些人注意到 ODP.net 库无法处理 Windows 换行符,而只能处理 unix 换行符(无法处理 \r)。当我用空格替换每个 \r 出现时,查询运行正常。
我在这里遗漏了什么还是 Oracle 只是在荒谬?
我收到以下错误:
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
【问题讨论】:
-
但这只是一个荒谬的oracle事情......我知道解决方法,但只是oracle如何制作库而不支持本机环境设置?对我来说,我知道没有一个设置或旧版本可以工作......