Advertisement
murp

Oracle combine two blobs to varchar2

Sep 11th, 2013
108
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PL/SQL 0.24 KB | None | 0 0
  1. --Oracle a better way to convert a blob to varchar2 when the text is greater than 2000 characters.
  2.  
  3. UTL_RAW.CAST_TO_VARCHAR2(DBMS_LOB.SUBSTR(R2.RSPNS_BINARY,2000,1))||UTL_RAW.CAST_TO_VARCHAR2(DBMS_LOB.SUBSTR(R2.RSPNS_BINARY,4000,2001)) AS RSP_Text
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement