Advertisement

08.05.2008 at 04:27AM PDT, ID: 23621784
[x]
Attachment Details

Split String

Asked by DrAske in Oracle 10.x, PL / SQL, Oracle 11.x Database

Hi Experts ..

    I have a comma seperated string (1, 2, 3, 445, 2213), and I want to write a function to seperate it.

   In the following snippet, it is part of Oracle pacakge, I just want to know how to split the string and add it to string_list type.

   Thank you very much,Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
PACKAGE my_package IS
    /******************************************
   /* nvarchar2 array used used within Oracle package.
   /********************************************/
   TYPE string_list IS VARRAY (2000) OF nvarchar2(1000);
     
   FUNCTION split_nvarchars_list(p_list IN nvarchar2 ) RETURN string_list;
END;
[+][-]08.05.2008 at 05:21AM PDT, ID: 22160143

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 05:24AM PDT, ID: 22160154

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 05:30AM PDT, ID: 22160192

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 06:39AM PDT, ID: 22160728

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.05.2008 at 10:48PM PDT, ID: 22167390

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Oracle 10.x, PL / SQL, Oracle 11.x Database
Sign Up Now!
Solution Provided By: sujith80
Participating Experts: 3
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628