Subject | RE: [ib-support] Re: Please remove the ambiguity check |
---|---|
Author | Josipovic, Nikica |
Post date | 2001-12-10T15:26:40Z |
No problems to come at all as long as the SQL is proper done.
Every problem resulting from Ambiguity checks have their cause not in the
SQL-Engine, but in the user who did create the SQL.
You wouldn't have been able to create ambigous SQL in DB/2, Sybase and
MS-SQL. Interbase did it, although the SQL-Standard does not offer this
possibility, and the Firebird Team simply removed a "bug" in terms of
Standard SQL.
Its perhaps a bit harsh from me to say it (and my excuses in advance), but
every problem occuring is the users fault.
Because you can throw a TV-Set out of the window without the window warning
you about it, it is not a good thig. Because you can put a cat in the
microwave oven it is not a good thig to do. Because IB did let you write
queries which could give you back unpredictable and incorrect results, you
should've taken care of this then already. Now firebird does it correct and
warns you that your query is not alright and it might bring back wrong
results and refuses to work is not a problem, but simply honesty of the
engine.
CU,
Nick Josipovic
Business Analyst / Market Intelligence
Global Corporate Communications
SAP AG
Neurottstrasse 16
69190 Walldorf
T ++49 6227 762945
F ++49 6227 7834457
E nikica.josipovic@...
http://www.sap.com/germany
Every problem resulting from Ambiguity checks have their cause not in the
SQL-Engine, but in the user who did create the SQL.
You wouldn't have been able to create ambigous SQL in DB/2, Sybase and
MS-SQL. Interbase did it, although the SQL-Standard does not offer this
possibility, and the Firebird Team simply removed a "bug" in terms of
Standard SQL.
Its perhaps a bit harsh from me to say it (and my excuses in advance), but
every problem occuring is the users fault.
Because you can throw a TV-Set out of the window without the window warning
you about it, it is not a good thig. Because you can put a cat in the
microwave oven it is not a good thig to do. Because IB did let you write
queries which could give you back unpredictable and incorrect results, you
should've taken care of this then already. Now firebird does it correct and
warns you that your query is not alright and it might bring back wrong
results and refuses to work is not a problem, but simply honesty of the
engine.
CU,
Nick Josipovic
Business Analyst / Market Intelligence
Global Corporate Communications
SAP AG
Neurottstrasse 16
69190 Walldorf
T ++49 6227 762945
F ++49 6227 7834457
E nikica.josipovic@...
http://www.sap.com/germany
> -----Original Message-----
> From: rogervellacott [mailto:rvellacott@...]
> Sent: Monday, December 10, 2001 4:19 PM
> To: ib-support@yahoogroups.com
> Subject: [ib-support] Re: Please remove the ambiguity check
>
>
> Even though I have promised to stop moaning about this, I suspect it
> is going to cause me, and others, problems for some time. For
> example, I have a query joining 3 tables, which opens fine in a
> TIBOQuery, but which gives an ambiguity error if I call the Refresh
> method of the query. Whether or not it is IBO's fault, or my fault,
> or FB's fault, it suggests there are lots of problems to come.
>
>
>
> --- In ib-support@y..., "Ann W. Harrison" <aharrison@i...> wrote:
> > At 09:04 PM 12/7/2001 -0400, Claudio Valderrama C. wrote:
> >
> > >Roger: the problem is not the optimizer, but the DSQL layer.
> >
> > Err, not entirely. When the engine parses and compiles the
> > blr that DSQL generates, it does the same sort of thing.
> > Regards,
> >
> >
> > Ann
> > www.ibphoenix.com
> > We have answers.
>
>
> ------------------------ Yahoo! Groups Sponsor
> ---------------------~-->
> Quit now for Great
> American Smokeout
> http://us.click.yahoo.com/0vN8tD/9pSDAA/ySSFAA/dpFolB/TM
> --------------------------------------------------------------
> -------~->
>
> To unsubscribe from this group, send an email to:
> ib-support-unsubscribe@egroups.com
>
>
>
> Your use of Yahoo! Groups is subject to
> http://docs.yahoo.com/info/terms/
>
>