| From: | "Scott Marlowe" <scott(dot)marlowe(at)gmail(dot)com> |
|---|---|
| To: | "hendra kusuma" <penguinroad(at)gmail(dot)com> |
| Cc: | pgsql-general(at)postgresql(dot)org |
| Subject: | Re: |
| Date: | 2008-12-06 05:45:12 |
| Message-ID: | dcc563d10812052145t48716136v366e2a6c421f9ca9@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general |
On Fri, Dec 5, 2008 at 9:11 PM, hendra kusuma <penguinroad(at)gmail(dot)com> wrote:
> Dear all,
>
> I create a stored function to select some row and return it as cursor.
> the function receive some parameter that later I put it in where clause
> But I found that select statement runs Case Sensitive
> so if I have a record, for example
> - id -nama_pelanggan
> - 1 - Wira
>
> I wil get the result if I call it this way : select
> penggunaselect('mycursor', 'Wi');
> but I don't got any row if I call it like this : select
> penggunaselect('mycursor', 'Wi');
> I need the search to run in not-case-sensitive mode
Change like to ilike
| From | Date | Subject | |
|---|---|---|---|
| Next Message | hendra kusuma | 2008-12-06 05:45:22 | Re: select return case sensitive record |
| Previous Message | hendra kusuma | 2008-12-06 04:11:36 |