Subject | Re: [IBO] Dangerous query behaviour - IBO 4.2.Ib |
---|---|
Author | Ross Williams |
Post date | 2003-02-26T00:49:21Z |
At 05:14 PM 2/24/03, you wrote:
without the DESC.
Citizens for Sensible Transportation/
Coalition for a Livable Future
Terminal Sales Building
1220 SW Morrison, Suite 535
Portland OR 97205
Phone: 503-225-0003
Fax: 503-225-0333
Web: www.cfst.org
Email: ross@...
>Hello Jason & All,I does the same thing in the designed in version 4.2gA. It gives an error
>
>If you put in a IBOQuery a wrong SQL like :
>
>SELECT * FROM MY_TABLE
>ORDER BY DESCR DESC
>WHERE COD LIKE 'XX%'
without the DESC.
>the query parser doesn't raise an exception (the ORDER can't preceed the WHEREDon't make that mistake?
>clause).
>The WHERE clause is simply TRUNCATED and the query fetches all records.
>
>Any tought ?
>Best regards,Ross Williams
>
>Ing. Guido Salvestroni
>CONSIST Srl.
>
>
>
>
>___________________________________________________________________________
>IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
>___________________________________________________________________________
>http://www.ibobjects.com - your IBO community resource for Tech Info papers,
>keyword-searchable FAQ, community code contributions and more !
>
>Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/
Citizens for Sensible Transportation/
Coalition for a Livable Future
Terminal Sales Building
1220 SW Morrison, Suite 535
Portland OR 97205
Phone: 503-225-0003
Fax: 503-225-0333
Web: www.cfst.org
Email: ross@...