Re: case-insensitive database - Mailing list pgsql-general

From Dennis Gearon
Subject Re: case-insensitive database
Date
Msg-id 3F64CA36.5010202@fireserve.net
Whole thread Raw
In response to Re: case-insensitive database  ("Relaxin" <noname@spam.com>)
List pgsql-general
Relaxin wrote:

>No, I mean the data.
>
>select * from stocks where symbol = 'AADBX'
>and
>select * from stocks where symbol = 'aadbx'
>
>would bring up the same result set.
>
>
>
Look in the manuals, there are SQL functions like:

STRTOLOWER( ); STRTOUPPER() like those in 'C'

Usage:
-------
SELECT *
FROM stocks
WHERE
    STRTOLOWER( symbol ) = STRTOLOWER( 'AADBX' );



pgsql-general by date:

Previous
From: "Relaxin"
Date:
Subject: case-insensitive database
Next
From: Stephan Szabo
Date:
Subject: Re: case-insensitive database