首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >ORA-06550和PLS-00103

ORA-06550和PLS-00103
EN

Stack Overflow用户
提问于 2010-11-25 03:39:12
回答 1查看 4.7K关注 0票数 2

嗨,

我使用的是UNIX操作系统,在oracle上工作。我收到以下错误消息

代码语言:javascript
复制
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中会发生这种情况吗?

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2010-11-25 06:33:19

正如@JOTN所说,dos2unix命令是您的朋友。应该像这样调用

代码语言:javascript
复制
dos2unix the_file_you_want_converted > another_file_to_hold_the_unix_version

分享和享受。

票数 3
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/4270818

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档