Oracle database: How to read a BLOB?

后端 未结 6 708
星月不相逢
星月不相逢 2021-02-07 23:37

I\'m working with an Oracle database, and I would like to read the contents of a BLOB. How do I do this?

When I do a simple select statement, it merely returns \"(BLOB)

6条回答
  •  南笙
    南笙 (楼主)
    2021-02-08 00:16

    If the content is not too large, you can also use

    SELECT CAST (  AS RAW(  ) ) FROM ;
    

    or

    SELECT DUMP ( CAST (  AS RAW(  ) ) ) FROM 
    ;

    This will show you the HEX values.

    提交回复
    热议问题