SQL> set long n
set long specifies the maximum number of bytes blob, clob, nclob, bfile, long and xml values
long values copied using the SQL*Plus command copy text from all_views in SQL*Plus, only the amount of bytes indicated with set long are displayed: SQL> set long 10 SQL> select text from all_views where view_name = 'SESSION_CONTEXT'; TEXT ---------- select nam SQL> set long 9999999 SQL> select text from all_views where view_name = 'SESSION_CONTEXT'; TEXT -------------------------------------------------------------------------------- select namespace, attribute, value from v_$context
set jsonprint (Oracle 21c) defines the maximum length that is displayed for JSON values.