Looping through arrays

From: Robert Fitzpatrick <lists(at)webtent(dot)net>
To: PostgreSQL <pgsql-general(at)postgresql(dot)org>
Subject: Looping through arrays
Date: 2005-11-03 23:15:08
Message-ID: 1131059708.15568.64.camel@columbus.webtent.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

I have a field with 'AA-BB-CC-DD' and I want to pull those four values
into an array and then loop through the array inserting records into a
table for each element. Can you someone point me to an example of this
in pl/pgsql?

--
Robert

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Leonel Nunez 2005-11-04 02:52:05 Re: Postgresql connection on suse 10
Previous Message Jim C. Nasby 2005-11-03 22:04:49 Re: Replicating databases