Run Time Variables - Mailing list pgsql-novice

From Phil Hayward
Subject Run Time Variables
Date
Msg-id 01031018501900.00710@linux
Whole thread Raw
Responses add primary key  ("mikhail malamud" <mikhail.malamud@drexel.edu>)
Re: Run Time Variables  ("Anthony E . Greene" <agreene@pobox.com>)
List pgsql-novice
Can anyone assist please?
In Oracle it is possible to enter variables at run time with a query as follows

SELECT name, salary, dept
FROM emp
WHERE empid = &empid;

On running the query you will be prompted .....

Enter value for empid:

Is there an equivalent feature in PostgreSql, Psql ?


--
Phil Hayward
London, England

phil@springfield.co.nz
phil@springfield.uklinux.net

pgsql-novice by date:

Previous
From: Arcady Genkin
Date:
Subject: Not incrementing the 'serial' counter on failed inserts.
Next
From: "mikhail malamud"
Date:
Subject: add primary key