Vertica Tip: Setting Variables on the VSQL Command Line

Moderator: NorbertKrupa

Post Reply
User avatar
JimKnicely
Site Admin
Site Admin
Posts: 1822
Joined: Sat Jan 21, 2012 4:58 am
Contact:

Vertica Tip: Setting Variables on the VSQL Command Line

Post by JimKnicely » Tue Sep 25, 2018 2:33 pm

The vsql client provides variable substitution features similar to common Linux command shells. Variables are name/value pairs, where the value can be a string of any length. The -v, --variable, and --set options can be used to set a variables value from the command line.

Read more here:
https://forum.vertica.com/discussion/23 ... mmand-line
Jim Knicely

Image

Note: I work for Vertica. My views, opinions, and thoughts expressed here do not represent those of my employer.

Post Reply

Return to “Vertica Links”