🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.interbase.sql
Article #102

Re: no current record for fetch operation mining explicit left joins and implicit inner joins

#102
From: Massimiliano Trezzi
Date: Tue, 03 Jun 2008 07:02
41 lines
2605 bytes
I never wrote manually a query like this, but some _good_ tools do it!

I think this is a bug beacuse:
    SQL-92 should accept this syntax: it's bad but it's correct!
    all other good databases work with this syntax,
    you can have the same problem making a good query with implicit joins 
made over some view with explicit outer joins (have I to look inside the 
view before building the query?)
    In Interbase 5.6 this worked

This is not as designed because:
    it happens when fetching records not after parsing the query,
    the error is not systematic, but it comes only with outer joins and only 
in some circustances
    the message is clearly related to some internal code (from sql we do not 
manage fetching)

If it was designed as this,  I'd expect a message like this "You cannot mix 
explicit joins with implicit joins" and it should be systematic.

I hope you understand my bad English, and I hope you understand that 
Interbase should be better without this unpredictable behaviour!

Hi,
Massimiliano Trezzi.,


With Delphi I can write ugly code,

"Bill Todd [TeamB]" <no@no.com> ha scritto nel messaggio 
news:483eb8db$1@newsgroups.borland.com...
> Massimiliano Trezzi wrote:
>
>> This is not the result of an accurate design, but this is a bug:
>
> This is not a bug. A bug is something that does not work as designed.
> The only thing that R&D should do in this case is generate an error and
> not execute the query.
>
> -- 
> Bill Todd (TeamB) 
Technical Details
Message-ID: <4844ec75$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <483d879c$1@newsgroups.borland.com> <483e198f$1@newsgroups.borland.com> <483e8221$1@newsgroups.borland.com> <483eb8db$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,c962a98f7a2cfe5f
X-Google-Attributes: gid114a0e,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Massimiliano Trezzi" <support_leavethis_@intesanet.it>
Newsgroups: borland.public.interbase.sql
References: <483d879c$1@newsgroups.borland.com> <483e198f$1@newsgroups.borland.com> <483e8221$1@newsgroups.borland.com> <483eb8db$1@newsgroups.borland.com>
Subject: Re: no current record for fetch operation mining explicit left joins and implicit inner joins
Date: Tue, 3 Jun 2008 09:02:13 +0200
Lines: 43
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
NNTP-Posting-Host: 88.34.236.154
Message-ID: <4844ec75$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1212476533 88.34.236.154 (3 Jun 2008 00:02:13 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!proxad.net!feeder1-2.proxad.net!194.25.134.126.MISMATCH!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail