problem with pipe separated from the input parameters to call

Hi all

I have a requirment as...

I have a Sp 10 which have 3 SETTINGS and 3 settings as shown below...


PROCEDURE sample_sp1 (p_start_dt IN VARCHAR2,
p_end_dt IN VARCHAR2,
p_shift IN varchar2,
p_out1 OUT t_bpd_nm, - array type
p_out2 OUT t_target, - array type
p_out3 to t_drr); -type of array



PROCEDURE sample_sp2 (p_start_dt IN VARCHAR2,
p_end_dt IN VARCHAR2,
p_shift IN varchar2,
p_out1 OUT t_bpd_nm, - array type
p_out2 OUT t_target, - array type
p_out3 to t_drr); -type of array



.........


..........


PROCEDURE sample_sp10 (p_start_dt IN VARCHAR2,
p_end_dt IN VARCHAR2,
p_shift IN varchar2,
p_out1 OUT t_bpd_nm, - array type
p_out2 OUT t_target, - array type
p_out3 to t_drr); -type of array






Now, I have to create a new SP. This SP, I have to call one of the top 10 SP and have to come back as a REF CURSOR.


the entries to the new MS are 3 as... (shown below).


create or replace new_sp (p_report_name IN varchar2,
p_report_inputs IN varchar2,
p_report_as_ref to ref_cur_type) is


..............

where p_report_name is a name of sp
p_report_inputs is the input to SP parameters with "|" separated pipes (ex: ' 23/04/2010 | 20/05/2010 | 2 ')
p_report_as_ref is setting to return as an OUT refcursor.


I'm unable to manage the setting shild (with tickets). How to separate input parameters and how can I call existing SP
with these settings?


friends... can someone help me please...


Thanks in advance...

What of it?

with t as
(select replace('500 Oracle Parkway| Redwood Shores| CA','|',',') str from dual)
SELECT
  replace(REGEXP_SUBSTR(str,'[^,]+,'),',') first,
  replace(REGEXP_SUBSTR(str,',[^,]+',1,1),',') second,
  replace(REGEXP_SUBSTR(str,',[^,]+',1,2),',') third
  FROM t;

----
500 Oracle Parkway      Redwood Shores      CA

Tags: Database

Similar Questions

  • I want to register my phone with a chip from the Bahamas to make calls to the

    I want to register my phone with a chip from the Bahamas to make calls to the United States, but it is not an option. Is there a work around for another option? I have unlimited international calls

    Unfortunately, the SkypeToGo program is not available in the Bahamas.

    TIME ZONE - US EAST. LOCATION - PHILADELPHIA, PA, USA.

    I recommend that you always run the latest version of Skype: Windows & Mac

    If my advice helped to solve your problem, please mark it as a solution to help others.
    Please note that I usually do not respond to unsolicited private Messages. Thank you.

  • I have a problem with stop emails from the box fan to my email inbox. Please can you help me to permanently delete the email in the fan box to my account

    Please can help me with the removal of the emails from my Inbox my account permanently fan. Also the emails coming from mirandera, please I tried everything to remove these shippers and I have been in vain, that's why I ask you not now to help me get rid of these senders of emails. Thank you.

    Hi Rachel,

    Thank you for your response and keep us updated.

    Be assured that we will be standing your answer. If there are updates on the question, do not hesitate to let us know and we will follow up with you as soon as possible.

  • I have a problem with removing programs from the childs account.

    Original title: how to remove programs from my childs account?  He said that you are not allowed (as it should), but does not other options.

    I was cleaning my sons account and could not uninstall or remove most of the things.

    Its been a problem since I bought this new computer.   Some programs such as Adobe Flash, Chrome, etc. installed on my account, but not on other accounts.       They must be installed on each user account if they choose to use ie: Chrome, Adobe, Java etc.
    When Adobe Flash is installed for IE it is installed only on the user account that is not installed on the computer. So basically 3 accounts 3 downloads.
    Makes no sense.   However, some programs install to all accounts.
    When I uninstall a program from an admin account it does uninstall not other accounts 2 user.
    Logging into his account, I can't remove or uninstall.   I don't really want to delete the entire account.
    How can I accomplish this?
    Thanks, Denise

    Programs may vary in how they handle the installation and the removal of several accounts.
    I suggest to uninstall those that are a problem, temporarily change the account of the child to the administrator, connect you and make uninstalling and then change it back.   Not an elegant solution, but it should work.

  • problem with uploading photos from the built-in digital camera to computer

    I plug ZTE 102 mobile camera integrated in the computer to download photoes on computer Assistant (my Photoes) don't complete not the task because it dosent reconise the camera in his list of choices

    Hello

    1. what error message do you receive when you try to connect the phone to your computer? 2. this working fine before?
    3 have you tried to connect to a different USB port?
    4. another USB device works on your computer?

    To connect the phone to the computer, you need a PC suite installed on the computer.  If the phone manufacturers have supplied PC suite CD, then install the software on the computer.

    Perform a clean boot and check if it helps the wizard to finish the task.
    How to configure Windows XP to start in a "clean boot" State
    http://support.Microsoft.com/kb/310353
    Note: Make sure you place the computer in normal mode when you are finished troubleshooting

  • Webcam with integrated microphone. Very low sound MIC, but also an ai Genius separated from the webcam microphone. How do we install the additional microphone?

    Webcam with integrated microphone.

    Webcam with integrated microphone. Very low sound MIC, but also an ai Genius separated from the webcam microphone. How do we install the additional microphone? more details on settings please

    to check your setting first:

    Right click the speaker icon in the notification area and choose: Adjust Audio properties.

    Or: Control Panel, sounds and Audio devices.

    Volume tab: click Advanced under Speaker settings and open the drop-down list for the speaker setup and choose your speakers, click on apply.

    Click the performance tab and move the sliders to the complete and best, click OK.

    According to the Volume of the device, click Advanced.

    On the page of the Volume control, click Options in the menu, click Properties.

    Mixing should be your system and not one of your pickups.

    With reading selected all the check boxes.

    Click record, peripheral mixing system, check all the boxes.

    Click play again, and then click OK.

    Volume control, "as you like it".

    Vague, put the max slider.

    All others are ok in the middle.

    Close the Volume control.

    Now we will install your micro Genius:

    Click on the Audio tab:

    Audio playback: System.

    Sound recording: click the menu drop down and choose your Genius mic, click on apply.

    Click the voice tab:

    Reading of the voice commands: System.

    Voice recording: click the menu drop down and choose your Genius mic, click on apply, click OK

    When you want to use your Web Cam microphone, you will need to go back and select again instead of your micro Genius.

  • Laptop had a problem to "Solve a problem with PSIKey", solution from Windows & installed according to the instructions. How will I know that the problem is solved?

    has stopped working properly.

    An update is available that solves this problem.

    Downloaded Update site Web Protexis, Inc. and told to follow the steps in the installation wizard. The file downloaded and said he was setting up installation. Then after a few seconds, the box has disappeared and nothing else happened. How will I know if this problem has actually been resolved? My laptop has shown 6 problems with this unit from 30/07/11-08/12/11, where the unit has stopped working. Because I don't know what it is yet, I don't know really if the problem is solved or not. What should I do at this point? I have a SP2 7520-5185, running Vista Home Premium, Acer-Aspire. Thanks for any help you can give.

    Hello

    If you have installed a trial or paid a licensed version of Corel software products, you probably may notice a third unannounced software application makes its way into your computer too. The program is PSIService.exe by Protexis, which installs a Protexis V2 of Licensing Windows operating system service or Protexis licensing service.

    PSIService belongs to protect DRM (digital rights management) copy protection and license management software, which is intended to protect an application or software against piracy and illegal copying. Thus PSI service is normally installed by another program, such as Corel Paint Shop Pro Photo X 2, Corel Paint Shop Pro XI (X 1), Corel Paint Shop Pro X, that uses its service to collect information of license to repatriate much like spyware, protect copy and authenticate the user who is using an authentic version of the program.

    When you tried to download and install the program, if the box that says closed the dialog box when the download is complete has been verified, it will close the dialog box.

    I suggest that you restart the computer and check if you get an error message.

  • I just looked at problems with importing files from nikon D810 in LR 5.7 it pop a window saying it can't read the files to work on an imac 27 "yosemite on my mac pro running after several times he finally managed to read files and import them into LR

    I just looked at problems with importing files from nikon D810 in LR 5.7 it pop a window saying it can't read the files to work on an imac 27 "yosemite on my mac pro running after several times he finally managed to read files and import them into LR, I never had this problem before there was a sort of update that could from cause?

    What is the destination folder that the date be underneath?  In the top right it says users who suggests, you try to put the photos on top of your username instead of under your username.  Maybe that's the problem.  So change your folder in the drop-down list at the bottom right of what it should be rather than users, and if you're going to show us the destination of your photos at least scroll through the list of folders down right so that we can see which is the white highlight.

    Here is how mine looks like if I want to put my photos imported under my subfolder users - Steve - photos by date:

  • Problem with Mail storage on the iPhone 6.

    OK, I have a problem with my mail. That is, it uses 1.2 GB of data. I cleaned all my emails and deleted all the big files. Nothing has changed. So I deleted all e-mail accounts. Still no change. When I plug my phone in iTunes, it says there 2.49 GB free yet my phone says I only have 337 MB of free space. Yes, I tried to sync and see if that has nothing and he did not. No idea what continues?

    Try to reset your email account in this order.

    First close your Mail application completely from the window of the selector app by double clicking the Home button and drag the email preview pane up until it disappears from the display. Then go to settings > Mail, Contacts, calendar > find your e-mail provider and click on the account. On the next page, delete the account. Then perform a forced reboot. Hold down the home and Sleep/Wake buttons simultaneously for about 15-20 seconds , until the Apple logo appears. Then go to settings > mail... and to add the account.

    iTunes and iPhone storage almost never fit. The amount of iTunes is an estimate, the phone is the exact amount.

    Different amounts of 'Available' reported by iPhone and iTunes

    If the above is not enough, you may need to do a system restore. First save your device via iTunes. Also import your photos on your computer and copy all the important data. Reconstruction of the support first test and test. If this does not help, you may need to restore as a new and reconfigure from scratch as the backup may be damaged. It is important to have your photos and your saved data separately from the backup. Here are the steps for a restoration:

    https://support.Apple.com/en-us/HT201252

  • I have problem with value NULL when the use CASE statement please help this question

    I have problem with value NULL when the use CASE statement please help this question


    Table: digital_val

    SNO cl C2

    1 San1 11

    2 22 San2

    Actual result: expected to A         B

    A            B                                                                           11        22

    11 NULL

    22 NULL



    query:

    Select case when c1 = "san1" then c2,.

    case If c1 = "san2" then c2 B

    of digital_val

    I'm more curious why, when you select 2 rows, you expect a result of row?

    WITH digital_val

    AS (SELECT 1 AS 'Sno', 'San1"C1, c2 FROM DUAL 11)

    UNION ALL

    2 SELECT AS 'Sno', 'San2"C1, c2 FROM DUAL 22)

    SELECT CASE WHEN c1 is "San1" THEN END AS A c2.

    CASE WHEN c1 = "San2" THEN END AS B c2

    OF digital_val;

    With no other input, if you select 2 rows, you get 2 rows.  One of the other solutions use a max function, but is this really what you want, does not specify?

  • How to make that guest OS is separated from the host

    Have Win7 (16 GB of ram, 1 TB HD space) is a part of a Small Business Server 2011 domain.  I have a problem with the SBServer and want to look at a new facility to see certain folders permissions have by default. (user redirection folders does not, even if I set permissions per technet article).  Network is 192.168.1.x, can I install a Small business Server 2011 guest (that would be a trial of MS download) and make sure that it is completely separated from the win7 Host and, of course, the field. Then create one or two comments more OS on this same machine win7 and have these comments of BONES join Small Business Server customers?  If so, how do I set that up?

    Thank you, Steve

    Yes it's doable... read the documentation!   Setting up an isolated test with virtual network configuration is no different, so do it with a physical network.  In particular read Chapter 7 "Configuring network connections" in getting started with VMware Player (PDF).

  • I have intermittent problems with iphoto importing from iphone since 0sx 10.11.6. Update

    I have intermittent problems with iphoto importing from iphone since 0sx 10.11.6. -Update

    1 iphoto sees not iphone - restart

    2 iphoto sees iphone but says "no pictures" - restart

    3 Iphoto sees phone and photos and I click Import all or import selected - then I have problem of file format and nothing is imported

    NOTE: I have similar problems with image capture - sometimes you can see the phone and photos, and sometimes is not

    I have an imac 2015 - execution of yosemite

    Help my new iphone because 7 is coming today and I am terrified of the transfer.

    Not sure, but in any case iPhoto is a dead - it would be really smart to learn pictures (a totally new and different program with a learning curve and different workflows)

    With the help of pictures with my new iPhone 7 and iCloud photo library all works well without any problem - nothing different photos with my iPhone except the news and the best quality Photos 5

    LN

  • I have problems with my application of the java language.

    I have problems with my application of the java language. It will be open only for about one second, and it won't let me write all programs, it looks like the command prompt when opening. what the * is underway and what can I do to solve this problem.

    Hey Kevin,

    The description of the problem seems a little unclear and I wish I had a better understanding before you start working on it.

    I would really appreciate if you could answer the following questions:

    1. is the specific question of the application of the Java language?

    2. did you of recent changes made to your computer before the show?

    3. you receive an error code or message?

    Please provide us with more information on the specific question to help you to fix as soon as possible.

    If the problem is specific to the Java application, then I suggest you to contact Java support from the links below:

    http://www.Java.com/en/download/support.jsp

    Java Help Center:

    http://www.Java.com/en/download/help/

    Your response is very important for us to ensure a proper resolution. Please get back to us with the information above to help you accordingly.

  • Hi, I need to send 3 of my 6 tickets off Adobe to a friend, how to record 3 separately from the 6?

    Hi, I need to send 3 of my 6 tickets off Adobe to a friend, how to record 3 separately from the 6?

    You can not with the free software from Adobe. Acrobat Pro or Acrobat Standard can be purchased for this, but it probably costs a lot more than tickets. If your friend is a good friend, ask them to print it and do not use special tickets. If they are a good friend, print and send to print.

  • problem with bind variables in the SQL query view object

    Hi all

    I use JDev 11.1.2.4.0.

    I have a problem with bind variables in the SQL query view object.

    This is my original SQL

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE t.nctuser_id = '20022' 
          AND to_char(t.insertdate,'YYYYMMDD') in ('20130930','20130929')
    group by t.legertype_id
    

    In my view .xml object query tab, I am writing this

    SELECT sum(t.TIME) , t.legertype_id
    FROM LEDGER t
    WHERE   t.nctuser_id = '20022'
        AND to_char(t.insertdate,'YYYYMMDD') in :dddd
    group by t.legertype_id
    

    Davis here is a variable of Type liaison: String, updatable and necessary.

    I try to deal with Davis as ('20130930 ', ' 20130929') hoping the view object, run as my original SQL.

    But failed. The view object retrieves 0 line after that I run.

    Why?

    Thank you! ('2original SQL0130930', '20130929') ('20130930 ', ' 20130929')

    A variable binding cannot be used as this is why you must use years table. Check decompilation binary ADF: using oracle.jbo.domain.Array with ViewCriteria to see a solution.

    Timo

Maybe you are looking for

  • Defragment utility?

    Dear Forum members I noticed that 6.0 x NAS users built in defrag utility, y at - it a similar utility add-on for users of x 5.3 firmware? Bob UK

  • RJ45 connection with BNC connector

    Hello everyone. My weight gauge has an analog output 10V, and my DAQ has the same input value. But the problem is, that the weight gauge has a RJ45 output, and my DAQ has a BNC input connector. How can I connect and the pins of the RJ45. I downloaded

  • DV6-3150el: ATI RADEON 5650 vs Windows 8

    Hi all.I just bought and installed windows 8 for my flag and, like many others, I have the problem with my ATI video card.It is not working and an error called "code 10" are out.I tried several solutions and many drivers find on the forums, but nothi

  • C5180 not start. Keeps restarting.

    Try to correct the fault on my other C5180. Turn on the screen shows a white bar crossong the screen. It stops and the power light blinks 15 times, then restarts. There is very minimal sound machanical, I placed print head to the left as to the right

  • Question of Smartphones blackBerry Trackball - scroll to the top

    I read through 3 pages of 'trackball' posts on this forum and have tried everything suggested to fix my trackball except out the trackball.  I can scroll down and from left to right, but not to the top.  I stuck firmly IN the direction to go, but not