Received: from localhost.localdomain (postgresql.org [64.49.215.8]) by localhost (Postfix) with ESMTP id 15527476A50 for ; Fri, 7 Jun 2002 12:48:58 -0400 (EDT) Received: from shire.ontko.com (shire.ontko.com [199.164.165.1]) by postgresql.org (Postfix) with ESMTP id 6A9BA476B31 for ; Fri, 7 Jun 2002 11:55:13 -0400 (EDT) Received: from nick (bilbo.ontko.com [199.164.165.101]) by shire.ontko.com (8.9.3/8.9.3/Debian 8.9.3-21) with SMTP id KAA11811; Fri, 7 Jun 2002 10:52:31 -0500 X-Authentication-Warning: shire.ontko.com: Host bilbo.ontko.com [199.164.165.101] claimed to be nick Reply-To: From: "Nick Fankhauser" To: "Robson Martins" , Subject: Re: What err ??? Date: Fri, 7 Jun 2002 10:49:26 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0) In-Reply-To: <001701c20e11$b6ff1b00$3a3c620a@catnet.com.br> Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 X-Archive-Number: 200206/48 X-Sequence-Number: 4483 Try: SELECT RazaoSocial || ' - ' || coalesce(Bairro || ' ','') || CGCCli As Coluna FROM Clientes WHERE RazaoSocial Like '%A%'; >SELECT RazaoSocial + ' - ' + Iif(Bairro Is Null,'',Bairro + ' ') + CGCCli As Coluna FROM >Clientes WHERE RazaoSocial Like '%A%' Regards, Nick -------------------------------------------------------------------------- Nick Fankhauser nickf@ontko.com Phone 1.765.935.4283 Fax 1.765.962.9788 Ray Ontko & Co. Software Consulting Services http://www.ontko.com/