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.
你应该做substronutl_raw.cast_to_varchar2而不是 blob column message。因此,最终查询将如下所示:
substr
utl_raw.cast_to_varchar2
message
select dbms_lob.substr(utl_raw.cast_to_varchar2(message),100) from XML_MESSAGE;