Oracel BRM: How to query the BLOB columns

 In BRM, there are very few tables which stores data in the BLOB format, Invoice_Formats_Buf_t is one among them. The following query helps to search for a particular string in the BLOB column.

SELECT *
FROM Invoice_formats_buf_t
WHERE INSTR(
    UTL_RAW.CAST_TO_VARCHAR2(DBMS_LOB.SUBSTR(buffer_buf, 4000, 1)),
    'your_search_string'
) > 0;

Comments

Popular posts from this blog

Oracle BRM: Some Important Utilities

Oracle BRM: Learn step by step by following youtube channel

Oracle BRM: Utilize the BRM's MTA framework to use a file instead of searching the database