Procedure to get semicolon seperated values using select query
554406Jan 4 2007 — edited Jan 4 2007I have got a requirement where I need to return a string with semi colon separated values. Input will also be a semi colon separated values I need to fetch data from tables and append those values into a string seperated by a semi colon.
Example
CREATE OR REPLACE
PROCEDURE GET_MAIL_IDS_FROM_ROLES
(roleIds IN varchar, mailIds OUT varchar)
select * from xxx where roles in (roleIds )
Thankyou