Обсуждение: [GENERAL] Appending to multidimentional array.

Поиск
Список
Период
Сортировка

[GENERAL] Appending to multidimentional array.

От
VENKTESH GUTTEDAR
Дата:
Hello,

    Is there a way to append an array to a multidimentional array in PL/PGSQL procedure?

    EG:
    Array_1 = [][];
    Array_2 = '{1,2,3,4,5}';

Result should be :
   Array_1 = {{1,2,3,4,5}};
   

--
Regards :
Venktesh Guttedar.

Re: [GENERAL] Appending to multidimentional array.

От
Chris Travers
Дата:
Array_1 :== Array_1 || Array[Array_2]

I think

On Tue, Dec 13, 2016 at 6:08 AM, VENKTESH GUTTEDAR <venkteshguttedar@gmail.com> wrote:
Hello,

    Is there a way to append an array to a multidimentional array in PL/PGSQL procedure?

    EG:
    Array_1 = [][];
    Array_2 = '{1,2,3,4,5}';

Result should be :
   Array_1 = {{1,2,3,4,5}};
   

--
Regards :
Venktesh Guttedar.




--
Best Wishes,
Chris Travers

Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor lock-in.

Re: [GENERAL] Appending to multidimentional array.

От
VENKTESH GUTTEDAR
Дата:
Hello Chris Travers.

Its working.
You saved my day.:)

Thanks a tons.


On Tue, Dec 13, 2016 at 9:18 AM, Chris Travers <chris.travers@gmail.com> wrote:
Array_1 :== Array_1 || Array[Array_2]

I think

On Tue, Dec 13, 2016 at 6:08 AM, VENKTESH GUTTEDAR <venkteshguttedar@gmail.com> wrote:
Hello,

    Is there a way to append an array to a multidimentional array in PL/PGSQL procedure?

    EG:
    Array_1 = [][];
    Array_2 = '{1,2,3,4,5}';

Result should be :
   Array_1 = {{1,2,3,4,5}};
   

--
Regards :
Venktesh Guttedar.




--
Best Wishes,
Chris Travers

Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor lock-in.



--
Regards :
Venktesh Guttedar.

Re: [GENERAL] Appending to multidimentional array.

От
Chris Travers
Дата:


On Tue, Dec 13, 2016 at 6:08 AM, VENKTESH GUTTEDAR <venkteshguttedar@gmail.com> wrote:
Hello,

    Is there a way to append an array to a multidimentional array in PL/PGSQL procedure?

    EG:
    Array_1 = [][];
    Array_2 = '{1,2,3,4,5}';

Result should be :
   Array_1 = {{1,2,3,4,5}};

Forgot to reply all (in case someone searches the archives later):
Array_1 :== Array_1 || Array[Array_2] 

   

--
Regards :
Venktesh Guttedar.




--
Best Wishes,
Chris Travers

Efficito:  Hosted Accounting and ERP.  Robust and Flexible.  No vendor lock-in.