I have a function, that calculates hash value of big string! First of all I wrote a cursor T1_CUT, which can include variable count of SELECT statements, something like:
there is a function called utl_raw.cast_to_raw(vc)
which transforms a varchar2
into a BLOB
value.
However, I recommend to use CLOB
to store string values. BLOB
has no character semantics at all, i.e., NLS_LANG
settings are ignored.
EDIT:
if you want to transform VARCHAR2
to CLOB
, simply use TO_CLOB