Board index » delphi » Case insensitive collation

Case insensitive collation

Hi there,

How should I set the case insensitive collation?  I would like to have the
data sorted in case insensitive manner.  Currently, the UPPERCASE is sorted
first and LOWERCASE later, and that had consituted some major problems when
I try to locate the record with "%".

Thanks.

Kelvin Chua
SINGAPORE

 

Re:Case insensitive collation


Hi there,

How should I set the case insensitive collation?  I would like to have the
data sorted in case insensitive manner.  Currently, the UPPERCASE is sorted
first and LOWERCASE later, and that had consituted some major problems when
I try to locate the record with "%".

Thanks.

Kelvin Chua
SINGAPORE

Re:Case insensitive collation


http://www.brookstonesystems.com
Then you need to declare charset and collation for fields. You can declare
charset globally, but collation is a per-field setting.

C.
--
Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
Independent developer
Owner of the Interbase? WebRing

Quote
"Kelvin Chua" <NOkelvinS...@accpro.com.sg> wrote in message

news:3bff0c33$1_1@dnews...
Quote
> Hi there,

> How should I set the case insensitive collation?  I would like to have the
> data sorted in case insensitive manner.  Currently, the UPPERCASE is
sorted
> first and LOWERCASE later, and that had consituted some major problems
when
> I try to locate the record with "%".

> Thanks.

> Kelvin Chua
> SINGAPORE

Re:Case insensitive collation


Hi Claudio,

Thank you very much.

Kelvin Chua
SINGAPORE

"Claudio Valderrama C." <cva...@willbounce.org> wrote in message
news:3bff1c88_1@dnews...

Quote
> http://www.brookstonesystems.com
> Then you need to declare charset and collation for fields. You can declare
> charset globally, but collation is a per-field setting.

> C.
> --
> Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
> Independent developer
> Owner of the Interbase? WebRing

> "Kelvin Chua" <NOkelvinS...@accpro.com.sg> wrote in message
> news:3bff0c33$1_1@dnews...
> > Hi there,

> > How should I set the case insensitive collation?  I would like to have
the
> > data sorted in case insensitive manner.  Currently, the UPPERCASE is
> sorted
> > first and LOWERCASE later, and that had consituted some major problems
> when
> > I try to locate the record with "%".

> > Thanks.

> > Kelvin Chua
> > SINGAPORE

Re:Case insensitive collation


You can change the characterset that you're using to use the collation you
want as the default - that at least takes some work away from you :)

--
Martijn Tonies
InterBase Workbench - the developer tool for InterBase and Firebird
http://www.interbaseworkbench.com

Upscene Productions
http://www.upscene.com

"This is an object-oriented system.
If we change anything, the users object."

"Claudio Valderrama C." <cva...@willbounce.org> wrote in message
news:3bff1c88_1@dnews...

Quote
> http://www.brookstonesystems.com
> Then you need to declare charset and collation for fields. You can declare
> charset globally, but collation is a per-field setting.

> C.
> --
> Claudio Valderrama C. - http://www.cvalde.com - http://www.firebirdSql.org
> Independent developer
> Owner of the Interbase? WebRing

> "Kelvin Chua" <NOkelvinS...@accpro.com.sg> wrote in message
> news:3bff0c33$1_1@dnews...
> > Hi there,

> > How should I set the case insensitive collation?  I would like to have
the
> > data sorted in case insensitive manner.  Currently, the UPPERCASE is
> sorted
> > first and LOWERCASE later, and that had consituted some major problems
> when
> > I try to locate the record with "%".

> > Thanks.

> > Kelvin Chua
> > SINGAPORE

Other Threads