Article View: borland.public.interbase.sql
Article #713Alias Error
From: Adalberto Baldini
Date: Tue, 31 Jul 2007 08:05
Date: Tue, 31 Jul 2007 08:05
20 lines
1394 bytes
1394 bytes
I have this Query that works : select a.desmov, a.CAU, (select c.descr from CODCAU c where codcau=a.cau and fblc = '0' and fdel = '0') as Descau from GIOREG a when I modify as follow I get error Column unknown Descau select a.desmov, a.CAU, (select c.descr from CODCAU c where codcau=a.cau and fblc = '0' and fdel = '0') as Descau , case descau when '' then a.desmov else Descau||' '||a.desmov end as Descrreg from GIOREG a Thanks for help Adalberto Baldini
Technical Details
Message-ID:
<46aeed57@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Thread: 114a0e,10e301d34eec0f4d,start X-Google-Attributes: gid114a0e,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Date: Tue, 31 Jul 2007 10:05:43 +0200 From: Adalberto Baldini <finman@swissonline.ch> User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.2) Gecko/20040804 Netscape/7.2 (ax) X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: borland.public.interbase.sql Subject: Alias Error Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 212.41.109.185 Message-ID: <46aeed57@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1185869143 212.41.109.185 (31 Jul 2007 01:05:43 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail