Re: How to get normalized data from tekst column

From: "Andrus" <kobruleht2(at)hot(dot)ee>
To: "David Johnston" <polobo(at)yahoo(dot)com>
Cc: <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to get normalized data from tekst column
Date: 2011-11-24 15:17:52
Message-ID: 47A7FF8B42E54A0392A1F9046555ABFB@dell2
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

David,
>Regular Expressions are your friend here. If you do not know them you should learn them; though if you ask nicely someone may just provide you the solution you need.
>Split-to-array and unnest may work as well.

Thank you very much. I don’t know regexps.
Can you provide example, please for 8.1. Or maybe CASE WHEN and substring testing can also used.

Andrus.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Pavel Stehule 2011-11-24 15:37:19 Re: Reassign value of IN parameter in 9.1.1
Previous Message David Johnston 2011-11-24 15:10:06 Re: How to get normalized data from tekst column