Re: Can you combine text variable together to referenece a VIEW name ?

From: Lew <lew(at)nospam(dot)lewscanon(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: Can you combine text variable together to referenece a VIEW name ?
Date: 2007-04-09 13:02:35
Message-ID: GqudnTVv2a32pIfbnZ2dnUVZ_sDinZ2d@comcast.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Bigjim wrote:
> Hi there,
> I am trying to combine 2 text variable togther to form the name of a
> VIEW. example
>
>
> SELECT * FROM ( 'april'||'may') ;

The table (or view) part is not a character string but an identifier.

--
Lew

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Vivek Khera 2007-04-09 13:15:18 Re: Is there a shortage of postgresql skilled ops people
Previous Message Kev 2007-04-09 11:29:33 Re: pg_live