Ability to pass dynamic number of entries to a procedure using native SQL?

Hello

We have end users to do things like this:

var x refcursor;

exec some_proc (1234,: x);

print x;

Now, they want to use dynamic multiple entries like this:

var x refcursor;

exec some_proc (1234 5678, 9011,: x);

print x;

Yes I know you could do something like this:

Create the type t_num is table of number;

declare

v_nums t_num: = t_num (123,456,789,234);

v_result sys_refcursor;

Start

some_proc (v_nums, v_result)

end;

But they have some old piece of middleware simplifying procedure calls which it can handle data types and cursors.  So I was wondering if there is a way to fill a cursor using native sql to succeed in a procedure?  Yes I am assuming that the answer will be no, but I wanted to just make sure.

But they have some old piece of middleware simplifying procedure calls which it can handle data types and cursors.

Too old to take a string delimited as input?  Then cut the string and fill it with v_nums in some_proc?  Does not seem a lot of work.

Tags: Database

Similar Questions

  • Number of entry by using data control counter

    Hello
    I have a simple question :)
    I created a data control using a simple POJO class. I am trying to create a number of entries on the page counter.
    I created an int with getter/Setter in my POJO and generated the DC, but when I fall on the Joint Strike Fighter, I don't have the ability to create a number of entry counter. I tried to create an "Integer" object and a string as well, but no luck.

    What I create in my POJO so that when I drop, I have the option of creating a counter of the number of input

    Thank you

    Hello

    not all of the ADF Faces components are listed in the ADF link dialog box. So in your case, you create an inputText and then change to a counter. You can do this by selecting the counter in the component palette using the right button of the mouse and move it over the text entry field to change to become a counter. Then during the conversion of the components, then IDE shows you which attributes are changed (for example is no longer available in the new component)

    Frank

  • Limitation with the number of entries in a Tunnel of Split ACL

    Hey Cisco community!

    I am facing a problem with a Cisco hub and spoke to the solution.

    We have 2 Hubs (Cisco 7200-2 for redudancy). All clients have a RADIUS (Cisco 881). The rays are 24/24 reported the 2 hubs (2 dmvpn tunnel) to give us access to our monitoring and support equipment.

    Each talk have a NAT table with a specific NAT range for each talk. That way, we can reach every devices with a single IP address within the VPN.

    For example:

    -Spoke_001 have a range of IP NAT 10.80.0.0 255.255.254.0

    -Spoke_002 have a range of IP NAT 10.80.2.0 255.255.254.0

    ...

    To connect to hubs with our mobile phones, we use the Cisco VPN client. We have different profiles created in the regional centres:

    -Profile Admin with an ACL that allow connectivity with each talk

    -Integrator profiles: which allow connectivity to an integrator to some defined rays.

    So the integrating profile looks like this in the hub

    Configuration group customer crypto isakmp [NAME]

    Touch [password]

    [domain]

    pool [NAME]

    ACL [NAME_VPN_Split]

    !

    Profile of crypto isakmp [NAME]

    Profile of clients VPN Description Group [NAME]

    identity group match [NAME]

    list of authentication of client VPN_Client_AUTHEN

    VPN_Client_AUTHOR of ISAKMP authorization list.

    client configuration address respond

    IP local pool [NAME]...

    And the relationship of this group access list:

    [NAME_VPN_Split] extended IP access list

    IP 10.82.20.0 allow 0.0.1.255 all

    IP 10.82.24.0 allow 0.0.1.255 all

    IP 10.81.238.0 allow 0.0.1.255 all

    IP 10.82.4.0 allow 0.0.1.255 all

    IP 10.82.44.0 allow 0.0.1.255 all

    IP 10.81.242.0 allow 0.0.1.255 all

    ...

    In the access list, we can modify the subnets to reduce the number of entries, but some groups should have access to a spoke with the NAT IP range that we can summarize in 1 line (see example)

    The question we have is: when we have more than 50 entries in the ACL, 51st entry does not work:

    -Customer VPN does not receive the road to this network, the road is not added on the connected PC

    -Even if the road is added manually on the PC, the 51st network ACL is not accessible.

    Do you know why there is a limit of 50 entries in a tunnel "Split ACL?

    Do you know if there is a solution to avoid this problem?

    The problem is that if we can summarize an ACL in less than 50 lines, we will have to create a second profile and know wich one to use for the network that... Not really a good solution.

    Thanks in advance!

    Version:

    ROM: System Bootstrap, T3 Version 12.3 (4r), RELEASE SOFTWARE (fc1)

    BOOTLDR: 7200 (C7200-KBOOT-M), Version 12.3 software (15), VERSION of the SOFTWARE (fc3)

    System image file is "disk2:c7200 - advsecurityk9 - mz.151 - 4.M2.bin.

    Yes, there is a strict limit of 50 split tunnel ACL entries when you set it by using the old-fashioned way of VPN configuration (ie: card crypto).

    If you use dynamic TIV to configure, then you have no limitation for ACL split tunnel.

    Here is an example configuration for dynamic configuration of VTI:

    http://www.Cisco.com/en/us/docs/iOS-XML/iOS/sec_conn_vpnips/configuration/15-Mt/sec-IPSec-virt-tunnl.html#GUID-E9EB4518-6269-42E8-908C-57BA5D6334A5

    Hope that answers your question.

  • How to have a dynamic number of tables where new rows can be added

    Hello
    I'm new to ADF and have a task where I on a single page should I show that a dynamic number of tables and each table below should show some fields and create a button to create new lines in the table. To be more precise each table show an education for the individual and the rows of the table shows the meanders of specific education.
    I thought to use a treetable but don't think it's the right way to go because of the new line add feature - I'm not sure of the combination of having a dynamic number of tables and the ability to create new lines of each table.
    If you know where I can find a model similar to the one above or just give me your opinion on how to solve it, it would be much appreciated.
    I get the data from a Web service.

    This is a small sample.
    It could be improved for more information.
    work for you?

    Class Education
    public class {education
    private string ID;
    description of the private channel;
    private list class ArrayList = new();
    Public Education() {}
    }

    {} public void setId (String id)
    This.ID = id;
    }

    public String getId() {}
    return the id;
    }

    {} public void setDescription (description of the chain)
    This.Description = description;
    }

    public String getDescription() {}
    return description;
    }

    public void setCourses (list of courses of ) {}
    This.courses = run;
    }

    public getCourses() {list
    return of the course;
    }
    }

    classroom

    public class {course
    private string ID;
    description of the private channel;
    teaching of teaching private;
    public Course() {}
    }

    {} public void setId (String id)
    This.ID = id;
    }

    public String getId() {}
    return the id;
    }

    {} public void setDescription (description of the chain)
    This.Description = description;
    }

    public String getDescription() {}
    return description;
    }

    {} public void setEducation (education)
    This.Education = education;
    }

    Public Education getEducation() {}
    return of education;
    }
    }
    Managed Bean

    public class {Manage
    private list of educations of ;
    selectedEducation of teaching private;
    selectedCourse of course private;

    public Manage() {}
    educations = new ArrayList ();
    for (int x = 1; x)<= 10="" ;="" x++="" )="">
    E education = new Education();
    e.setId(""+x);
    e.setDescription ("education" + x);
    for (int i = 1; i)< 3;="">
    Class c = new Course();
    c.setId (e.getId () +'.) » + i) ;
    c.setDescription (e.getDescription () +": courses"+ i);
    e.getCourses () .add (c);
    }
    This.Educations.Add (e);
    }

    }
    public String actionAdd() {}
    Add the code in the event here...
    TODO invoke the web service proxy to add courses
    Class c = new Course();
    c.setId (this.selectedEducation.getId () +'.) (' + (this.selectedEducation.getCourses () .size () + 1));
    c.setDescription (this.selectedEducation.getDescription () +": courses"(this.selectedEducation.getCourses () .size () + 1));
    this.selectedEducation.getCourses () .add (c);
    Returns a null value.
    }

    public String actionQuit() {}
    Add the code in the event here...
    TODO invoke the proxy web service to stop the course of education
    int index = this.selectedEducation.getCourses () .indexOf (this.selectedCourse);
    this.selectedEducation.getCourses () .remove (index);
    Returns a null value.
    }
    public void setEducations (list of educations ) {}
    This.Educations = educations;
    }

    public getEducations() {list
    TODO invoke the web service proxy to get educations
    return of the educations;
    }

    {} public void setSelectedEducation (selectedEducation education)
    this.selectedEducation = selectedEducation;
    }

    Public Education getSelectedEducation() {}
    Return selectedEducation;
    }

    {} public void setSelectedCourse (course selectedCourse)
    this.selectedCourse = selectedCourse;
    }

    public class getSelectedCourse() {}
    Return selectedCourse;
    }
    }

    JSPX



    xmlns:h = "http://java.sun.com/jsf/html".
    xmlns:f = "http://java.sun.com/jsf/core".
    xmlns:afh = "http://xmlns.oracle.com/adf/faces/html".
    xmlns:af = "http://xmlns.oracle.com/adf/faces" >

    DOCTYPE system = "http://www.w3.org/TR/html4/loose.dtd".
    doctype-public = ""-/ / W3C / / DTD HTML 4.01 Transitional / / IN "/ >"





    Content = text/html"; charset = windows-1252 "/ >"








    var value = "#{Education.courses}" = "course" rows = "5" "
    strips = "row" bandingInterval = "1" >












    to = "#{Manage.selectedEducation}" / >





    to = "#{Manage.selectedEducation}" / >

    to = "#{Manage.selectedCourse}" / >











    faces config xml


    "- //Sun Microsystems, Inc.//DTD JavaServer Faces 1.1 Config / / IN".
    "http://java.sun.com/dtd/web-facesconfig_1_1.dtd" >


    manage
    com.test.Manage
    session


    Oracle.ADF.Core

  • The number of entries plist should be in/var/db/dslocal/nodes/Default/users?

    The number of entries plist should be in/var/db/dslocal/nodes/Default/users?

    I was checking the files of password on several windows and machines unix to work but decided to check my Mac at home.  When I checked for password files, I found 4 entries in/var/db/dslocal/nodes/Default/users:

    1 daemon.plist - I guess that's for the process system since 'realname' = > [0 = > "System Services"]

    2 nobody.plist - set in the plist as a 'realname' = > [0 = > "Unprivileged user"]

    3 root.plist - defined in the plist as a 'realname' = > [0 = > "System administrator"]

    -It worries me because it has a very small password

    4 #user # .plist - This is the actual user of the file systems

    The problems are that I do not see the other users of the system, and these files can be manipulated to provide a negative person back privileges on my system.

    Thank you

    What you see is correct. There was also about 85 other users whose names begin with an underscore. The short passwd in the root.plist must be ' *', which does not allow the connection.

    C.

  • How can I find the number of entries on a Web site when you use 'find '?

    I press Ctrl + F, the "Find" option appears. I type in a text, the 'Search' tab does not show the number of entries. For Firefox 25.0.1, is it possible to find the number of entries using 'find '? This is really essential.

    Thanks for your help!

    Can I afford too, for future versions of FF, the number of entries found in a web page by using the Find must be indicated.

    I'm sure that you need an add-on for that. Maybe:

    https://addons.Mozilla.org/en-us/Firefox/addon/findbar-tweak/

  • How does one increase the number of entries in the drop-down list of the address bar?

    It seems that the number of entries in the drop-down list of the address bar is limited to twelve URLS. I would find it convenient that more than twelve years can be shown, but do not know how to increase the number.

    Increase or decrease browser.urlbar.maxRichResults using Subject: config

    NOTE: The FasterFox extension may affect the number of items displayed if you have it installed (addons > Extensions).

    If this answer solved your problem, please click 'Solved It' next to this response when connected to the forum.

  • How to vary the number of entries?

    I have to design a system that reads the data from sensors and the Treaty. Is it possible to change the number of entries without any changes to the program? As by specifying the number of entries and the program adapts. I use labview 2009.

    Also is it possible to multiplex multiple entries?

    Thank you

    Mathew

    Then, the tables are the answer. You can change the number of channels simply by specifying a different channel Liist. If you are using arrays as controls, the table can be fed to a for loop and it automatically indexes the table - element by element. Which could be "demultiplexing" selections.

  • Error message: "the entry Point of procedure aspSearchInterfuce not found in the library of links dynamic wlanapi.dll" after SP 3 and IE 8 displays.

    Original title: Windows XP Home error message

    I reformatted the hard drive and restorded factory settings. I've upgraded to Service Pack 3 and IE 8. I now receive the errors listed below and the computer does not turn off. I have to hold in the power button to make it stop.

    Errors:

    The procedure entry Point aspSearchInterfuce could not

    Be found in the library of links dynamic wlanapi.dll

    The apsInitialze procedure entry Point could not be

    located in the library of links dynamic wlanapi.dll

    can someone please tell me what are these errors and how to fix?

    Hi Daytona931,

    Hope you were able to resolve the issue and thank you for sharing the information.

  • How to increase the number of entries in MAC

    Hi everyone, I have a WRT 1900AC and I've reached the limit of 32 entries of MAC for filtering options, we have many more users who must be saved from MAC, anyone know how to increase the number of entries please?

    Tanks a lot, im going to read the info in the links, then ill try
    Tanks for help!

  • Anyone know how to pass parameters of taskFlow entry in MultitaskFlowBinding?

    How to pass parameters of taskFlow entry in MultitaskFlowBinding?

    While we might get these within regions in multiTaskFlow Binding input parameters.

    Check -http://www.awasthiashish.com/2014/08/create-taskflow-and-region-binding-at.html

    Download and view the sample application, it shows how to pass inputParameter using a HashMap for multiTaskFlowBinding

    Ashish

  • How to get the number of entries in the navigation menu?

    boc.bmp

    How to get the number of entries in the navigation menu? Check the image. What it shows 8 number of customers and 10 products and 10 orders in the list. How to get it?

    --

    Thank you

    Hello

    Create items of the request saying, "CUSTOMERS", "PRODUCTS" and "ORDERS".

    Create the application process that defines these items when loading the page for example

    C1 in select count (*) NTC (of customer_table)

    loop

    : CUSTOMERS: = c1.cnt;

    end loop;

    C1 in select count (*) NTC (of products_table)

    loop

    PRODUCTS: = c1.cnt;

    end loop;

    C1 in select count (*) NTC (of orders_table)

    loop

    : ORDERS: = c1.cnt;

    end loop;

    Components shared Open-> Navigation bar and change:

    In the entry list Label-> customers & CLIENTS.]

  • IOM search results: increase the number of entries per page

    Hello

    When you search for IOM, ten IM appear on each page. We want to increase the number of entries returned per page. Anyone know if this is possible or not? And, if possible, how it is configured?

    Thank you!

    Ed

    Check xlDefaultAdmin.properties.

    global.displayRecordNum.value = 10

    You can increase from there.

  • Store an uncertain number of entry in the table

    Hi, I am new to java, and even if I make a practice of the input of entrance of the store array I have a question like this:

    If we want to use the table, we must create the table and require that give us the size of the array.

    For example, if I know I will have ten full entries, I can simply store an array like: int [] intArray = new int [10];

    But what happens if we are not sure about the number of entries, it could be 10, it could be 20.

    Can I create an array with an uncertain size? Or I shouldn't use table to store the entry?

    Collections. And more specifically lists.

    Tables are fine when they are good, but especially you should use Collections. And in this case you should use list.

    List myints = new ArrayList();
    myints.add(1);
    myints.add(15);
    myints.add(-3);
    myints.add(6);
    // etc
    for( int i : myints){
      System.out.println(i);
    }
    

    See: http://download.oracle.com/javase/tutorial/collections/index.html

  • serial number of entries in a table

    Hello everyone,
    I have a table where I have for the code group.
    <?for-each-group:current-group();./ID?> 
    Now I'm used to number my entries in the table. So I use
    <?for-each-group:current-group();./ID?> <?position()?> 
    So far, it works fine.

    Then I exclude a group where id = discoun
    <?if:ID!='discoun'?> 
    The entry with ID = discoun appear in the report. But the registration number will be
    be omitted. So it can happen, I get the following order:
    1 reduction
    Supplement 2
    4 premium

    My problem is, that the number 3 is omitted. The premium of entry should get the 3.
    Andybody know how could I face this problem?
    Thanks in advance

    Edited by: user8973846 the 17.06.2010 06:04

    You can try

Maybe you are looking for

  • Tightening of the iPad 16 GB storage

    I'm almost out of storage on my ipad and the culprit is the Photos app (and myself) where I have more than 2 GB of photos. Is there a good way for me to this unloading on the cloud storage while I tell me what to do in the future? I have enabled iClo

  • cannot switch between iPhoto libraries

    Just recently, my mac made me create a new library for iPhoto. I don't know why, maybe my first one was overloaded, because I have a LOT of photos and videos and we used only. But after that there is a new one (which is of course empty), it won't let

  • Satellite A60 - treatment control of speed under Power Saver

    Hello! After I had removed the WinXP preinstalled and installed a normal Windows XP - SP1, I can't control my processor speed more. This option became simply not available in the energy saving program.Also, change the processing speed in the BIOS for

  • Programmatically change the SMU-2529 with NISE topology

    Hello! I have an SMU-2529 control by NISE to test certain products. These products require the topology of the matrix to change while I'm testing them. Is it possible to do it by programming? Opening/closing session NISE can be solution (although I p

  • your billing information

    How will you pay for the cost of shipping and handling for your free product? you need to activate the first upgrade?