🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: Can Compile this statement

#705
From: Kjell Ljungqvist
Date: Fri, 27 Jul 2007 10:52
45 lines
2696 bytes
Hi!

Did you find any solution or reason for this? We are too experiencing the 
same kind of problem with IB2007. First it seemed like it only happened on 
IB2007 on Linux but after updating a Windows-server to IB 2007 SP2 these 
kind of problems started to appear there too. It caused so much trouble in 
our application so we had to downgrade to IB 2007 SP1.
The first (seemingly Linux-related) problem still exist though.

I will try to get some appropriate test material gathered during the next 
few days but would also like to know if anything followed from this 
NG-question.

Regards,
Kjell Ljungqvist


"Wayne Niddery [TeamB]" <wniddery@chaffaci.on.ca> wrote in message 
news:4682823d$1@newsgroups.borland.com...
> Brian Ellul wrote:
>> I have a SP which used to compile under IB7.1 but doesn't with IB2007!
>>
>> Update InvDtl I
>> Set    I.GrossAmount = I.GrossAmount + :AmountDifference_G,
>>         I.NetAmount   = I.NetAmount   + :AmountDifference_N
>> Where  I.CompanyID   = :iCompanyID
>> And    I.InvID       = :iInvID
>> And    I.LineType Not In ('A','C')
>> And    I.RowCounter  = :MinRow
>> And    I.ProductID   = :ProductID;
>>
>> error: alias I conflicts with an alias in the same statement
>>
>> If I remove the alias 'I', then it's fine. Was this changed in IB2007?
>
> That's weird, I don't see anything in the statement that should cause this 
> error, it all looks good to me. If you can spare the time, maybe you could 
> narrow down more what "offends" IB2007 - is it one of the items in the set 
> clause or the where clause, is it just one or any? Looks like a bug.
>
> -- 
> Wayne Niddery - Winwright, Inc (www.winwright.ca)
> "Nature abhors the vacuum tube." - J.R. Pierce, Bell Labs engineer who
> coined the term 'transistor'
> 
Technical Details
Message-ID: <46a9ce64$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <468211ea@newsgroups.borland.com> <4682823d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,9dc1e417b6fe5383
X-Google-Attributes: gid114a0e,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Kjell Ljungqvist" <kjell@REMOVETHIS.iki.fi>
Newsgroups: borland.public.interbase.sql
References: <468211ea@newsgroups.borland.com> <4682823d$1@newsgroups.borland.com>
Subject: Re: Can Compile this statement
Date: Fri, 27 Jul 2007 13:52:15 +0300
Lines: 47
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-RFC2646: Format=Flowed; Response
NNTP-Posting-Host: 213.250.81.14
Message-ID: <46a9ce64$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1185533540 213.250.81.14 (27 Jul 2007 03:52:20 -0700)
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail