Display a Query Title in vsql

Posted March 27, 2019 by James Knicely, Vertica Field Chief Technologist

The \C vsql meta-function allows you to specify a title string to display with query output!

Example: dbadmin=> SELECT * FROM dual; dummy ------- X (1 row) dbadmin=> \C 'The "Tried and True" DUAL table exists in Vertica!' Title is "The "Tried and True" DUAL table exists in Vertica!". dbadmin=> SELECT * FROM dual; The "Tried and True" DUAL table exists in Vertica! dummy ------- X (1 row) Helpful Link:

https://www.vertica.com/docs/latest/HTML/Content/Authoring/ConnectingToVertica/vsql/Meta-Commands/MetaCommandReference.htm

Have fun!