pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Nick Fankhauser <nickf@ontko.com>
To: Robson Martins <robson-martins@bol.com.br>
To: pgsql-admin@postgresql.org
Subject: Re: What err ???
Date: Fri, 7 Jun 2002 10:49:26 -0500
Message-ID: <NEBBLAAHGLEEPCGOBHDGOEHEFBAA.nickf@ontko.com> (raw)
In-Reply-To: <001701c20e11$b6ff1b00$3a3c620a@catnet.com.br>

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/




view thread (11+ messages)  latest in thread

Message-ID: <NEBBLAAHGLEEPCGOBHDGOEHEFBAA.nickf@ontko.com>
Permalink:  ../NEBBLAAHGLEEPCGOBHDGOEHEFBAA.nickf@ontko.com/
Also on:    postgresql.org/message-id/NEBBLAAHGLEEPCGOBHDGOEHEFBAA.nickf@ontko.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: nickf@ontko.com, robson-martins@bol.com.br
  Subject: Re: What err ???
  In-Reply-To: <NEBBLAAHGLEEPCGOBHDGOEHEFBAA.nickf@ontko.com>
  References: <001701c20e11$b6ff1b00$3a3c620a@catnet.com.br> <NEBBLAAHGLEEPCGOBHDGOEHEFBAA.nickf@ontko.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox