Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> Little PL/SQL. 100% DBAs HIT DELETE
Hi !!
One of my developer wants to fetch some ids from the table (currently in the orders of 100s at a time..may go upto 1000) and after checking some condition, and if it is satisfied, wants to concat these ids in to a string and passon to the front end (to a web page) .
If it is direct fetch and return a ref cursor can be used. How to concat these ids to a string separated by commas(since varchar is blowing the limits)and return to the frontend?
Tried using DBMS_LOB (with a return datatype LOB) but APPEND does not allow to use comma separated string.
Am I missing something obvious ?