Case of strings

From: "Simon Windsor" <simon(dot)windsor(at)cornfield(dot)org(dot)uk>
To: <pgsql-general(at)postgresql(dot)org>
Subject: Case of strings
Date: 2004-02-27 12:06:58
Message-ID: E1Awgi6-0007bk-00@gaul.cornfield.org.uk
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi

I have moved an application from MySQL to PgSQL, and after the making
changes I thought all was ok.

However, I have just realised that

Where A = 'STRING'

Is not the same as

Where A ='String'

Is there anyway I can force the PgSQL to accept case equivalence, or must I
add upper()/lower() to force the case and then make string tests?

Ie Where upper(A)=upper('String')

Many thanx

Simon

Simon Windsor

Eml: simon(dot)windsor(at)cornfield(dot)org(dot)uk

Tel: 01454 617689

Mob: 07960 321599

--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
Mailscanner thanks transtec Computers for their support.

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Sezai YILMAZ 2004-02-27 12:15:10 PostgreSQL insert speed tests
Previous Message Bas Scheffers 2004-02-27 10:32:26 Re: Help with a query