Search notes:

SQL*Plus: SET LONG

SQL> set long n
The value that is set with set long specifies the maximum number of bytes

Example

The data type of text in all_views is long.
If selecting 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

See also

set jsonprint (Oracle 21c) defines the maximum length that is displayed for JSON values.
set
Displaying LOB values (such as CLOBs) in SQL*Plus
SQL*Plus

Index

Fatal error: Uncaught PDOException: SQLSTATE[HY000]: General error: 8 attempt to write a readonly database in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php:78 Stack trace: #0 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(78): PDOStatement->execute(Array) #1 /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php(30): insert_webrequest_('/notes/developm...', 1758198688, '216.73.216.150', 'Mozilla/5.0 App...', NULL) #2 /home/httpd/vhosts/renenyffenegger.ch/httpsdocs/notes/development/databases/Oracle/SQL-Plus/set/long/index(68): insert_webrequest() #3 {main} thrown in /home/httpd/vhosts/renenyffenegger.ch/php/web-request-database.php on line 78