problem with LIKE predicate and wildcards
От
Steve Maring
Тема
problem with LIKE predicate and wildcards
Дата
Msg-id
35DC29A3.92801C6E@gte-es.com
Список
The only way I have been able to get the LIKE predicate to work at all is like this: SELECT * FROM profiles WHERE lastname LIKE 'Marin%'; returns rows with lastname starting with 'Marin' I cannot seem to say: LIKE '%aring' LIKE 'Ma%ing' LIKE '_aring' Specifically I need to search for rows like this: SELECT id FROM profiles WHERE id LIKE '_____001'; should return: TAMP-001 DALL-001 VANC-001 Can someone PLEASE help me. I'm desparate! Thanks. -Steve Maring smaring@gte-es.com Tampa, FL USA
В списке pgsql-sql по дате отправления
От: k_ogorman@kompass.ie
Дата: