Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion Groups
Database Servers
DB2InformixIngresMS SQLOraclePervasive.SQLPostgreSQLProgressSybase
Desktop Databases
FileMakerFoxProMS AccessParadox
General
General DB TopicsDatabase Theory
Related Topics
Java Development.NET DevelopmentVB DevelopmentMore Topics ...

Database Forum / DB2 Topics / May 2007

Tip: Looking for answers? Try searching our database.

case insensitive ??

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
news.onet.pl - 21 May 2007 15:48 GMT
Hallo!!

Is it possible to set database (db2 v8) to be case insensitive??

Signature

Regards, Wojtas
http://www.e-krug.com/

Visu - 21 May 2007 21:12 GMT
Take a look at this IBM article

http://tinyurl.com/23df3u

http://www-128.ibm.com/developerworks/db2/library/techarticle/0203adamache/0203a
damache.html


> Hallo!!
>
[quoted text clipped - 3 lines]
>
> Regards, Wojtashttp://www.e-krug.com/
aj - 21 May 2007 21:52 GMT
Speaking for DB2 LUW (Linux, Unix, Windows), not that I have ever seen.

Looks like upper() (or lower()) is your new best friend..

Hint: use a generated column for the uppercase, and index off that.
CREATE TABLE FOO
  (c1 VARCHAR(255), c1_upper GENERATED ALWAYS AS (UPPER(c1))) ;
CREATE INDEX idx ON FOO(c1_upper);

hth
aj

> Hallo!!
>
> Is it possible to set database (db2 v8) to be case insensitive??
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2009 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.