【发布时间】:2012-09-29 21:15:58
【问题描述】:
我有一个这样的 SQL 语句-
select utl_encode.utl_encode.base64_encode(IMAGE1)
from IPHONE.accidentreports
where "key" = 66
但是当我运行它时,我得到了这个错误-
ORA-00904: "UTL_ENCODE"."UTL_ENCODE"."BASE64_ENCODE": invalid identifier
00904. 00000 - "%s: invalid identifier"
*Cause:
*Action:
Error at Line: 2 Column: 8
我想将我的BLOB 对象转换为BASE64。怎么可能?
【问题讨论】:
-
utl_encode.utl_encode- 为什么utl_encode两次?utl_encode是一个包,除非你有一个名为utl_encode的数据库模式,否则utl_encode.base64_encode是正确的语法。 -
@Annjawn 两次 - 只是粘贴错误 :) 当然是一次 :)