Re: how can I make a "LIKE" select with case insensitivity using Oracle ?????

From: Date: Thu, 07 Sep 2000 03:03:25 +0000
Subject: Re: how can I make a "LIKE" select with case insensitivity using Oracle ?????
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-2677@lists.php.net to get a copy of this message
Try this select company from mytable where to_upper(company) like 'XA%'; cheers, Stephen Blake ----- Original Message ----- From: "Joey Garcia" <jgarcia@mobilize.com> To: <php-db@lists.php.net> Sent: Wednesday, September 06, 2000 4:50 PM Subject: [PHP-DB] how can I make a "LIKE" select with case insensitivity using Oracle ????? > A company name is "Xavor" > and I want to prompt a user (using WML) to type in the first 2 characters of > a company name then perform select on it, such as : > > select company from mytable where company like 'xa%' #this returns nothing > select company from mytable where company like 'Xa%' #this returns Xavor > > > Any help would be appreciated > > -- Joey > > > > > > -- > PHP Database Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net > For additional commands, e-mail: php-db-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.db (#2677) next »