Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> inserting comma-separated values with pl/sql

inserting comma-separated values with pl/sql

From: Christoph Seidel <Christoph.Seidel1_at_gmx.de>
Date: Fri, 21 Feb 2003 20:22:42 +0100
Message-ID: <b35vdh$1j53eo$1@ID-143718.news.dfncis.de>


Hi there,

i have a stored proc which has a varchar parameter which contains a list of values, separated by comma.

e.g.: 123,456,789

what i wanna do is to separate the values and insert them into a table

e.g.

insert into t (f) values (123);
insert into t (f) values (456);
insert into t (f) values (789);

Can this be done with pl/sql? And if i can be done, how? Received on Fri Feb 21 2003 - 13:22:42 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US