Is there a way to declare a varchar2 constant with the needed size?
e.g. I would like to have the following definition without having to explicitly declare the size in parenthesis:
c_my_string constant varchar2(3) := 'abc';
Is there a way to do something like:
c_my_string constant varchar2(sizeof('abc')) := 'abc';
Other than that I could of course define the constant as a raw and then convert it to a varchar2 on the fly using UTL_RAW.CAST_TO_VARCHAR2(my_raw);