pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Jose' Soares Da Silva <sferac@bo.nettuno.it>
To: Marin D <marin@iclub.techno-link.com>
Cc: Jerome Knobl <jknobl@mandanet.ch>
Cc: Mike Lemler <coronach@datacruz.com>
Cc: pgsql-sql@postgreSQL.org
Cc: sferac@nettuno.it
Subject: Re: [SQL] Case in-sensitive searches
Date: Tue, 19 May 1998 12:31:42 +0000 (UTC)
Message-ID: <Pine.LNX.3.96.980519123041.1095A-100000@proxy.bazzanese.com> (raw)
In-Reply-To: <Pine.LNX.3.96.980519105339.3276B-100000@server.iclub.techno-link.com>

On Tue, 19 May 1998, Marin D wrote:

> 
> upper()/lower() are defined only for text fields. How to deal with charN ?
> 
version 6.3:

prova=> create table a ( var varchar(20), ch char(30));
CREATE
prova=> insert into a values ('nome','pippo');
INSERT 76394 1
prova=> select * from a;
var |ch
----+------------------------------
nome|pippo
(1 row)

prova=> select upper(var), upper(ch) from a;
upper|upper
-----+------------------------------
NOME |PIPPO
(1 row)
                                              Jose' 




view thread (5+ messages)  latest in thread

Message-ID: <Pine.LNX.3.96.980519123041.1095A-100000@proxy.bazzanese.com>
Permalink:  ../Pine.LNX.3.96.980519123041.1095A-100000@proxy.bazzanese.com/
Also on:    postgresql.org/message-id/Pine.LNX.3.96.980519123041.1095A-100000@proxy.bazzanese.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-sql@postgresql.org
  Cc: sferac@bo.nettuno.it, marin@iclub.techno-link.com, jknobl@mandanet.ch, coronach@datacruz.com, sferac@nettuno.it
  Subject: Re: [SQL] Case in-sensitive searches
  In-Reply-To: <Pine.LNX.3.96.980519123041.1095A-100000@proxy.bazzanese.com>
  References: <Pine.LNX.3.96.980519105339.3276B-100000@server.iclub.techno-link.com> <Pine.LNX.3.96.980519123041.1095A-100000@proxy.bazzanese.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