Query Output spool to file

Moderator: NorbertKrupa

Post Reply
Satish
Newbie
Newbie
Posts: 2
Joined: Thu Feb 25, 2016 2:16 pm

Query Output spool to file

Post by Satish » Thu Feb 25, 2016 4:58 pm

Hi All,

Can someone help here to spool the Query output in Vertica.

Regards
SV

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

Re: Query Output spool to file

Post by JimKnicely » Thu Feb 25, 2016 5:01 pm

Do you mean from vsql? If so, use the \o meta-command.

http://my.vertica.com/docs/7.2.x/HTML/i ... ands/o.htm
Jim Knicely

Image

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

Post Reply

Return to “New to Vertica Database Administration”