Subject | Re: [firebird-support] FB2 Ambiguity Rules |
---|---|
Author | Helen Borrie |
Post date | 2007-05-16T11:49:49Z |
At 08:50 PM 16/05/2007, you wrote:
(which uses the IBObjects datasets) has already had those bases
covered by the TIB_Statement parsing.
Put an SQL Monitor on the XLSQLRep sample app and see what IBO passes
across the wire.
./heLen
>Hello EveryoneDid you try this using isql? My guess is that Ramil's component
>
>I was testing out Ramil's XLSQLRep component which had a demo with SQL
>for the EMPLOYEE db specified thus:
>
>select
>FULL_NAME, PHONE_EXT, HIRE_DATE, SALARY, JOB_TITLE
> from
> EMPLOYEE_PROJECT EP
> JOIN EMPLOYEE E ON E.EMP_NO=EP.EMP_NO
> JOIN JOB J ON J.JOB_CODE=E.JOB_CODE
> and J.JOB_GRADE=E.JOB_GRADE
> and J.JOB_COUNTRY=E.JOB_COUNTRY
>order by FULL_NAME
>
>.. and it worked... in Firebird 2.01! I was taken aback because
>according to my understanding this "violates" the strict ambiguity rules
>imposed in FB2 because some fields are fully qualified (alias.field) and
>others are not... or maybe the rule applies selectively on either side
>of a JOIN?
(which uses the IBObjects datasets) has already had those bases
covered by the TIB_Statement parsing.
Put an SQL Monitor on the XLSQLRep sample app and see what IBO passes
across the wire.
./heLen