How to pass multiple parameters to Query using START WITH, CONNECT BY OBIEE

Hi
I have following oracle query which need to be used as a Data Source in OBIEE Physical Layer. I guess I have to create stored proc. How do I implement this in OBIEE RPD and how do I implement the respective Dashboard prompts for the parameters.
SELECT
CIRC.PATH_NAME, CIRC.BANDWIDTH , CIRC.CATEGORY, CIRC.CUSTOMER_ID,
CIRC.STATUS, CIRC.CUSTOMER_NAME,
QUER.LEV
FROM
CIRCUIT_PATH circ, VAL_CUSTOMER cust,
( SELECT
DISTINCT CIRC_PATH_INST_ID, LEVEL LEV
FROM
CIRC_PATH_ELEMENT
START WITH
CIRC_PATH_ELEMENT.CIRC_PATH_INST_ID IN ( SELECT
DISTINCT CIRC_PATH_INST_ID
FROM
PORTS a
WHERE SITE_NAME = @variable('Enter a Site Name')
AND CARD_SLOT = @variable('Enter a Card Slot')
CONNECT BY
PRIOR CIRC_PATH_ELEMENT.CIRC_PATH_INST_ID =
CIRC_PATH_ELEMENT.PATH_INST_ID
AND ELEMENT_TYPE != 'K' ) QUER
WHERE
circ.circ_path_inst_id = QUER.CIRC_PATH_INST_ID
and circ.cust_inst_id = cust.cust_inst_id (+)
ORDER BY
LEV DESC , CIRC.PATH_NAME ASC, CIRC.BANDWIDTH ASC
Thanks
DG

Hi John
Thanks. I looked at your URL. I do have package. Just using procedure. So my initialization string (For stored proc in Physical Layer of RPD) is
exec demo.add_employee(VALUEOF(NQ_SESSION.empid1));
But when I run request in Answer I get the error
State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 900, message: ORA-00900: invalid SQL statement at OCI call OCIStmtExecute: exec demo.add_employee(105); . [nQSError: 17011] SQL statement execution failed. (HY000)
What should I put in initialization string in RPD?
Thanks
DG

Similar Messages

  • Building a recursive query using start with/connect by......

    Hi.
    I have data in a table which looks like:
    Top level     Step     3rd Level     4th Level Script Name
    NORMAL_DAY     Step 1 of NORMAL_DAY     DATE_FEEDER     Step 1 of DATE_FEEDER      INT_EOD_DATE_FEEDER
    NORMAL_DAY     Step 2 of NORMAL_DAY     EOD_FX_RATE_UPLOAD Step 3 of EOD_FX_RATE_UPLOAD SEND_MAIL_FXSPOTS
    NORMAL_DAY     Step 2 of NORMAL_DAY     EOD_FX_RATE_UPLOAD Step 2 of EOD_FX_RATE_UPLOAD FXSPOTS
    NORMAL_DAY     Step 2 of NORMAL_DAY     EOD_FX_RATE_UPLOAD Step 1 of EOD_FX_RATE_UPLOAD FX_FTPS_GET_EOD
    NORMAL_DAY     Step 3 of NORMAL_DAY     CALENDAR_UPLOAD     Step 1 of CALENDAR_UPLOAD     CALENDAR
    NORMAL_DAY     Step 3 of NORMAL_DAY     CALENDAR_UPLOAD      Step 2 of CALENDAR_UPLOAD     MDS_STOP
    NORMAL_DAY     Step 3 of NORMAL_DAY     CALENDAR_UPLOAD     Step 3 of CALENDAR_UPLOAD     MDS_HOLIDAY
    NORMAL_DAY     Step 3 of NORMAL_DAY     CALENDAR_UPLOAD     Step 4 of CALENDAR_UPLOAD     MDS_START
    NORMAL_DAY     Step 4 of NORMAL_DAY     FA_VALUATIONS     Step 1 of FA_VALUATIONS     IMPORTMTM
    NORMAL_DAY     Step 4 of NORMAL_DAY     FA_VALUATIONS     Step 2 of FA_VALUATIONS     INT_EOD_VALUATIONS
    As you can see, it lends itself to a tree type structure. I am trying to display this information using the start with/connect by clauses.....
    My initial query looks like:
    select main.name "Top Level",
    level2.name "Step",
    level3.name "3rd Level",
    level4.name "4th Level",
    level5.name "Script Name",
    level5.run_start,
    level5.run_end,
    (level5.run_end - level5.run_start) "Time difference",
    to_char((level5.run_end - level5.run_start),'99999999999999999999999999990.0000000000')*1000 as Total_Run_Time
    from jcs_jobs main,
    jcs_jobs level2,
    jcs_jobs level3,
    jcs_jobs level4,
    jcs_jobs level5
    where main.name = 'NORMAL_DAY'
    and main.PARENT_JOB_ID IS NULL
    and main.job_id = 2253800
    and main.job_id = level2.parent_job_id
    and level2.job_id = level3.parent_job_id
    and level3.job_id = level4.parent_job_id
    and level4.job_id = level5.parent_job_id
    order by level2.step_name;
    This is a bit restrictive, so I need to make it more generic, because we can actually have more than 5 levels of depth.....
    I haven't included the time element in the sample data. This also appears to be another conundrum.....how to display milliseconds in a reasonable date format?
    Thank you very much in advance!
    Dev

    try this way:
    SQL> select script_name, job,
      2         to_char(to_date(run_start,'Jhh24miss'),'dd-mon-yyyy hh24:mi:ss') run_start,
      3         to_char(to_date(run_end,'Jhh24miss'),'dd-mon-yyyy hh24:mi:ss') run_end,
      4         (to_date(run_end,'Jhh24miss')
      5                  - to_date(
      6                        substr(root_start,
      7                               2,
      8                               decode(instr(root_start,'/',1,2),
      9                                      0,
    10                                      length(root_start)+1,
    11                                      instr(root_start,'/',1,2)
    12                                      )-2
    13                               )
    14                            ,'Jhh24miss')
    15          ) "Time difference"
    16  from (
    17  select name script_name, lpad(' ',2*level,' ')||job_id job
    18         ,to_char(run_start,'Jhh24miss') run_start, to_char(run_end,'Jhh24miss') run_end,
    19         sys_connect_by_path(to_char(run_start,'Jhh24miss'),'/') root_start
    20  from jcs_jobs
    21  where name = 'NORMAL_DAY'
    22  connect by prior job_id = parent_job_id
    23  start with PARENT_JOB_ID IS NULL and job_id = 2253800
    24  );
    SCRIPT_NAM JOB                  RUN_START            RUN_END              Time difference
    NORMAL_DAY   2253800            23-jan-2010 15:30:16 27-jan-2010 01:06:16             3,4
    NORMAL_DAY     2253801          27-jan-2010 01:06:16 28-jan-2010 15:30:16               5Max
    [My Italian Oracle blog|http://oracleitalia.wordpress.com/2010/01/23/la-forza-del-foglio-di-calcolo-in-una-query-la-clausola-model/]

  • How to Pass Multiple Parameters To ReportReuest Method in Oracle  BI 11g

    Hi,
    Am integrate Oracle BI Publisher 11g via Web Services in Oracle Forms,For that am developing code in PublicReportServiceClient Class. This worked properly with out passing parameter to the report. so how to pass parameters to the report . If Report is requried some Parameters to generate report.
    If any one knows about How to Passing Multiple Parameters to ReportRequest Methos in Oracle 11g. Pls help me.
    Am trying with the below code for PassParameters to ReportReuest Method in Oracle BI 11g. But by using this code am able to pass only one parameter to the Report, not for multiple Parameter Passing.
    ArrayOfParamNameValue PnameValue=new ArrayOfParamNameValue();
    ParamNameValue Namevalue=new ParamNameValue();
    Namevalue.setName("P_SNO"):
    ArrayOfString aos=new ArrayOfString();
    aos.getItem().add("2");
    Namevalue.setValues(aos);
    PnameValue.getItem().add(Namevalue);
    ReportRequest RepReq = new ReportRequest();
    RepReq.setParmeterNameValues(PnameValue);
    Following method  callRunReport() with an array of parameters used in Oracle Bi 10g,To pass multiple report parameters to ReportRequest method.
    public void callRunReport (String reportPath, String[] paramName, String[] paramValue, Stringusername, String password, String format, String template, String outFile)
    try {
    bip_webservice.proxy.PublicReportServiceClient myPort =new bip_webservice.proxy.PublicReportServiceClient();
    // Calling runReport
    ReportRequest repRequest = new ReportRequest();
    repRequest.setReportAbsolutePath(reportPath);
    repRequest.setAttributeTemplate(template);
    repRequest.setAttributeFormat(format);
    repRequest.setAttributeLocale(“en-US”);
    repRequest.setSizeOfDataChunkDownload(-1);
    if (paramName != null)
    ParamNameValue[] paramNameValue = new ParamNameValue[paramName.length];
    String[] values = null;
    for (int i=0; i<paramName.length; i++)
    paramNameValue[i] = new ParamNameValue();
    paramNameValue.setName(paramName[i]);
    values = new String[1];
    values[0] = paramValue[i];
    paramNameValue[i].setValues(values);
    repRequest.setParameterNameValues(paramNameValue);

    Ramani_vadakadu wrote:
    window.open("http://hq-orapp-03.kuf.com:9704/xmlpserver/~weblogic/kufpec/BTA/KUF_CONF_ITINUD.xdo?_xpf=&_xpt=1&_xdo=%2F~weblogic%2Fkuf%2FBTA%2FKUF_CONF_ITINUD.xdo&_xmode=&_paramsP_BTM_ID="+parseInt(document.getElementById('P3_BTA_ID').value)+"&_xt=KUF_CONF_ITINUD&_xf=pdf&_xautorun=true&id=weblogic&passwd=kuf2011","_blank");
    the above code we are using apex JS to BI publisher calling for report as PDF
    i don't know exactly where your parameters , did you customize my link to multiple parameters
    'http://192.168.0.57:8889/reports/rwservlet?userid=retail/1@xe&destype=cache&desformat=PDF&paramform=no&report=item_cost&P_BATCH_NO='+$v('P138_BATCH_NO'); 

  • How To Pass Multiple Parameters In URL with Report Builder

    Hi,
    I use apex 4.2 with database xe 11g and i use report builder to build my report i use this link to call report
    function runrep(){
    var vurl = 'http://192.168.0.57:8889/reports/rwservlet?userid=retail/1@xe&destype=cache&desformat=PDF&paramform=no&report=item_cost&P_BATCH_NO='+$v('P138_BATCH_NO');
    popupURL(vurl);
    now i want to pass Multiple Parameters like P138_ITEM_CODE , P138_UOM_CODE
    how can i add this Parameters in URL ?
    Regards
    Ahmed

    Ramani_vadakadu wrote:
    window.open("http://hq-orapp-03.kuf.com:9704/xmlpserver/~weblogic/kufpec/BTA/KUF_CONF_ITINUD.xdo?_xpf=&_xpt=1&_xdo=%2F~weblogic%2Fkuf%2FBTA%2FKUF_CONF_ITINUD.xdo&_xmode=&_paramsP_BTM_ID="+parseInt(document.getElementById('P3_BTA_ID').value)+"&_xt=KUF_CONF_ITINUD&_xf=pdf&_xautorun=true&id=weblogic&passwd=kuf2011","_blank");
    the above code we are using apex JS to BI publisher calling for report as PDF
    i don't know exactly where your parameters , did you customize my link to multiple parameters
    'http://192.168.0.57:8889/reports/rwservlet?userid=retail/1@xe&destype=cache&desformat=PDF&paramform=no&report=item_cost&P_BATCH_NO='+$v('P138_BATCH_NO'); 

  • How to pass multiple parameters by URL?

    hi i am having trouble passing multiple parameters by URL.
    i tried the following codes but still not successful in using request.getParameter
    <a href="remove.jsp?imageid=<%=imageId%>&userid=<%=user%>">remove</a>
    <a href="remove.jsp?imageid=<%=imageId%>&userid=<%=user%>">remove</a>

    Looks good to me.
    What parameters are you getting at the other end?
    imageid and userid? (case is important)
    What does the address url in the browser show?
    What code are you using to retrieve the parameters?

  • How to pass multiple parameters to DB adapter through BPEL process?

    Hi All
    I have created a BPEL process in which I am using invoke activity to call DB package.procedure having multiple parameters.Once the package gets executed it shows me custom exception message as input parameters are showing null values inside the package.
    When I see the audit flow in BPEL instance , it shows correct values against each parameter in BPEL process.
    Anybody know about this problem? why DB package is not able to read input parameters send through BPEL process?
    Regards
    Yogi

    Hi Chintan
    Thanks for your reply.
    Here is my procedure call. For these input and output parameters I have created variables @ BPEL process. Those variables are accepting values correctly.
    PROCEDURE custom_po_proc(
    p_return_status OUT VARCHAR2,
    p_error_code OUT VARCHAR2,
    p_error_desc OUT VARCHAR2,
    p_debug IN VARCHAR2 DEFAULT 'N',
    p_lgcy_trxn_num IN VARCHAR2,
    p_trxn_type IN VARCHAR2,
    p_operation IN VARCHAR2 DEFAULT NULL,
    p_po_number IN VARCHAR2,
    p_line_num IN VARCHAR2,
    p_org_code IN VARCHAR2,
    p_quantity IN NUMBER,
    p_user_name IN VARCHAR2);
    I just have one DB adapter based on above procedure.
    How do I increase the logging level, have not done that before.
    Regards
    Yogi

  • How to pass multiple parameters from jsp to servlet using iframe

    function updGrade(grd,actDetID,sID)
    updateFrame.location="/clucas/updateServ?s_id="+sID.value+" &act_ID="+actDetID.value+" &grade="+grd.value+";
    hi, i have this javascript on my jsp and try to send those three params to updateServ servlet inorder to update a grade value to database, but for some reasons it does not work. It is only work when I pass one parameter only.
    Can anybody help me with this please?
    thanks

    You have spaces before the & signs. They can't be there:
    function updGrade(grd,actDetID,sID)
      updateFrame.location="/clucas/updateServ?s_id="+sID.value+
                                           "&act_ID="+actDetID.value+
                                            "&grade="+grd.value;
    }

  • How to pass input parameters to ZRFC using sap connector 3.0

    Hi,
    In the connector 2.0 we were passing parameters (vendor# as input) to rfc as ( eg: rfc_name(I_vendor, E_VendorTBL) and able get the results in the output table .
    How do we do this using new NCO3.0.
    Thanks,
    Rajender

    S0008226571 wrote:>
    > I have implemented an example similar to the above which stores the results of a table in a .net DataTable. I am trying to bind the DataTable to a DataGridView but the DataGridView is simply blank.
    >
    >
    >                
    DataTable dt = svc.getTableData("crmd_orderadm_h");
    >
    >                 bindingSource.DataSource = dt;
    >                 dataGridView1.DataSource = bindingSource;
    >
    >
    > Any ideas on why the DataGridView is empty?
    For the benefit of others here, I resolved the problem by examining the properties of the datagridview control. In this case, the datagridview control binding property was being set in the visual studio designer and for some reason was not able to be set at runtime. I removed the binding property in the visual studio property window and the problem was resolved.
    Thanks for those who contributed answers to this issue.
    Edited by: Mike Powell on Mar 1, 2011 3:30 PM

  • How to pass multiple parameters while calling a pl/sql procedure based serv

    Hi,
    I have a pl/sql procedure based service that needs to be invoked from the bpel console for testing purpose. This procedure accepts multiple input values which are of varchar2,boolean and datetime data types. How can I get the bpel console to throw a UI where I can enter these values --in other words where(which file and where) can I specify that these are the input parameters that need to be entered along with their types.
    Thanks for yr help!

    Change the payload of the request 'Process WSDL' message type. Change the element of the payload for the RequestMessage to be 'InputParameters' from the XSD generated by the DB Adapter wizard.
    Edit the payload (Element) - Choose 'Project Schema Files'. Select 'InputParameters' from the XSD.
    You can also change the ResponseMessage by doing the same thing, except that you select 'OutputParameters' from the XSD.

  • How To Pass Multiple Parameters In URL

    Hi All,
    I have a requirement to pass two paramaters to the URL which is expected to open a report with filtered data.
    The context is, I have two reports 1. mainreport 2. subreport.
    The mainreport provides a link ( which is TestcaseId ) which on clicking opens the subreport.
    In my case the TestcaseId can have duplicates.So i wanted to pass the TestPlan name which helps me filter the data specific to the testcase which is clicked.
    Expectation: I want the TestcaseId link to pick up the TestPlan name too when clicked and present the filtered data in sub report.
    Note: The TestcaseId and TestPlan name are dynamic and should be picked from the main report.
    I already have the report configured to pick the TestcaseId and now would like to know how do i pass TestPlan name as well to the URL.
    Please help me with this.
    Thanks,
    Shekar

    Hi Bipuser,
    Thank you for your points.
    I have URL with both the parameters defined in it.
    Let me explain my requirement in detail.
    My main report displays the contents in a table like the example below
    Test Case Id     Test Plan
    TC_1.1     ACR758TripReport
    TC_1.2     ACR758TripReport
    TC_1.3     ACR758TripReport
    TC_1.1     ACR539
    The test case ids are displayed as links and on clicking will open the subreport with detailed steps.
    Considering the example above. When i click TC_1.1 which is appearing twice in the table, The subreport should fetch only steps specific to the test plan in the same row and not all.
    So,To filter the data, I wanted to pass the test plan name to the URL.
    Can you list out the steps in detail to achieve this.
    Note: User clicks only on Testcase id link but the URL should pick testcaseid and testplan name to fetch the data.
    Regards,
    Shekar
    Edited by: user12210094 on Apr 26, 2012 2:24 AM

  • Passing multiple parameters to report using  run_report_object

    Can someone give an example of passing more than 1 parameter from a form to a report using run_report_object.
    Thanks

    otn.oracle.com/products/forms --> collateral
    A Reports integration whitepaper exists for all releases of Oracle Forms, also containing this information.
    Frank

  • How to pass multiple parameters to vo

    Hi,
    I wrote   Serializable method  In co
           String orgcode1 = pageContext.getTransactionTransientValue("asset12").toString();
           String assetid = pageContext.getTransactionTransientValue("asset1").toString();
            Serializable[] np1={orgcode1,assetid};
            am.invokeMethod("xxEx1",np1);
    I wrote in AMImpl
        public void xxEx1(String na2,String na3)
            internalcpVOImpl vo =getinternalcpVO1();
            String wc1="organization_code='"+na2+"'";
            String wc="SEGMENT1='"+na3+"'";
            vo.setWhereClause(null);
            vo.setWhereClause(wc1);
            vo.setWhereClause(wc);
            vo.executeQuery();
    I need add that where classes in this vo
    SELECT  distinct  meav.c_attribute1, msi.segment1 ,mp.organization_code
             FROM csi_item_instances cii,
           mtl_system_items_b msi,
           mtl_eam_asset_attr_values meav,
           mtl_parameters mp
    WHERE  meav.SERIAL_NUMBER  = cii.SERIAL_NUMBER
       And meav.MAINTENANCE_OBJECT_ID = cii.INSTANCE_ID
       And meav.ORGANIZATION_ID = cii.LAST_VLD_ORGANIZATION_ID
       And meav.attribute_category     = 'Asset Common Details'
       And msi.inventory_item_id = cii.inventory_item_id
       And meav.organization_id = mp.organization_id
          -------------------------------  1  ( nedd add  vo.setWhereClause(wc1);)
        ------------------------------------2  (        vo.setWhereClause(wc);)
    It is only adding first parameter  where class it's not adding second parameter where class please give me any solution
    Regards,
    Maha

    Thank You Shobhit basis on you are code it's working  future reference purpose i posted code .
    I wrote   Serializable method  In co
           String orgcode1 = pageContext.getTransactionTransientValue("asset12").toString();
           String assetid = pageContext.getTransactionTransientValue("asset1").toString();
            Serializable[] np1={orgcode1,assetid};
            am.invokeMethod("xxEx1",np1);
    In am i am using below code
        public void xxEx1(String na2,String na3)
           internalcpVOImpl vo =getinternalcpVO1();
         String whereClause="organization_code='"+na2+"' AND SEGMENT1='"+na3+"'";
                   vo.setWhereClause(null);
                   vo.setWhereClause(whereClause);
                   vo.executeQuery();
    In vo i wrote this code
    SELECT  distinct  meav.c_attribute1, msi.segment1 ,mp.organization_code
             FROM csi_item_instances cii,
           mtl_system_items_b msi,
           mtl_eam_asset_attr_values meav,
           mtl_parameters mp
    WHERE  meav.SERIAL_NUMBER  = cii.SERIAL_NUMBER
       And meav.MAINTENANCE_OBJECT_ID = cii.INSTANCE_ID
       And meav.ORGANIZATION_ID = cii.LAST_VLD_ORGANIZATION_ID
       And meav.attribute_category     = 'Asset Common Details'
       And msi.inventory_item_id = cii.inventory_item_id
       And meav.organization_id = mp.organization_id
    Regards,
    Maha

  • How to send multiple files in parallel using ftp with single connection

    Hi.
    i have written code for file upload manager using ftp..
    it perfectly working with sequence file uploading in single connection..
    And i tried to upload multiple files with parallel processing in a single connection.... but it is not working properly.. i also used thread concept
    but single file only transfered and connection refused...
    my code here...
    //////////////////// main class //////////////////////////////////////////
    ftp.connect();
    ftp.login();
    String [] archivos = new  String[100];
                                      File dir = new File("C:\\Files Uploading\\");
                                       archivos = dir.list();
                                       for (int s=0; s<archivos.length;s++)
         //Start Data Transfer Here
         new DataTransfer(archivos[s]).start();
                                       Thread.sleep(1000);
    /////////////////////// thread class ////////////////////////////////
    class DataTransfer extends Thread
          String FileName="";
          String LocalPath="",RemotePath="";
           public DataTransfer(String fname)
         FileName = fname;
         LocalPath = "C:\\Files Uploading\\" + FileName;
         RemotePath = FileName;
         System.out.println(LocalPath);          
            public void run()
                        System.out.println("DataTransfer Started");
         /File Transfer Here
         try
               FileInputStream input = new FileInputStream(LocalPath);
                               Ftp_Client.storeFile(RemotePath,input);
         System.out.println("Successfully sent : " + RemotePath);
         catch (Exception exc)
              System.out.println(exc.getMessage());
              System.out.println("DataTransfer Ended");
         }otherwise tell me any other alternate way

    And i tried to upload multiple files with
    parallel processing in a single connection....
    but it is not working properly.FTP isn't a multiplexing protocol. How could it work at all?

  • Passing multiple parameters between two report portlets on the same page

    Hi,
    I want to pass multiple parameters between two report portlets on the same page.
    I have been succussful passing a single parameter between two portlets. The
    following are the steps :
    (1) Created first report based on the query
    SELECT htf.anchor('http://192.168.0.84:7778/servlet/page?&_pageid=97&_dad=portal30&_schema=portal30&_mode=3&dept_code='||DEPTNO,DEPTNO) Department, ename FROM EMP;
    (2) Created 2nd report
    select * from EMP where DEPTNO = :dept_code
    (3) Added pl/sql code before display page on the 2nd report
    portal30.wwv_name_value.replace_value(
    l_arg_names, l_arg_values,
    p_reference_path||'.dept_code',portal30.wwv_standard_util.string_to_table2(nvl(g
    et_value('dept_code'),10)));
    (4) Created a page and added these reports as portlets.
    Sofar it works fine for one parameter (deptno) . Now I want to add one more
    parameter say empno to my first report query and would like to pass both the
    parameters deptno and empno to the 2nd report. Please tell me how to pass multiple parameters ?
    Thanks
    Asim

    Hi,
    You will have to do the same thing
    The select will be like this
    SELECT htf.anchor('http://toolsweb.us.oracle.com:2000/servlet/page?_pageid=97&_dad=mb&_schema=mybugs&_mode=3&dept_code='||DEPTNO||'&empno='||empno,DEPTNO) Department,ename
    FROM EMP
    In the additional plsql code do the same for empno like this
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.dept_code',mybugs.wwv_standard_util.string_to_table2(nvl(get_value('dept_code'),10)));
    mybugs.wwv_name_value.replace_value(l_arg_names,l_arg_values, p_reference_path||'.empno',mybugs.wwv_standard_util.string_to_table2(get_value('empno')));
    Thanks,
    Sharmila

  • Passing multiple parameters in sql query

    Hi All,
    This may not be the correct place to post this.
    How to pass multiple paramters to a variable in sql developer.
    Ex: Select * from Country where state= :statename (Country is table name, state is column name)
    If I execute the above query in SQL Developer I can pass only one parameter at a time for :statename ie either KERALA,KARNATAKA,PUNJAB etc.
    How can I pass multiple values (all KERALA,KARNATAKA,PUNJAB) or ALL column values at a time in SQL Developer.
    Thanks

    user1668671 wrote:
    How to pass multiple paramters to a variable in sql developer.A scalar variable by definition cannot store more than one value at a time.
    Array type variables can, as this example using the built in type odcivarchar2list shows
    SQL> select
      2      object_name,
      3      object_type
      4  from
      5      all_objects o
      6  where
      7      o.object_name in
      8      (select column_value from
      9      table(sys.odcivarchar2list('DUAL','ALL_OBJECTS')));
    OBJECT_NAME                    OBJECT_TYPE
    DUAL                           TABLE
    DUAL                           SYNONYM
    ALL_OBJECTS                    VIEW
    ALL_OBJECTS                    SYNONYM
    ALL_OBJECTS                    VIEWHere is a full discussion with multiple solutions for various versions including a string parsing
    http://tkyte.blogspot.com/2006/06/varying-in-lists.html
    Does SQL Developer support array type variable? I don't know they may know here {forum:id=260}
    Otherwise the link above shows how to parse a single character variable into multiple values that will be needed.

Maybe you are looking for

  • Yoga 2 Pro Can't install windows Updates

    I love everything about my yoga2 pro, except, when I got it I installed a win 8.1 upgrade because windows told me to. everything seemed to be fine. after that, the system asked me to install another upgrade. when trying to install that one it said it

  • ADF: Calling concurrent program in Oracle Apps from ADF

    Hi All, I am using Jdev 11G... I have a requirement to call a concurrent program which is in Oracle E-Business from ADF page. i will have ADF page with one button, On click of that ADF button we need to call the concurrent program and show the output

  • Popup Backgrounds in Photoshop

    What is the workflow or step by step instruction on how to cut a background into segments and place in a button group in order for the background to show in an Encore Pop Up menu? I have 4 button groups or timelines that i want to use in my pop up me

  • How do i burn audio cd from libray

    how do I burn audio cd from itunes library?

  • Sample papes and study material for certification

    Hi All, I want to apply for SAP Certification(Certification ID (Booking code): C_TEP12_04s Will u please help me out with some study material or sample papers for it. Please take it as urgent. Main topics coverd are Portal Content, Web Dynpro, Visual