X-Original-To: pgsql-sql-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 8825052815 for ; Tue, 19 Jul 2005 14:11:39 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 91579-09 for ; Tue, 19 Jul 2005 17:11:29 +0000 (GMT) Received: from barclay.textdrive.com (barclay.textdrive.com [70.84.207.162]) by svr1.postgresql.org (Postfix) with ESMTP id 37EAA5280C for ; Tue, 19 Jul 2005 14:11:25 -0300 (ADT) Received: from [132.205.156.178] (dyn-wireless-156-178.Concordia.CA [132.205.156.178]) by barclay.textdrive.com (Postfix) with ESMTP id CE691399FB for ; Tue, 19 Jul 2005 17:11:25 +0000 (GMT) Mime-Version: 1.0 (Apple Message framework v733) Content-Transfer-Encoding: 7bit Message-Id: <1DFC0740-7EF9-4104-BDDF-C1436453EF33@protoseinc.com> Content-Type: text/plain; charset=US-ASCII; format=flowed To: pgsql-sql@postgresql.org From: John Kopanas Subject: funstions for parsing words Date: Tue, 19 Jul 2005 13:11:31 -0400 X-Mailer: Apple Mail (2.733) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests= X-Spam-Level: X-Archive-Number: 200507/166 X-Sequence-Number: 22144 I have a table called Phrases that holds the text of a phrase. I want write a query that will return all the words found in all the text of the Phrases. Like so: Phrases: ------------ "Hello World" "Goodbye World" "I like candy Words (select statement result): ------------ "Hello" "World" "Goodbye" "I" "Like" "Candy" Is anything like this possible? Thanks alot. Your Friend, John Kopanas