view name

Moderator: NorbertKrupa

Post Reply
User avatar
nnani
Master
Master
Posts: 302
Joined: Fri Apr 13, 2012 6:28 am
Contact:

view name

Post by nnani » Sun Apr 06, 2014 11:52 am

Hello All,

I am trying to find the system table which shows me view name.

I know I can see the view name through meta command \dv

But I want to know the system table to access the view name.

I tried view table and view columns table, but could not find view name.

Thanks
nnani........
Long way to go

You can check out my blogs at vertica-howto

NorbertKrupa
GURU
GURU
Posts: 527
Joined: Tue Oct 22, 2013 9:36 pm
Location: Chicago, IL
Contact:

Re: view name

Post by NorbertKrupa » Sun Apr 06, 2014 1:54 pm

I think you're looking for v_catalog.views and v_catalog.view_columns.
Checkout vertica.tips for more Vertica resources.

User avatar
nnani
Master
Master
Posts: 302
Joined: Fri Apr 13, 2012 6:28 am
Contact:

Re: view name

Post by nnani » Mon Apr 07, 2014 6:06 am

Hi norbert,

My question was regarding checking the view_name.

I cannot find view_name column in any of the mentioned tables.
nnani........
Long way to go

You can check out my blogs at vertica-howto

NorbertKrupa
GURU
GURU
Posts: 527
Joined: Tue Oct 22, 2013 9:36 pm
Location: Chicago, IL
Contact:

Re: view name

Post by NorbertKrupa » Mon Apr 07, 2014 1:11 pm

There is no such column, unless you're talking about Flex views in 7.
Checkout vertica.tips for more Vertica resources.

scutter
Master
Master
Posts: 301
Joined: Tue Aug 07, 2012 2:15 am

Re: view name

Post by scutter » Mon Apr 07, 2014 1:56 pm

The column is unintuitively named table_name. (in the views table)
Sharon Cutter
Vertica Consultant, Zazz Technologies LLC

User avatar
nnani
Master
Master
Posts: 302
Joined: Fri Apr 13, 2012 6:28 am
Contact:

Re: view name

Post by nnani » Tue Apr 08, 2014 6:27 am

Thanks Sharon,

I was thinking the same about this column
nnani........
Long way to go

You can check out my blogs at vertica-howto

Post Reply

Return to “Vertica Database Development”