Retrieve Vertica Version from SQL

Moderator: NorbertKrupa

Post Reply
me_theonlyone
Newbie
Newbie
Posts: 3
Joined: Fri May 31, 2013 9:24 am

Retrieve Vertica Version from SQL

Post by me_theonlyone » Fri Jun 21, 2013 5:02 pm

I was wondering if it was possible to retrieve the Vertica version through some SQL statement. I know this might seem like a stupid question. but I was just wondering if there was a system table with information related to version.
I have posted this question to Stackoverflow: http://stackoverflow.com/q/17239537/2262959

is it possible or not?

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

Re: Retrieve Vertica Version from SQL

Post by JimKnicely » Fri Jun 21, 2013 7:04 pm

Try the version function.

Like this:

Code: Select all

Welcome to vsql, the Vertica Analytic Database interactive terminal.

Type:  \h or \? for help with vsql commands
       \g or terminate with semicolon to execute query
       \q to quit

dbadmin=> select version();
              version
------------------------------------
 Vertica Analytic Database v6.1.2-0
(1 row)

dbadmin=>
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 “New to Vertica SQL”