How to find record having % as part of data.

From: Biswa <brnayak26(at)yahoo(dot)com>
To: pgsql-performance(at)postgresql(dot)org
Subject: How to find record having % as part of data.
Date: 2011-09-26 13:34:44
Message-ID: dbf0d51f-f8ca-4108-8b84-87e45c946e5f@k15g2000yqd.googlegroups.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-performance

Hi,
I am having problem retrieving data with % in the value. I tried a lot
but so far i have no luck.

for example i have first name = 'abc', middle name = 'pq%', last name
= '123'

I want to list all the entries that ends with %. Because those are
wrong entries and i want to remove % from the middle name and retain
'pq' only.

Any help is very much appreciated.

Thanks
Biswa.

Responses

Browse pgsql-performance by date

  From Date Subject
Next Message Biswa 2011-09-26 14:19:16 Re: How to find record having % as part of data.
Previous Message Antonio Rodriges 2011-09-26 12:51:12 Re: [PERFORMANCE] Insights: fseek OR read_cluster?