Re: [INTERFACES] Selecting more columns in ECPG in one select - error?
В списке pgsql-interfaces по дате отправления:
| От | Michael Meskes |
|---|---|
| Тема | Re: [INTERFACES] Selecting more columns in ECPG in one select - error? |
| Дата | |
| Msg-id | 19990417123208.A6263@gmx.net обсуждение исходный текст |
| Ответ на | Selecting more columns in ECPG in one select - error? ("Pavel PaJaSoft Janousek" <janousek@fonet.cz>) |
| Список | pgsql-interfaces |
On Fri, Apr 16, 1999 at 12:03:09PM +0200, Pavel PaJaSoft Janousek wrote: > and now, I would like this: > exec sql select col1 into :str1, col2 into :str2 from t where col3 = :cislo; Please correct me if I'm wrong but IMO the correct syntax is: exec sql select col1, col2 into :str1, :str2 from t where col3 = :cislo; > In the older version ECPG, distributed in winter 1997 (I think PGSQL > 6.0..?) I use this syntax without errors. Yes, that old version did not really check the syntax. > Is this error in yacc definition and will be fixed in version 6.5, or > nobody know this error? I think the 1997 version is the buggy one. Michael -- Michael Meskes | Go SF 49ers! Th.-Heuss-Str. 61, D-41812 Erkelenz | Go Rhein Fire! Tel.: (+49) 2431/72651 | Use Debian GNU/Linux! Email: Michael.Meskes@gmx.net | Use PostgreSQL!
В списке pgsql-interfaces по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера