当我执行这个获取个人数据和用户图像的报告 sql 时,它给了我以下错误:
ORA-06502: PL/SQL: 数字或值错误: 字符到数字的转换错误
SELECT
ID,
NAME,
ADDRESS,
DECODE(GENDER,'M','MALE','F','FEMALE') as GENDER,
DECODE(nvl(dbms_lob.getlength(IMG),0), 0, null,
'<img style="border: 4px solid #CCC; -moz-border-radius: 4px; -webkit-border-radius: 4px;" '||
'src="'||apex_util.get_blob_file_src('P2_IMG',ID)||'" height="75" width="75" '||
'alt="Product Image" title="Product Image" />') IMG
FROM USMAN