with statement

Moderator: NorbertKrupa

Post Reply
yang
Newbie
Newbie
Posts: 11
Joined: Wed Jul 04, 2012 11:27 am

with statement

Post by yang » Wed Jul 25, 2012 3:07 am

Is there anything like the `with` statement available in Vertica? (I.e. like subqueries but reusable, avoiding creating temp tables.)

id10t
GURU
GURU
Posts: 732
Joined: Mon Apr 16, 2012 2:44 pm

Re: with statement

Post by id10t » Wed Jul 25, 2012 6:43 am

Hi yang!

>> Is there anything like the `with` statement available in Vertica?
No

>> avoiding creating temp tables
Views?
Projections? If you !can create appropriate projection - a query will return quickly.

Post Reply

Return to “Vertica SQL”