Does anyone know how to do a Case Insensitive Search/Query with Postgres 7.4?
I was thinking RegEx but not sure how to do this or maybe there is a function/flag or something I could add the the query?
I'm using PHP to connect and execute the queries.
So I'm looking to match address information.
Example:
123 main street
123 Main st.
123 Main Street
123 main st
123 Main st
etc...
any thoughts?
SELECT address FROM tbl WHERE address LIKE '%123 %ain%'