CodeCharge Studio
search Register Login  

Visual PHP Web Development

Visually Create Internationalized Web Applications, Web Reports, Calendars, and more.
CodeCharge.com

YesSoftware Forums -> CodeCharge Studio -> Tips & Solutions

 PostgreSQL database searching

Print topic Send  topic

Author Message
Benjamin Krajmalnik
Posted: 04/11/2006, 11:47 AM

Unlike MS SQL Server and many other databases whose default mode is for
searches to be case insensitive, PotgreSQL always uses a case sensitive
search.
In a purist sense, the PostgreSQL team is correct. We can debate all day on
whether this is the correct way of doing this or not <vbg>, but more
important is to have a solution, since mosy of us would like our "contains",
etc. searches to be case insensitive.

To address this, PostgreSQL has extended the syntax to include an operator
called "ILIKE". TO make all PostgreSQL searches case insensitive, you need
to modify your classes common file (Classes.php, Classes.ASP, etc.) and
change the occurrences of "like" with "ilike".

The other solution is a more complex one, since it would not fit as well
within the framework, since it would require using expressions in the query
editor.





Add new topic Subscribe to topic   


These are Community Forums for users to exchange information.
If you would like to obtain technical product help please visit http://support.yessoftware.com.

Internet Database

Visually create Web enabled database applications in minutes.
CodeCharge.com

Home   |    Search   |    Members   |    Register   |    Login


Powered by UltraApps Forum created with CodeCharge Studio
Copyright © 2003-2004 by UltraApps.com  and YesSoftware, Inc.