Re: why does this query does not work??????
От | Jeff Eckermann |
---|---|
Тема | Re: why does this query does not work?????? |
Дата | |
Msg-id | 20011119214255.26317.qmail@web20805.mail.yahoo.com обсуждение исходный текст |
Ответ на | why does this query does not work?????? (satya pariki <spariki@yahoo.com>) |
Список | pgsql-sql |
If you are using psql (command line client), you can use: \set variable_name variable_value Then refer to the value by ":variable_name", i.e. colon instead of ampersand. "man psql" for more information. --- satya pariki <spariki@yahoo.com> wrote: > are there any substitution variables in postgresql ? > > select * from EMP where EMPNO = &empnum; > > it is giving error. it is telling to type cast or > use > parenthesis. > > i will be grateful if u help me out of this. > > bye > satya > > __________________________________________________ > Do You Yahoo!? > Find the one for you at Yahoo! Personals > http://personals.yahoo.com > > ---------------------------(end of > broadcast)--------------------------- > TIP 1: subscribe and unsubscribe commands go to majordomo@postgresql.org __________________________________________________ Do You Yahoo!? Find the one for you at Yahoo! Personals http://personals.yahoo.com
В списке pgsql-sql по дате отправления: