Re: TYPE TABLE OF NUMBER

From: Raghavendra <raghavendra(dot)rao(at)enterprisedb(dot)com>
To: utsav <utsav(dot)pshah(at)tcs(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: TYPE TABLE OF NUMBER
Date: 2012-06-04 04:41:06
Message-ID: CA+h6AhieJg5jVQ97n=4kcH5-iDXzf2=qs3UWLSOfrHoRJbFZPQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On Fri, Jun 1, 2012 at 9:18 PM, utsav <utsav(dot)pshah(at)tcs(dot)com> wrote:

> we are doing mgration activity form oracle to postgresql 9.1
>
> How to convert this type :
>
> ORACLE :
>
> CREATE OR REPLACE TYPE "NUMBER_ARRAY" IS TABLE OF NUMBER
>
> please let me know how we can achive this in postgresql
>
>
> My understanding
>
> POSTGRESQL :
>
> CREATE TYPE "NUMBER_ARRAY" AS (arr int);
>
> Appreciate any help !
>
>
Does this helps ?
http://www.postgresql.org/docs/9.1/static/sql-createdomain.html

---
Regards,
Raghavendra
EnterpriseDB Corporation
Blog: http://raghavt.blogspot.com/

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message utsav 2012-06-04 05:00:18 Re: TYPE TABLE OF NUMBER
Previous Message Alexander Reichstadt 2012-06-03 23:50:40 Re: [postgres no lnger launches