Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-general by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group