Search Postgresql Archives

Re: Prompt for parameter value in psql

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi

2018-03-16 16:12 GMT+01:00 Tiffany Thang <tiffanythang@xxxxxxxxx>:
Hi,
Would it be possible to prompt for a user input in psql like in Oracle sqlplus?

In oracle, we use the & sign, for example,
select * from emp where empid=&empidvalue;


https://www.postgresql.org/docs/current/static/app-psql.html

see \prompt

Regards

Pavel
 
Thanks.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]

  Powered by Linux