Subject | Re: [ib-support] IBX QUESTION |
---|---|
Author | Kubanych Tajmamat uloo |
Post date | 2002-12-26T10:56:49Z |
Assalom aleikum.
Please, try
SELECT ID, NAME, INVOICE_DATE FROM INVOICE
WHERE (ID = :ID) OR (999999 = ID))
ORDER BY ID, INVOICE_DATE
to compare constant with field value.
Kubanychbek Tajmamat uloo,
kubanych@...
>I am using IBX.in (999999 = :ID) you compare constant with parameter
>I get this error message.
>"Dynamic Sql Error"
>"Sql Error Code= -804"
>"Incorrect Values Within SQLDA structure"
>
>My sql is that:
>===========
>SELECT ID, NAME, INVOICE_DATE FROM INVOICE
>WHERE (ID = :ID) OR (999999 = :ID))
>ORDER BY ID, INVOICE_DATE
>
>
>
Please, try
SELECT ID, NAME, INVOICE_DATE FROM INVOICE
WHERE (ID = :ID) OR (999999 = ID))
ORDER BY ID, INVOICE_DATE
to compare constant with field value.
Kubanychbek Tajmamat uloo,
kubanych@...