| From: | "Jose' Soares Da Silva" <sferac(at)bo(dot)nettuno(dot)it> |
|---|---|
| To: | Marin D <marin(at)iclub(dot)techno-link(dot)com> |
| Cc: | Jerome Knobl <jknobl(at)mandanet(dot)ch>, Mike Lemler <coronach(at)datacruz(dot)com>, pgsql-sql(at)postgreSQL(dot)org, sferac(at)nettuno(dot)it |
| Subject: | Re: [SQL] Case in-sensitive searches |
| Date: | 1998-05-19 12:31:42 |
| Message-ID: | Pine.LNX.3.96.980519123041.1095A-100000@proxy.bazzanese.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-sql |
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'
| From | Date | Subject | |
|---|---|---|---|
| Next Message | The Web Administrator | 1998-05-19 13:22:39 | Re: [SQL] How to handle a requirement for nextval |
| Previous Message | Jose' Soares Da Silva | 1998-05-19 09:50:07 | Re: [SQL] How to handle a requirement for nextval |