Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
创建表 temp(col raw(40));
插入温度值(0x02900000AB45GH38);
错误:ORA-00917:缺少逗号
首先,您的数据不是正确的十六进制 - “GH”不应该在那里。
一旦你得到正确的数据,
只需将十六进制作为 varchar 传递 -
Insert into temp values('0290')
它与 -
Insert into temp values(hextoraw('0290'))