HI,
我正在使用 UNIX 操作系统并在 oracle 上工作。我收到以下错误消息
E ORA-06550: line 1, column 8:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
<an identifier> <a double-quoted delimited-identifier> form
current cursor
The symbol "" was ignored.
ORA-06550: line 2, column 27:
PLS-00103: Encountered the symbol "" when expecting one of the following:
begin function package pragma procedure subtype type use
<an identifier> <a double-quoted delimited-identifier>
在谷歌搜索上,我发现
“问题似乎出在换行符上的 Windows CRLF 字符上。Oracle 不会将其视为空格,而是将其视为空字符串。为了解决此问题,请将 CRLF 字符转换为 LF 字符,Oracle 应该要开心。”
有人知道为什么它会发生在 UNIX/ksh shell 中吗?
正如@JOTN 所说,dos2unix 命令是你的朋友。应该调用类似的东西
dos2unix the_file_you_want_converted > another_file_to_hold_the_unix_version
分享并享受。
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)