View Full Version : LIKE statment in postgresql
| I've got to have a query using the LIKE operator... What is the Jolly character to run the query correctly?
exaple:
SELECT * FROM Computers WHERE Description LIKE 'HZLMP*'
and...
can i remove the case sensitive option in postgreSQL???
thanks... |
You will need thsi search operator
SELECT * FROM TABLE WHERE name~*"HJSDHK";
this is case insensitive and you will get all rows where this string is in
| ILIKE is also available on PostgreSQL (at least, later versions):
SELECT * FROM Computers WHERE Description ILIKE 'HZLMP* |
vBulletin v3.5.3, Copyright ©2000-2008, Jelsoft Enterprises Ltd.