How to pass the number object type to bind the variable in a select statement

Hello

I have a scenario like,

UI, we store the values in the type of object, and this object type must be spent in a select query to retrieve the data accordingly.

Is it possible to do so.

If this isn't the case, please let me know how to take the values of object type and pass to the select query.

Kind regards

I found it,

Object_name ('parameters1', 'parameter2');

Tags: Oracle

Similar Questions

  • How to pass the variable in the table?

    Hello. I try to pass the variable created in RTF and after I enter in the table.

    In RTF:

    <? xdoxslt:set_variable($_XDOCTX,_'var',500)? >

    After the table:
    chart:
    .....................
    < DataValues >
    < RowData >
    [< xsl: for each groupe-select=".//ROW[Edad16]" group by = "Edad16" xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" > ".
    < cell >
    xdoxslt:get_variable($_XDOCTX,_'var')
    < / cell >
    < / xsl: for each group->
    < / RowData >
    < RowData >
    [< xsl: for each groupe-select=".//ROW[Edad16]" group by = "Edad16" xmlns: xsl = "http://www.w3.org/1999/XSL/Transform" > ".
    < cell >
    50
    < / cell >
    < / xsl: for each group->
    < / RowData >
    < / DataValues >
    < / LocalGridData >
    < / chart >

    And it isn´t work :-(

    Any ideas?

    Hi, Benito,.

    It wil work

     
    
  • How to pass the variable to bind page ADF view object

    Would appreciate your help on this.
    Set up a view with a variable binding object: param1 in where clause.
    I want to pass the value of the variable to link from a page of the ADF (.jspx)

    I know that one Option using executeWithParams() method binding in the ADF page.
    But, I want to pass a pageFlowScope parameter (which is already set when loading the page) to the variable binding VO, and the VO should also display the results filtered on the page the first time itself.

    Could someone help me understand with a code, how to achieve the same. (Is there a groovy expression to access the param pageflowscope?)

    Thank you

    Published by: user5381160 on August 12, 2010 20:01

    You should also consider dragging operation executeWithParams on your workflow and of wiring to occur before your page instead of in the definition on the page itself - so it is more clear what is happening and is the approach recommended for 11 g applications. When drag-and you - drop operation, you can use the dialog box bind the parameter to your page flow - scope variable by providing the good EL there.

    There is no expression Groovy in the model layer to access the workflow variable scope page (which is in the controller layer) because this would violate the separation of concerns inherent in an MVC application.

    John

  • How to pass the variable to a swf into another swf

    I declared a variable in the one.fla file

    I open another file swf on a button.

    the code is as follows

    name = 'personName ';

    myButton.onRelease = function () {}

    trace ("liberation" + name);     personName

    loadMovie ("mainPage.swf", _root);

    _root.loadMovie ("mainPage.swf");

    }

    I want the variable 'name' of access to another swf file. IE (mainPage.swf)

    How do I do that?

    You want to use the MoveClipLoader class (using loadClip() and addListener methods) rather than loadMovie so that you can wait for the file to load before you try to access anything in it.  You can create an empty movieclip to load the SWF in, and in this way the loaded file can be targeted using the empty movieclip instance name.

  • How to pass the variable in a procedure as parameter

    CREATE OR REPLACE PROCEDURE APPS. "" QFJS_LMO_TIMESLOT_PROC ".
    (
    a_std IN VARCHAR2,
    TYPE str_table IS TABLE OF CLOB directory INDEX;
    timeStr OUT str_table;

    )

    It's in error!

    Help, please!

    That's what you're looking for? (you can also create the type of your database)

    CREATE OR REPLACE PACKAGE APPS.MY_PACKAGE AS
      PRAGMA SERIALLY_REUSABLE;
    
      TYPE str_table IS TABLE OF CLOB INDEX BY BINARY_INTEGER;
      PROCEDURE "QFJS_LMO_TIMESLOT_PROC"(a_std             IN VARCHAR2,
                                         post_std          IN VARCHAR2,
                                         a_time            IN VARCHAR2,
                                         post_hc           IN NUMBER,
                                         pre_hc            IN NUMBER,
                                         ods_schedule_date IN DATE,
                                         timeStr           IN OUT str_table);
    END MY_PACKAGE;
    /
    CREATE OR REPLACE PACKAGE BODY APPS.MY_PACKAGE IS
      PRAGMA SERIALLY_REUSABLE;
    
      PROCEDURE "QFJS_LMO_TIMESLOT_PROC"(a_std             IN VARCHAR2,
                                         post_std          IN VARCHAR2,
                                         a_time            IN VARCHAR2,
                                         post_hc           IN NUMBER,
                                         pre_hc            IN NUMBER,
                                         ods_schedule_date IN DATE,
                                         timeStr           IN OUT str_table) IS
    v_clob clob;
    
      BEGIN
        FOR i IN 1 .. timeStr.COUNT LOOP
          v_clob := timeStr(i);
          -- ...
        END LOOP;
      END "QFJS_LMO_TIMESLOT_PROC";
    BEGIN
      NULL;
    END MY_PACKAGE;
    /
    
    BEGIN
      APPS.MY_PACKAGE.QFJS_LMO_TIMESLOT_PROC('1','2','3',4,5,sysdate,APPS.MY_PACKAGE.str_table('clob1', 'clob2', 'clob3'));
    END;
    / -- Hugs, Philips
    
  • How to pass the variable in the lov using like operator SQL

    Hello.
    I want to use a lov I pass a variable using like operator.
    my query is
    Select empno, name of the table where empno as ': ed %';

    I want to show a % or B empno % so my empno is A001 to A199 AND B001 to B199
    How can I do this?


    regards

    Set the property default_where to the block and run the query

    set_block_property ('myblock ', default_where,' like upper (Ename)' |: mybind |) » %');

  • How to pass the value of the variable record type in the procedure

    Hai All

    My Question is

    I have a table named Emp and the structure

    ID Varchar2 (25)

    Name varchar2 (25)

    Number of salary


    And now, I created a folder named Rec_Emp

    Like this

    Type Rec_emp is made
    (Rec_Id varchar2 (25),)
    rec_name varchar2 (25).
    Number of Rec_salary);
    rec_emp emp_record;


    I created a SQL type

    Now how to pass the value type in the procedure


    Thanks and greetings
    SrikkanthM

    You are looking for something like this

    create table my_emp (id integer, name varchar2(100), sal number)
    /
    create type my_emp_obj as object(id integer, name varchar2(100), sal number)
    /
    create or replace procedure insert_into_my_emp(pEmp_Obj in my_emp_obj)
    as
    begin
      insert into my_emp (id, name, sal) values(pEmp_obj.id, pEmp_Obj.name, pEmp_obj.sal);
    end;
    /
    begin
      insert_into_my_emp(my_emp_obj(1,'karthick',1000));
    end;
    /
    select * from my_emp
    /
    
  • How to pass the ObjectType as input for search criteria

    Hi all

    I have the search function that takes input parameters and returns all matching rows. It is only forward. My problem is to have several types as an input parameter. This is the reason why I'm not able to pass the value of entry for these types.

    My Input Type table looks like this.

    CREATE OR REPLACE TYPE T_T_PARTY_REQUEST_CRITERIA
    AS THE T_O_PARTY_REQUEST_CRITERIA TABLE;
    /
    CREATE OR REPLACE TYPE T_O_PARTY_REQUEST_CRITERIA
    AS AN OBJECT
    (
    SYSTEM_IDENTIFER VARCHAR2 (50).
    PROCESS_TYPE VARCHAR2 (50).
    UPDATED_BY VARCHAR2 (50).
    STATUS VARCHAR2 (50).
    CHILD_REQUEST_INDICATOR VARCHAR2 (25).
    TRACKING_REQUEST_INDICATOR VARCHAR2 (25).
    REQUEST_TYPE VARCHAR2 (50).
    REQUEST_TYPE_CLASS_NAME VARCHAR2 (50).
    PARTY_KEY_IDENTIFIER T_T_PARTY_KEY_IDENTIFIER,
    ADDTN_IDENTIFIER_INFO T_T_ADDTN_IDENTIFIER_INFO
    )
    /

    Finally the two entries are type again.my question is how to pass the values of these two T_T_PARTY_KEY_IDENTIFIER and T_T_ADDTN_IDENTIFIER_INFO. I defined the last two types now.

    CREATE OR REPLACE TYPE T_T_PARTY_KEY_IDENTIFIER
    AS THE T_O_PARTY_KEY_IDENTIFIER TABLE;
    /

    CREATE OR REPLACE TYPE T_T_ADDTN_IDENTIFIER_INFO
    AS THE T_O_ADDTN_IDENTIFIER_INFO TABLE;
    /

    CREATE OR REPLACE TYPE T_T_ADDTN_IDENTIFIER_VALUES
    AS THE T_O_ADDTN_IDENTIFIER_VALUES TABLE;
    /

    CREATE OR REPLACE TYPE T_O_PARTY_KEY_IDENTIFIER
    AS AN OBJECT
    (
    PARTY_KEY_TYP_NM VARCHAR2 (50).
    PARTY_KEY_VALUE VARCHAR2 (50)
    )
    /

    CREATE OR REPLACE TYPE T_O_ADDTN_IDENTIFIER_INFO
    AS AN OBJECT
    (
    ADDTN_INFO_KEY_TYP_NM VARCHAR2 (50).
    ADDTN_IDENTIFIER_VALUES T_T_ADDTN_IDENTIFIER_VALUES
    )
    /

    CREATE OR REPLACE TYPE T_O_ADDTN_IDENTIFIER_VALUES
    AS AN OBJECT
    (
    ADDTN_RQST_VALUE VARCHAR2 (50).
    ADDTN_RQST_VAL_DT TIMESTAMP (6).
    NUMBER OF ADDTN_RQST_VAL_NUM (19: 2)
    )
    /

    I glued the request my function here. When I pass the value null in the entry for these 2 types my query works. otherwise, it's say no valid Identifier.First I tried with the first Type.

    I am passing the value that
    (PRKYTP. PRTY_KEY_TYP_NM = ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM OR ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM = 'ALL' OR ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM IS NULL).

    Error is Error (34,147): PL/SQL: ORA-00904: "ITTPRC." "" "" PARTY_KEY_IDENTIFIER '. "" PARTY_KEY_TYP_NM': invalid identifier


    SELECT DISTINCT T_O_PARTY_REQUEST_IDENTIFIER (PR. IN BULK PRTY_RQST_ID) GATHER IN T_T_P_R_CRITERIA
    TABLE (CAST (I_T_T_PARTY_REQUEST_CRITERIA AS T_T_PARTY_REQUEST_CRITERIA)) ITTPRC;
    PRTY_RQST PR
    JOIN BUSN_APPLC ON BIAP BIAP. BUSN_APPLC_ID IS PR. BUSN_APPLC_ID
    JOIN INTN_STATS INSTS ON INSTS. INTN_STATS_ID IS PR. INTN_STATS_ID
    JOIN INTN_PROCES_TYP INTPTY ON INTPTY. INTN_PROCES_TYP_ID IS PR. INTN_PROCES_TYP_ID
    LEFT JOIN RQSTYP ON RQSTYP RQST_TYP. RQST_TYP_ID IS PR. RQST_TYP_ID
    JOIN ADDTN_RQST_INFO ADTINF WE PR. PRTY_RQST_ID = ADTINF. PRTY_RQST_ID
    JOIN ADDTN_INFO_KEY_TYP ADDKEY ON ADTINF. ADDTN_INFO_KEY_TYP_ID = ADDKEY. ADDTN_INFO_KEY_TYP_ID
    JOIN PRTY_KEY PRTKEY WE PR. PRTY_RQST_ID = PRTKEY. PRTY_RQST_ID
    JOIN PRTY_KEY_TYP PRKYTP ON PRTKEY. PRTY_KEY_TYP_ID = PRKYTP. PRTY_KEY_TYP_ID
    WHERE (BIAP. BUSN_APPLC_NM = ITTPRC. SYSTEM_IDENTIFER OR ITTPRC. SYSTEM_IDENTIFER = 'ALL' OR ITTPRC. SYSTEM_IDENTIFER IS NULL)
    AND (INTPTY. INTN_PROCES_TYP_NM = ITTPRC. PROCESS_TYPE OR ITTPRC. PROCESS_TYPE = 'ALL' OR ITTPRC. PROCESS_TYPE IS NULL)
    AND (PR. UPDT_BY = ITTPRC. UPDATED_BY OR ITTPRC. UPDATED_BY = 'ALL' OR ITTPRC. UPDATED_BY IS NULL)
    AND (INSTS. INTN_STATS_NM = ITTPRC. STATUS OR ITTPRC. STATE = 'ALL' OR ITTPRC. THE STATUS IS NULL)
    AND (PR. CHLD_RQST_IND = ITTPRC. CHILD_REQUEST_INDICATOR OR ITTPRC. CHILD_REQUEST_INDICATOR = 'ALL' OR ITTPRC. CHILD_REQUEST_INDICATOR IS NULL)
    AND (PR. TRACK_RQST_IND = ITTPRC. TRACKING_REQUEST_INDICATOR OR ITTPRC. TRACKING_REQUEST_INDICATOR = 'ALL' OR ITTPRC. TRACKING_REQUEST_INDICATOR IS NULL)
    AND (RQSTYP. RQST_TYP_NM = ITTPRC. REQUEST_TYPE OR ITTPRC. REQUEST_TYPE = 'ALL' OR ITTPRC. REQUEST_TYPE IS NULL)
    AND (RQSTYP. RQST_CLASS_NM = ITTPRC. REQUEST_TYPE_CLASS_NAME OR ITTPRC. REQUEST_TYPE_CLASS_NAME = 'ALL' OR ITTPRC. REQUEST_TYPE_CLASS_NAME IS NULL)
    - AND (ITTPRC. PARTY_KEY_IDENTIFIER IS NULL).
    - AND (ITTPRC. ADDTN_IDENTIFIER_INFO IS NULL).
    AND (PRKYTP. PRTY_KEY_TYP_NM = ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM OR ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM = 'ALL' OR ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM IS NULL).

    someone can say is that this approach is correct. If this isn't the case, suggest me.

    I am passing the value that
    (PRKYTP. PRTY_KEY_TYP_NM = ITTPRC. PARTY_KEY_IDENTIFIER. PARTY_KEY_TYP_NM OR

    PART_KEY_IDENTIFIER here is a nested table. If you cannot join it like that.

    Try like this

    prkytp.prty_key_typ_nm in (select party_key_typ_nm from table(ittprc.party_key_identifier)) or
    

    Here is an example based on the EMP table.

    I created as a result of nested table.

    SQL> create or replace type my_emp_list as table of number(10)
      2  /
    
    Type created.
    
    SQL> create or replace type my_dept_obj as object(deptno number(10), emp_list my_emp_list)
      2  /
    
    Type created.
    
    SQL> create or replace type my_dept_tbl as table of my_dept_obj
      2  /
    
    Type created.
    

    I'm going to use the data of the table nested within a query to get the value of the emp table

     my_dept_tbl
     (
       my_dept_obj
       (
         10, my_emp_list(1,2,3,4,5)
       ),
       my_dept_obj
       (
         20, my_emp_list(6,7,8,9)
       )
     )
    

    The query would be like this

    SQL> select e.*
      2    from emp e
      3    join table
      4         (
      5           my_dept_tbl
      6           (
      7             my_dept_obj
      8             (
      9               10, my_emp_list(7839,7782)
     10             ),
     11             my_dept_obj
     12             (
     13               20, my_emp_list(7566,7369)
     14             )
     15           )
     16         ) t
     17      on e.deptno = t.deptno
     18     and e.empno in (select column_value from table(t.emp_list))
     19  /
    
         EMPNO ENAME  JOB              MGR HIREDATE         SAL        COM     DEPTNO
    ---------- ------ --------- ---------- --------- ---------- ---------- ----------
          7839 KING   PRESIDENT            17-NOV-81       5000          0         10
          7782 CLARK  MANAGER         7839 09-JUN-81       2450          0         10
          7566 JONES  MANAGER         7839 02-APR-81       2975          0         20
          7369 SMITH  CLERK           7902 02-APR-81       2975          0         20
    
    SQL> 
    
  • How to pass the Visa Resource Name parameter to labview dll in labwindows/cvi

    Hello world

    I build a dll of labview, the prototype is: double getchannelpower (double f, uintptr_t * VISAResourceName);

    I don't know how to go from VISAResourceName to this function.

    Is it related to the ViPSession paremeter in function viOpen(REES ViSession, rn ViRsrc, ViAccessMode am, ViUInt32 ti,ViPSession vi)?

    BRs,

    lotusky

    Hey, guys:

    I figured out how to pass the parameter.

    In labview, you must replace the control of visa with string control. In this way, the generated dll function at the entrance of the string type.

    I hope this will help others!

    lotusky

  • How to pass the session IMAQ to the Subvi

    Hello

    My experience with LabView is neither very good nor extended. I am a scientist and I'm with IMAQ data acquisition. My current problem is that the people who wrote the script is modular, versatile, or clear initially structured. So I try to reduce the ridiculous number of tests in a simple flowchart to a level that people can actually understand it... and to make the more versatile script for future experiments.

    I'm introducing quite a few subVIs to be executed repeatedly. However, I can't know how to pass the IMAQ session on the Subvi. I constantly get the error messages. In this case, I want to acquire images with OIDE_CollectFrame.vi controlled by OIDE_TrialPhaseCollect.vi. I couldn't understand how to assign the refnum IMAQ session class, either.

    It is probably a newbie question, but usually I program with LabView.

    Dennis


  • How to pass the vcs - e License? A server to Server B.

    Hello

    my company has a vcs test server.  and we buy the new server.

    I need to spend vcs again server.   I backup and deploy using the vmware ovf file.

    deploy the success. but new server vcs poster license error.

    How to pass the license of vcs?

    Of his assignment, it is not necessary to use both servers at the same time.

    If I see, if you move the virtual computer between two servers and you used local storage the

    Serial number will change...

    Please remember useful frequency responses and identify useful or correct answers.

  • How to pass the name of the last target?

    var lastItem:string;

    If (lastItem! = e.currentTarget.name) {}

    Menu1.lastItem.gotoAndPlay ("S2");

    }

    lastItem is e.currentTarget.name;

    He doesn't like me using the string lastItem for the value of the previous currentTarget.name.

    How to pass the name of the last target?

    Yeh getChildByName returns a display object you need to perform a cast like this

    MovieClip (myMovieclip.getChildByName ("lastItem")) .gotoAndPlay (xx);

  • How to pass the value of the item Application Javascript function.

    Hello

    I have the JavaScript in the properties attribute of the HTML Form element

    I'm on page 1 and passing the value of the item page P1_DEPT_NO. It is perferctly working very well and I am able to get the exact value of the element on the page
    onchange="javascript:function1($x('P1_DEPT_NO').value);"
    I'm on page 1 and passing the value G_DEPT_NO of the Application element .
    The problem here is, I don't get the point of Application inside the javascript function value.
    I tried to use alert(); and it gives me the undefined value
    onchange="javascript:function1($x('G_DEPT_NO').value);"
    I just want to know, How to pass the value of the Application in Javascript element.

    Thank you
    Deepak

    Deepak,

    I'm not a Javascript expert, but the suggestin I did was because the javascript is a case-sensitive... language and thats why onChange is not the same thing as onchange.
    Not sure if this is causing the problem.

    Application elements not associated with a page and have therefore no properties user interface.
    So, as mentioned in another post, the rendering would not work for the elements of the application.
    If it is for a single item, used only on this page, you might create a hidden page element and use it fo your goal

    If you want to keep watching objects application and AJAX, this page contains examples of using AJAX to solve problems like the one you mentioned.
    http://www.Oracle.com/technology/OBE/hol08/apexweb20/ajax_otn.htm#T1B

    Thank you
    Rajesh.

  • HOW TO PASS THE HEX OF THE MAIN PROGRAM VI ENUM, SUB VI ENUM VALUE

    HOW TO PASS THE HEX OF THE MAIN PROGRAM VI ENUM, SUB VI ENUM VALUE.

    HOW THEN IT WILL CHOOSE CORRECT ON SUB VI HEXAGONAL ENUM VALUES.

    Enum values are strings, you must first convert the hexadecimal value to a hexadecimal value chain represtation.

    Then that convert from the enum.

  • How to pass the value?

    Hello.. I'm creating an application of streaming, in which I have a list field in a screen like this...

    1

    --------

    2

    --------

    3

    --------

    and when the item 1 is selected means a url must be passed to the video player...

    I created the list field screen in a package and a video player in other package... but I do not know how to pass the value of the field from the list to the player... Help, please... its URGENT...

    You can get the index selected by the listname.getSelectedIndex () method and compare that value with Vector data (data store URL) .that you will give a correct value from the URL and pass it.

Maybe you are looking for

  • How do I close the program via RS232

    Hello How can I stop the program after I press OK in guest user info? I use line (RS232) series and this part as an attachment is Subvi, the main program is in while loop. But I don't know how I can stop the program after error = true? Is any block f

  • How can I get my Inbox transferred from Outlook in Windows 2000 to Windows XP Outlook Express?

    need help

  • Thunderbolt multi display problem

    I use boot camp on a Mac Pro laptop, Windows 7 will not let me use two screens, so when I jump out of Mac OS I lose the use of one of the screens 27'! The laptop screen is a version of retina... maybe the confusion. I've been using Parallels and it w

  • Windows Home Server 11

    Hello As I read about the details of Windows Home Server, I found that it is used for the sharing of data (documents, music, movies, etc.) with your home network. I would like to understand in detail (but simple language please) how it is diff from L

  • Damaged license key

    HelloI have changed the AD domain in my company. At the opening of my ebooks, there is a damaged message on the license key, so I can't access the ebooks.I uninstalled and reinstalled ADE but the problem remains. I tried to ban to the computer but th