How to enter more than one bind variable

Hello,
i use bind-variables to pass parameters from one application to another through links. On the SQL-Query-Tab it says that i can enter more than one bind-variable, but i don't know how to do it.
my sql-statement looks like this:
SELECT column
FROM schema.table_name
WHERE v_variable = :bind_variable
I don't want to put a second bind-variable in the where-clause.
thank you
Ralf Schmitt

Hi Marcel,
thanks for your help.
What I want to do is pass a parameter to a report that is not part of the select-statement
Example: a simple blackboard
User selects a category and receives a list of items in that category. now i want to pass the category_id AND the category_name.
The select on category_id produces the item-list, the category_name is shown in the header of the html-page.
A question to the code you submitted:
WHERE v_variable in (:bind_variable1, :bind_variable2, :bind_variable3 etc)
is v_variable an array? How do i select with such a where-clause?
Thank you,
Ralf

Similar Messages

  • Calendar - how to enter more than one event per date and show it in the Month display?

    I would like to enter multiple events (two, anyway) for a single day in the calendar.  I would also like that Month view to display the two events.  So far, all I've been able to do is enter a single event; in fact, only a single line for the single event.  If I enter in Notes, they're not displayed in the Month view.  Thank you.

    I assume that you are tapping the + sign to enter additional events and that is not working so try quitting the app and restart the iPad.
    Go to the home screen first by tapping the home button. Quit/close open apps by double tapping the home button and the task bar will appear with all of you recent/open apps displayed at the bottom. Tap and hold down on any app icon until it begins to wiggle. Tap the minus sign in the upper left corner to close the apps. Restart the iPad. Restart the iPad by holding down on the sleep button until the red slider appears and then slide to shut off. To power up hold the sleep button until the Apple logo appears and let go of the button.

  • How to show more than one record at a form-like style report?

    Hi All,
    I developed a form-like style report
    I want it to show more than one record at once (At the same page)
    I tried that by setting the value to "Maximum records per page" property for the repeating frame to 10
    but when I close the property palete and open it agian the value is returned to 1 !!!
    how to show more than one record at the same page?????
    Thank u

    Hi,
    there's perhaps another property like "page protect". If than 2 records didn't fit at one page there's a page break. Or is there any object inside the repeating frame with page-break properties? Sorry .. it's like looking into a chrystal ball ...
    Regards
    Rainer

  • Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes? Both my daughters have ipods, my wife has one

    Dear All
    Can anyone give me simple instructions on how to use more than one ipod on the same computer with itunes. My daughters have a different generation 'nano' each & my wife a 'shuffle'?
    Many thanks

    Click here for options.
    (69081)

  • How to select more than one slide on Keynote?

    Please, someone knows how to select more than one slide on keynote for IPad?

    // Allow selection to span one contiguous set of rows, visible columns, or block of cells
    table.setSelectionMode(ListSelectionModel.SINGLE_INTERVAL_SELECTION);
    // Allow multiple selections of rows, visible columns, or cell blocks
    table.setSelectionMode(ListSelectionModel.MULTIPLE_INTERVAL_SELECTION);

  • How to display more than one documents on windows 8 desktop?

    how to display more than one documents on windows 8 desktop?

    Adobe Reader Touch doesn't show more than one file on screen and doesn't show them on the desktop. Apparently these are very old fashioned things that Microsoft doesn't think we'll want to do any more and calls them "legacy" to make them sound antiquated.
    If you want to do these things use the legacy Adobe Reader, a much more powerful and flexible app (and not obsolete in the slightest). http://get.adobe.com/reader . There are no legacy apps in the Windows App Store.

  • How to make more than one partition on Airport Time Capsule?

    how to make more than one partition on Airport Time Capsule?

    Only for the very brave......
    Open up the Time Capsule (voids the warranty)
    Pull the hard drive
    Place the hard drive in a separate enclosure
    Connect the enclosure directly to your Mac
    Use Disk Utility to partition the hard drive
    Reinstall the hard drive back in the Time Capsule
    For the rest of us.....
    The next best thing might be to set up one or more disk images on the Time Capsule, which will allow you reserve a given amount of space for each disk image.
    Open up Macintosh HD > Applications > Utilities > Disk Utility
    Click on the New Image tab
    Navigate to the Time Capsule
    Set up the disk image by naming it and specifying how much space you want to reserve

  • How to attach more than one picture on an email

    How to attach more than one picture on an email?

    Tap the square with arrow on top right and select pictures you want to send (max 5 pictures)
    http://i1224.photobucket.com/albums/ee374/Diavonex/f0bd7d73.jpg

  • How to sync more than one iphone to a macbook?..

    How to sync more than one iphone to a macbook?..

    Open itunes, connect iphone, select what you want to sync, sync
    Do the same for each iphone.

  • How to add more than one tabular region in a page?...

    How to add more than one tabular region in a page?
    i have a page, that page contain form and tabular region. when i trying to add another tabular region it showing error
    1 error has occurred
    Updatable SQL Query already exists on page 2. You can only add one updatable SQL query per page. Select a different page.
    but i have to add the tabular in that page.
    Is it possible?
    pls help...
    Thanks and regards,
    skud

    hi,
    even i am searching for some thing similar.
    i want to have 3 calendars in one page.
    getting same message calendar already exists on page 2. You can only add one calander per page. Select a different page.
    pls help.

  • I have an HP Photosmart C4180 all in one printer scanner and copier, I can't figure out how to scan more than one page at a time and then send as a PDF file via email

    I have an HP Photosmart C4180 all-in-one, printer, scanner and copier.  I can't figure out how to scan more than one page?  It will only let me do one page at a time and then I have difficulty sending pages 1, 2 and 3 as one docuement.  Any ideas??
    Thank you, Jetteski

    Hello Jetteski,
    Hello Jetteski, Thanks for the post.
    Since you are running a MAC, check the below links for some excellent information on scanning.  Good Luck!
    http://goo.gl/M8Cl2
    http://goo.gl/cufK6
    http://goo.gl/OTQoR
    I work for HP but my posts and replies are my own....Thank you!

  • Just bot a macbook pro to replace one of my pc's. can't figure out how to have more than one website open at a time like explorer. Is it possible to do?

    I can't figure out how to open more than one website at a time like explorer does on a pc. would like to know if it Is possible or not.

    Tabbed browsing is the way. Go to Safari's View menu:
    and click "Show Tab Bar." When you see a link on another site you wish to open without closing the first site, simply right-click and select "Open Link in New Tab."

  • How to share more than one Time Machine folder

    Hi,
    With Snow Leo Server I found how to find how to share more than one Time Machine Folder but I can't see how to do the same with Lion Server, could you help me with that ?
    The goal of that is to offer one TM folder per user which is located on a dedicated partition in order to limit the size of TM backups per user (150Gig).
    In Lion, in can only share one TM folder for everybody and I didn'tfind if I can set a limit size per user...
    Thank you in advance,

    I have figured out a way to enable multiple backup targets.
    However, it's one of these things I wouldn't want to describe to anyone except true programmer types, because everyone else has a 90%+ chance of messing up their system if they do something wrong.
    It involves turning off file sharing, and then editing the plist files in /private/var/db/dslocal/nodes/Default/sharepoints/
    The gist of it is this:
    a) first create all the share points you later want to use for TimeMachine, and set them up for afp-only file sharing, also create one TM target, which you can either use later, or have there so the system has one entry it knows how to handle. I just made a bogus one that I'm not actively using.
    b) turn off file sharing in Server.app
    c) turn off TimeMachine in Server.app
    d) now you can edit the files, the easiest is with Xcode, so you may want to install that first
    e) for each sharpoint you made in a) there will be a corresponding .plist file in the location indicated, these are the files that need to be edited.
    f) for each of these files
         1) the item0 string property in the timeMachineBackup array must be switched from 0 to 1
         2) a new key of type array with the name timeMachineBackupUUID must be created
         3) in the newly created array an item of type string must be placed with the value of a UUID, which can be created with the shell command uuidgen
    g) make sure all the edited plist files are saved
    h) turn on TimeMachine in the Server.app again
    If all went well, you now should be able to go to one of your networked client computers and see all the time machine share points just created as options for being a time machine target.
    Anyway, if you go that route: be careful, don't blame me if you muck things up...

  • How to pass more than one value for one column in procedure

    hi
    select id, name from col_tab where dept_name in ('ECE','CIVIL');
    when i was running this it is working well.
    CREATE OR REPLACE PACKAGE pack_str
    AS
    TYPE type_refcur IS REF CURSOR;
    PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur);
    END pack_str;
    CREATE OR REPLACE PACKAGE BODY pack_str
    AS
    PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur)
    IS
    BEGIN
    OPEN ans FOR
    select id,name from col_tab where dept_name in char_in ;
    END str;
    END pack_str;
    the package was created.
    my doubt is
    1.how to pass more than one value for char_in (e.g ('ECE','CIVIL'))
    2. when i was storing the value in string like val = 'ECE,CIVIL' ,
    how to get the id,name for ECE and CIVIL.
    plz help me

    Hi Rebekh ,
    I am recreating your packages for the desired output.
    CREATE OR REPLACE PACKAGE pack_str
    AS
         TYPE type_refcur IS REF CURSOR;
         PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur);
    END pack_str;
    CREATE OR REPLACE PACKAGE BODY pack_str
    AS
         PROCEDURE str(char_in VARCHAR2,ans OUT type_refcur)
         IS
              lv_t varchar2(200);
         BEGIN
              lv_t := REPLACE(char_in,',',''',''');
              lv_t := 'select id,name from col_tab where dept_name in (''' || lv_t || ''')' ;
              OPEN ans FOR lv_t;
         END str;
    END pack_str;
    Note:-
    Input Parameter char_in is a comma seperated value for dept_name
    -Debamalya

  • How to emai more than one person

    hi, can someone please post some code on how to send more than one person the same email, i tried what's below but get an error:
    //  Send message out as email via JavaMail
    //  Emails for group 1
    String namesOne[] = {"[email protected], [email protected]"};
    //  Vector to store names
    Vector namesInGroup = new Vector();
    //  Add names to vector
    for(int i=0; i<namesOne.length; i++) {
         namesInGroup.add(namesOne);
    Properties props = new Properties();
    props.put("mail.smtp.host", "???");
    Session s = Session.getInstance(props);
    MimeMessage message = new MimeMessage(s);
    InternetAddress from = new InternetAddress("[email protected]");
    message.setFrom(from);
    InternetAddress[] to = new InternetAddress[namesInGroup.size()];
    String emailOfPerson;
    for(int i=0; i<namesInGroup.size(); i++) {
         emailOfPerson = (String)namesInGroup.elementAt(i);
         to[i] = new InternetAddress(emailOfPerson);
    message.setRecipients(Message.RecipientType.CC, to);
    message.setSubject(subjectOfMessage);
    String text = mailText.toString();
    MimeMultipart mm = new MimeMultipart();
    MimeBodyPart mbp = new MimeBodyPart();
    mbp.setContent(text,"text/html");
    mm.addBodyPart(mbp);
    message.setContent(mm);
    Transport.send(message);
    // End of JavaMail code
    the host is fine, ???, just didn't want to write it there, i've been able to email one person but can't get this to work, i get the following error:
    [05/Sep/2002:15:27:03] failure (10730): Internal error: exception thrown from the servlet service function (uri=/WriteAndEmail.jsp): javax.servlet.ServletException: Illegal address, stack: javax.servlet.ServletException: Illegal address
    at org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:384)
    at WriteAndEmailjsp._jspService(_WriteAndEmail_jsp.java:291)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
    at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:533)
    , root cause: javax.mail.internet.AddressException: Illegal address in string ``[email protected], [email protected]''
    at javax.mail.internet.InternetAddress.<init>(InternetAddress.java:66)
    at WriteAndEmailjsp._jspService(_WriteAndEmail_jsp.java:243)
    at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:826)
    at com.netscape.server.http.servlet.NSServletRunner.Service(NSServletRunner.java:533)
    both emails are valid.
    Thank you.

    soni29 wrote:
    hi, can someone please post some code on how to send
    more than one person the same email, i tried what's
    below but get an error:
    //  Send message out as email via JavaMail
    //  Emails for group 1
    String namesOne[] = {"[email protected],
    [email protected]"};
    //  Vector to store names
    Vector namesInGroup = new Vector();
    //  Add names to vector
    for(int i=0; i<namesOne.length; i++) {
         namesInGroup.addElement(namesOne);
    Properties props = new Properties();
    props.put("mail.smtp.host", "???");
    Session s = Session.getInstance(props);
    MimeMessage message = new MimeMessage(s);
    InternetAddress from = new
    InternetAddress("[email protected]");
    message.setFrom(from);
    InternetAddress[] to = new
    InternetAddress[namesInGroup.size()];
    String emailOfPerson;
    for(int i=0; i<namesInGroup.size(); i++) {
         emailOfPerson = (String)namesInGroup.elementAt(i);
         to[i] = new InternetAddress(emailOfPerson);
    message.setRecipients(Message.RecipientType.CC, to);
    message.setSubject(subjectOfMessage);
    String text = mailText.toString();
    MimeMultipart mm = new MimeMultipart();
    MimeBodyPart mbp = new MimeBodyPart();
    mbp.setContent(text,"text/html");
    mm.addBodyPart(mbp);
    message.setContent(mm);
    Transport.send(message);
    // End of JavaMail code
    the host is fine, ???, just didn't want to write it
    there, i've been able to email one person but can't
    get this to work, i get the following error:
    [05/Sep/2002:15:27:03] failure (10730): Internal
    error: exception thrown from the servlet service
    function (uri=/WriteAndEmail.jsp):
    javax.servlet.ServletException: Illegal address,
    stack: javax.servlet.ServletException: Illegal
    address
    at
    org.apache.jasper.runtime.PageContextImpl.handlePageExc
    ption(PageContextImpl.java:384)
    at
    WriteAndEmailjsp._jspService(_WriteAndEmail_jsp.java:
    91)
    at
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBa
    e.java:126)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java
    826)
    at
    com.netscape.server.http.servlet.NSServletRunner.Servic
    (NSServletRunner.java:533)
    , root cause: javax.mail.internet.AddressException:
    Illegal address in string ``[email protected],
    [email protected]''
    at
    javax.mail.internet.InternetAddress.<init>(InternetAddr
    ss.java:66)
    at
    WriteAndEmailjsp._jspService(_WriteAndEmail_jsp.java:
    43)
    at
    org.apache.jasper.runtime.HttpJspBase.service(HttpJspBa
    e.java:126)
    at
    javax.servlet.http.HttpServlet.service(HttpServlet.java
    826)
    at
    com.netscape.server.http.servlet.NSServletRunner.Servic
    (NSServletRunner.java:533)
    both emails are valid.
    Thank you.
    try using addElement()method of the vector.
    or get all the address as one string represented by _to
    where _to = "[email protected], [email protected]";
         //set to addresss
    InternetAddress to = new InternetAddress() ;
    InternetAddress [] toadd = to.parse(_to);
    msg.setRecipients(Message.RecipientType.CC,toadd);
    i hope this wouldhelp you
    thanks and regards,
    Suraj Berwal                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

Maybe you are looking for

  • Photoshop CS2 issue after 0.4.6 update

    I used software update to install the 10.4.6 update. was running 10.4.5 before that. Photoshop now crashes after I save tifs/psds/dcs's. If i use save for web, it does not crash. The files that are saving when it crashes seem okay (good thing!) but i

  • Resolution issues (oh, and xvidtune does not work)

    I'm using my 32" Samsung TV as my PC monitor. according to the specs in the manual, the max resolution it supports is 1360x768 @ 60Hz also, according to the manual, the horizontal frequency is 30-60 and vertical is 60-75 I use the GeForce 7950 GX2 vi

  • Stock in Quality

    hi Gurus, Which are the objects in quality management from cutover point of view and how stock in quality (inspection lot) is created in cutover? VM

  • How to stop files from being locked in Mountain Lion?

    In the last week, I have found several of the files that I have generated or downloaded have become locked.  Since Apple has eliminated the Auto locking feature that use to be in Time Machine.  The files include PDFs, PHGs, TXTs, etc.  How do I stop

  • CD Playback Issues

    Hi, I'm using iTunes 7.5 and I've been having trouble playing CDs using it (I'm not trying to import them, just play them). It plays the first two tracks, then suddenly stops. When I try to start the third track, iTunes stops responding. I have to fo