in query variables....

From: "Rhys A(dot)D(dot) Stewart" <rhys(dot)stewart(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: in query variables....
Date: 2008-07-17 18:53:41
Message-ID: 189966030807171153g760de47cvc937127d28f37d04@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

this is from the is there a way file.
Is there a way to get the name of the relation or relations in a query
from within the query? Like some kind of magic variable...?
for example :
"select *, <some_magic_variable> from thistable"
where <some_magic_variable> would be replaced by thistable.

Rhys
Peace & Love|Live Long & Prosper

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Stephan Szabo 2008-07-17 18:58:03 Re: deleting the master but not the detail
Previous Message salman 2008-07-17 18:50:35 Re: TODO list and "hyphen"