type defination

Hi all

I need a little help with type definitions with the constant of type listed... how to create their

thnx

1. create an enum to control on the front panel.

2 edit the items in the control if necessary.

3. right click on the control, choose Advanced, customize.  The command Editor opens.

4. click on the menu down and select TypeDef.  If you want the appearance of the enum to be blocked, then choose (strict) TypeDef.  But usually the regular typedef is all you need.

5 close the editor, replace the original command and save the TypeDef a .ctl file.

Tags: NI Software

Similar Questions

  • call a procedure of package DB type complicated if the type defined in the package itself

    Hello world

    I use jdev 11.1.1.7.0

    I defined a package of data with a procedure and internal two types as follows:

    Create Or Replace Package Db_Package As 
    
    Type rec Is Record(Rec_Type Varchar2(10), Rec_Desc varchar2(10) );                        
    Type recordList Is Table Of rec;
    
    Procedure Test_Procedure(p_out out recordList);
    END db_package;
    
    
    

    evil

    I want to call this procedure in the module of the application. I know how to call a procedure or function db AM,

    but in this case that I've defined two types in the package itself and I use one of these types as to the procedure output parameter, I had a problem.

    below is the example of code to call the db procedure, but it does not work because the plsqlBlock.registerOutParameter () setting will not

            CallableStatement plsqlBlock = null;
            String statement = "Begin DB_PACKAGE.Test_Procedure(:1); END;";
            try {
                plsqlBlock = getDBTransaction().createCallableStatement(statement, 0);
                plsqlBlock.registerOutParameter(1, OracleTypes.ARRAY);// it doesn't work
                plsqlBlock.executeUpdate();
                Object object = plsqlBlock.getObject(1);      
    
    
            } catch (Exception e) {
                e.printStackTrace();
            }
    
    
    
    

    I know that if I set the types of packets (rec, recordList) as types of oracle (instead of setting in the packaging itself) so I can call the procedure with success, in this case I should use below:

    plsqlBlock.registerOutParameter(1, OracleTypes.ARRAY,"Recordlist");
    

    but I wonder how you can call a procedure from the package if the types defined in the package itself.

    Kind regards

    Habib

    JDBC supports the types of oracle level package only from 12 c database and jdbc driver ojdbc7 (which requires java 7).

    Dario

  • How can I mount types defined by the user of the package?

    I have two types of similar packages (gt_Teste) in two different packages.

    How can I mount types defined by the user of the package?
    (I shouldn't want to made a new statement va_Teste2 pkgl_lu2.gt_teste due to the desire to increase memory allocation)

    ------------------------------------------------------------------------------------------
    -ANONYMOUS BLOCK
    ------------------------------------------------------------------------------------------
    declare
    va_Teste pkgl_lu1.gt_teste;
    va_Teste2 pkgl_lu2.gt_teste;
    Start
    --
    pkgl_lu1.prcl_init (va_Teste);
    pkgl_lu1.prcl_print (va_Teste);

    +/*
    -I don't want to do it because of memory allocation:
    Because me in va_Teste.First... va_Teste.Last loop
    va_Teste2(va_Teste2.Count+1): = va_Teste (i);
    End loop;
    */+

    pkgl_lu2.prcl_print (CAST (va_Teste AS pkgl_lu2.gt_Teste));
    end;
    /

    ------------------------------------------------------------------------------------------
    -PACKAGE PKGL_LU1
    ------------------------------------------------------------------------------------------
    create or replace package pkgl_lu1 is
    type gt_teste is table of index varchar2 (100) by simple_integer;

    procedure prcl_init (pi_teste in out nocopy gt_teste);
    procedure prcl_print (pi_teste gt_teste);
    End;
    /

    create or replace package body is pkgl_lu1
    ---------------------------------------------
    procedure prcl_init (pi_teste in out nocopy gt_teste)
    is
    Start
    pi_teste (pi_teste.count + 1): = 'A ';
    pi_teste (pi_teste.count + 1): = 'B ';.
    pi_teste (pi_teste.count + 1): = 'C ';
    pi_teste (pi_teste.count + 1): = ';
    end;
    ---------------------------------------------
    procedure prcl_print (pi_teste gt_teste)
    is
    Start
    I'm in pi_teste.first... pi_teste. Last loop
    dbms_output.put_line (pi_teste (i));
    End loop;
    end;
    End;
    /

    ------------------------------------------------------------------------------------------
    -PACKAGE PKGL_LU2
    ------------------------------------------------------------------------------------------
    create or replace package pkgl_lu2 is
    type gt_teste is table of index varchar2 (100) by simple_integer;
    va_teste gt_teste;

    -procedure prcl_init (pi_teste in out nocopy gt_teste);
    procedure prcl_print (pi_teste gt_teste);
    End;
    /

    create or replace package body is pkgl_lu2
    procedure prcl_print (pi_teste gt_teste)
    is
    Start
    I'm in pi_teste.first... pi_teste. Last loop
    dbms_output.put_line (pi_teste (i));
    End loop;
    end;
    End;
    /

    I see, well it's unfortunate bloody.

    Ideally you would have a package (utility package or something) with objects like that, that can be shared between the development environment, unless you never have an interface code (each package is entirely distinct from all other packages, and honestly, it's not likely to happen).

    I guess that your only option (I think) If you are concerned with memory usage would be to remove the table while assigning a new.

    For i In va_Teste.First..va_Teste.Last
    Loop
      va_Teste2(va_Teste2.count+1) := va_Teste(i);
      va_Teste.DELETE(i);
    End Loop;
    
  • Beta type defined by the user in Entity Framework support?

    After you run the wizard entity data model against a test database, I found that automatically generated models are absent from the user-defined types. For example if I have a customer containing only a numeric primary key type object, name varchar2 and a custom ADDRESS_OBJ, only the primary key and the name address are generated in the edmx designer file.

    The last beta version does support user-defined types or am I doing wrong? I followed this tutorial: http://www.oracle.com/webfolder/technetwork/tutorials/obe/db/dotnet/EntityFrameworkOBE/EntityFrameworkOBE.htm

    Thanks for your help.

    Published by: user9084865 on May 2, 2011 23:01

    No, it currently does not support UDTS. You could try to post on the ODP.NET forum to see if you get more details.

  • Automatic Type define

    When you work with a call to reference, it must use a strict reference (so including the front panel objects).

    But the problem that I have made a strict reference. I need to choose the server VI class, navigate to the location of the VI and open the VI.

    Would it not possible just to use the file that I already use to open the VI reference.

    aka

    Is it possible to automate stritic referring to a VI for the reference function call?

    If you want to use the connector pane, you MUST have the strict reference and every VI that you use must have the same connector pane, or you will get an error. I don't know why by dragging a VI is difficult. If you want to have several screws, just use one of them as input to the type specifier (or you can even unplug, but I don't want to describe this process) and get the path separately.

    If your screws have different connector components, then you can not use CBR to call and you should not use the method run a VI, as you suggest.

  • Generation of an element of an Instance of data type defined by the user

    Hi all

    I am trying to generate an element with several attributes xml, (I don't want to use builtin xmlattributes )

    Script common and produces xml is,

    -lower table departments

    create table services (department_id number (2))

    , department_name varchar2 (14)

    ) ;

    insert into departments values (10, 'Blue');

    insert into a values (20, 'Red') departments;

    -drop table employees

    create the table employees (employee_id number 4

    , last_name varchar2 (10)

    (, number (2)) department_id;

    insert into employees values ("1,'Ram gupta", 10);

    insert into employees values (2, 'Pan Yadav', 10);

    insert into employees values ("3, ' Asu Jena", 20);

    insert into values employed (4 'Viv Pandey', 20);

    CREATE or REPLACE TYPE emp_t AS OBJECT ("@EMPNO" number 4,

    ENAME VARCHAR2 (10));

    /

    CREATE or REPLACE TYPE emplist_t AS TABLE OF THE emp_t;

    /

    CREATE or REPLACE TYPE AS OBJECT dept_t ("@DEPTNO" NUMBER (2),)

    DNAME VARCHAR2 (14).

    EMP_LIST emplist_t

    );

    /

    CREATE or REPLACE TYPE deptxml AS TABLE OF THE dept_t;

    -The query for XMl,.

    SELECT

    dept_t (department_id,

    department_name, CAST ((SELECT employe_id, last_name MULTISET

    E EMPLOYEES

    WHERE e.department_id = d.department_id)

    AS emplist_t)

    )

    AS deptxml

    DEPARTMENTS d

    WHERE d.department_id = 10;

    XML product

    <? XML version = "1.0"? >

    -Department < and >

    -< DEPT_T DEPTNO = "10" >

    Blue < DNAME > < / DNAME >

    -< EMP_LIST >

    -< EMP_T EMPNO = "1" >

    < ENAME > Ram gupta < / ENAME >

    < / EMP_T >

    -< EMP_T EMPNO = "2" >

    Yannick Pan < ENAME > < / ENAME >

    < / EMP_T >

    < / EMP_LIST >

    < / DEPT_T >

    < / Department >

    Required XML code is...

    <? XML version = "1.0"? >

    -Department < and >

    -< DEPT_T DEPTNO = "10" >

    Blue < DNAME > < / DNAME >

    -< EMP_LIST >

    -< EMP_T EMPNO, ENAME = '1' = 'Ram gupta' > < / EMP_T >

    -< EMP_T EMPNO = '2' = ENAME "Pan yannick ' > < / EMP_T >

    < / EMP_LIST >

    < / DEPT_T >

    < / Department >

    Please kindly suggest me the script for this XML.

    SQL> CREATE OR REPLACE TYPE emp_t AS OBJECT ("@EMPNO" NUMBER(4),  2                                          "@ENAME" VARCHAR2(10))  3  /
    Type created.
    SQL> CREATE OR REPLACE TYPE emplist_t AS TABLE OF emp_t  2  /
    Type created.
    SQL> CREATE OR REPLACE TYPE dept_t AS OBJECT ("@DEPTNO" NUMBER(2),  2                                          DNAME VARCHAR2(14),  3                                          EMP_LIST emplist_t  4                                          )  5  /
    Type created.
    SQL> CREATE OR REPLACE TYPE deptxml AS TABLE OF dept_t  2  /
    Type created.
    SQL> select sys_xmlgen  2        (  3          deptxml  4          (  5            dept_t  6            (  7                department_id  8              , department_name  9              , cast 10                ( 11                    multiset 12                    ( 13                      select employee_id 14                            , last_name 15                        from employees e 16                        where e.department_id = d.department_id 17                    ) as emplist_t 18                ) 19            ) 20          ) 21        , sys.xmlgenformattype.createformat('Department') 22        ) as deptxml 23    from departments d 24  where d.department_id = 10;
    DEPTXML--------------------------------------------------------------------------   Blue         
    
    SQL>
    
  • Not able to get the value of the type defined in the other program

    Hi all

    I have create a type in a single package spec (Globally), now I'm using the same type in another package. Simply I'm calling the first package and try to store the value in the Type and use the same type in the second package.

    But I'm not able to get the value

    Type declaration

    Declared in package Spec
    
    TYPE t_aa_derive_tbl_type IS TABLE OF xxxx%ROWTYPE;
       t_aa_derive t_aa_derive_tbl_type;
    

    Package 1

    Package1. PROCEDURE name(
    some parameters);
    is
    Cursor
    c1 is Select * from dual;
    
    begin
          OPEN c_aa_derive;
            FETCH c_aa_derive
            BULK COLLECT INTO t_aa_derive;
            CLOSE c_aa_derive;
           
         END get_aa_derive;
    

    In my second package

    I'll call you

    Package1. PROCEDURE name(
    some parameters);
    
    and then i am trying to
    
    for i in 1 .. package1.t_aa_derive.COUNT
      LOOP
    
    ....
    
    ....
    ...
    
    end loop;
    

    I can not entered the loop for some reason any.

    Could someone guide me if anything I missed.

    See you soon,.

    San

    And what did you like refcursor c_aa_derive in the call to package1.name? Is it returns all rows? If this isn't the case, COUNT will be 0.

    SY.

  • How to fix the value of table type defined on page of the ofa LOV

    Hello world
    There's a valueset created in the xx_ap_valueset to say front end which is of type table and created on a table xx_ap_table somewhere with cluase and stopped by the clause.

    Is there a way that we can reach this value a page of the OPS LOV? or is it just that I need to create a vo and reproduce the select statement used in the valueset.


    Help, please!

    Thank you
    Sunny

    Sunny,

    You can not attach the Valueset to the Lov directly. You must create a VO for this.

    Kind regards
    GYAN

  • Insert some values into the type defined by the user in the table column?

    Hello

    I've created a type

    CREATE TYPE COURSE_OBJ1 AS OBJECT)
    course_code char (8),
    course_name varchar (35)
    );

    Then set up a table with the type as one of the columns

    CREATE TABLE NEW_COURSE1)
    course COURSE_OBJ1,
    date of course_date,
    course_instructor varchar (35),
    course_location varchar (20)
    );

    Now, it makes me error: column not allowed here

    INSERT INTO NEW_COURSE1 (courses, course_date, course_instructor, course_location)
    VALUES (course ('DBA12345', '101 S/n'), October 3, 2005, "Phung',"Kaanapali")

    Can someone show me please the correct way to insert these data? He's not from another table. This is a file txt nothing else than values.

    Thank you

    You created type COURSE_OBJ1, but in the instructions wrote courses("DBA12345",'s / n 101')
    (1) course replace ('DBA12345', '101 S/n') COURSE_OBJ1 ('DBA12345','s / n 101')
    (2) add citations to 3 October 2005 or replace to 'to_date('03-OCT-2005','dd-mon-yyyy') '.

    INSERT INTO NEW_COURSE1(course, course_date, course_instructor, course_location)
    VALUES(COURSE_OBJ1('DBA12345', 'DBA 101'), to_date('03-OCT-2005','dd-mon-yyyy'), 'Phung', 'Kaanapali');
    

    Kind regards
    Sayan M.

  • Type a table defined clusters to hold configuration data - definition of default values for each element of the array

    Hello

    I was wondering if I could get some information and opinions on the use of an array of type defined clusters to store configuration data.  I am creating a program to test several EHR and wanted to have a control of type defined for each HAD with the information needed to create the DAQmx tasks for all signals for it must HAVE.  I am eager to do so that the data are encoded in hard and not in a file that the user might spoil.

    Controls of type def are then put into a Subvi who chooses as appropriate, one based on the enumeration of Type DUT connected to a case structure.

    I have problems with the control of the defined type.  I see issues when you try to save a configuration unique to each element of the array in the array of clusters.  Somehow, it worked at first, but now by clicking on "Operations on the data--> default font of the current value ' on individual elements of the cluster or the entire cluster (array element) does not save data when I re - open the command def.  What I am doing wrong?  I'm trying to do something with the berries of the clusters that I shouldn't do?

    I enclose one of the defined reference type controls.  I tried to change it bare to see if that helped, but no luck.

    To reproduce, change the resource string for the element 0 of the array and do the new value by default.  Then close the def of type, and then reopen it.  The old value is always present in this element.  The VI is saved in LabVIEW 2012.

    The values of a typedef are not proprigated to the instances of the control. They get if created WHEN data values have changed. They will be not updated with the changes to come. You must create a VI specifically to hardcode your values or to implement a file based initialization. The base file would be much better and more flexible. If you don't want users to change the data simply encryption. There is a wedding blowfish library that you can download.

  • Access to the defined user compex types in stored procedure

    Hi all

    I have two complex types defined by the user which are defined as follows:

    create or replace

    TYPE 'MA_ROOT_OBJECT' AS THE OBJECT

    (

    USER_MACHINE VARCHAR2 (30),

    USER_DOMAIN VARCHAR2 (60),

    DATE OF EVENT_ACTIVITY_DT,

    USERCOLL MA_USER_TABLE,

    DATABASECOLL MA_DATABASE_TABLE

    )

    And USERCOLL and DATABASECOLL are again a different complex types defined by user 2. What should I do for the DATABASECOLL of the stored procedure?

    I am getting error below when I try to access:

    • Error (13.31): PLS-00302: component 'TMP_DATABASECOLL' must be declared

    ######################################################

    PROCEDURE SP_MSACCESS_METADATA)

    MSACCESSCOLL IN MA_ROOT_TABLE,

    STATUS OF THE VARCHAR2)

    AS

    TMP_DB_NAME VARCHAR2 (100);

    TMP_DATABASECOLL MA_DATABASE_TABLE;

    meter NUMBER (3);

    BEGIN

    SAVEPOINT INIT;

    TMP_DB_NAME: = MSACCESSCOLL. TMP_DATABASECOLL. DB_NAME

    EXCEPTION

    WHILE OTHERS THEN

    STATUS: = "ERROR BY STORING DEMAND MSACCESS."

    RAISE_APPLICATION_ERROR (-20001, SQLERRM);

    ROLLBACK TO SAVEPOINT INIT;

    END SP_MSACCESS_METADATA;

    Since MA_DATABASE_TABLE is a collection, you must tell Oracle item on which you want to:

    For example, if you want only one element in the collection:

    TMP_DB_NAME: = MSACCESSCOLL. DATABASECOLL (1). DB_NAME;

    otherwise, you will need to loop.

  • Defined by the mobile user to another diagram type

    I have a table say User1, this chart as a column of type defined by the user (nested table). For some reason any I have to move the user defined the different diagram type.

    To do this, I've recreated type defined by the user in the User2, now before I drop the USER1 user-defined type, I re-create the table using new type defined by the user in user2.

    I created a temporary table with new type defined by the user, now I have to move the data from the original for temporary table table. I am facing a problem while moving data for the nested table column (because they are of different types). I tried cast but that also failed.  Any information on how to achieve this use case is much appreciated.

    DOUBLE WIRE!

    Please do not create duplicate threads. Mark the ANSWER thread and continue to use your first thread.

    https://community.Oracle.com/thread/3552398

  • user-defined types

    Hi all

    I have a function that returns a type defined by the user in my sql environment. The type consists of 5 different columns. I pass a ref_id to my function, on the basis of which he does some calculations and returns me the type.

    create or replace type my_type

    (

    number of col1,

    col2 varchar2 (100),

    COL3 varchar2 (10),

    number of COL4,

    number of col5

    )

    create or replace function fun (number in_id) return my_type

    as

    Start

    -code1

    -code2

    Return (my_type)

    end;

    In my sql environment, I have a table which is the following structure

    create table tab1

    (

    number of emeline

    upgvc varchar2 (100),

    number of Ref_ID, - this ref_id when it is passed to the function above will return a populated user-defined type values.

    number of col1,

    col2 varchar2 (100),

    COL3 varchar2 (10),

    number of COL4,

    number of col5

    )

    I have a table tab2, using which i will be filling of the columns of the table tab1, tab2 table structure is as below

    create table tab2

    (

    number of emeline

    upgvc varchar2 (100),

    number of Ref_ID)

    now I have to fill each column in table tab1, tab2 table and my pleasure to feature.

    something like

    Insert into tab1

    Select emeline,

    upgvc,

    Ref_ID,

    Rest of the values must be completed by calling the function using the ref_id and fill in the values. What would be the best way to do it? I have millions of records with it. I tried to use this with the function of REGAL and tried fill lines, but its slow.  All of the suggestions.

    Note: apologies for not sticking scripts and the original code since it will take days

    Thank you

    Rahul

    PetervdZwan wrote:

    Hello

    I agree that you shouldn't calc function for each attribute. But you don't need an extra table for this type.

    See below:

    Not sure what you mean:

    SQL > set serveroutput on
    SQL > select a.deptno,.
    2 a.f.col1 col1,
    a.f.col2 3 col2,
    4 a.f.col3 col3,
    5 a.f.col4 col4,
    6 a.f.col5 col5
    7 of)
    8. Select wagneur, f1 (deptno) f
    scott.dept 9 d
    10          ) a
    11.

    DEPTNO COL1 COL2 COL3 COL4 COL5
    ---------- ---------- ---------- ---------- ---------- ----------
    10         10 A          B                   2          3
    20         20 A          B                   2          3
    30         30 A          B                   2          3
    40         40 A          B                   2          3

    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    SQL >

    As you can see, function runs again 5 times by each line. You need to materialize in line of sight. It can be done using NO_MERGE:

    SQL > select a.deptno,.
    2 a.f.col1 col1,
    a.f.col2 3 col2,
    4 a.f.col3 col3,
    5 a.f.col4 col4,
    6 a.f.col5 col5
    7 of)
    8 select / * + no_merge * /.
    wagneur, f1 (deptno) 9 f
    scott.dept 10 d
    11          ) a
    12.

    DEPTNO COL1 COL2 COL3 COL4 COL5
    ---------- ---------- ---------- ---------- ---------- ----------
    10         10 A          B                   2          3
    20         20 A          B                   2          3
    30         30 A          B                   2          3
    40         40 A          B                   2          3

    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    Call to F1
    SQL >

    However, I have and I know not why, the function is called not 4 but 6 times, using the type of collection (as in my first response) causes function calls only 4 - one per each line.

    SY.

  • Add the column to an existing table-based user-defined type

    Hello guys,.
    I am compiling my function that returns a type defined by the user based on an existing table. Throughout the process of initialization so my query returns an additional column - SCORE (1). Here is my package:

    create or replace
    PACKAGE STAFF_AGENCY_PKG AS

    TYPE TYPE_SEEKER_TABLE IS TABLE OF THE DRAW. SEEKER % ROWTYPE;
    FUNCTION GET_SEEKERS (IN_KEYWORD IN VARCHAR2)
    TYPE_SEEKER_TABLE RETURN PIPELINE;

    END STAFF_AGENCY_PKG;
    -------

    create or replace
    STAFF_AGENCY_PKG PACKAGE BODY
    AS

    FUNCTION GET_SEEKERS (IN_KEYWORD IN VARCHAR2)
    TYPE_SEEKER_TABLE RETURN PIPELINE
    IS
    R_TBL TYPE_SEEKER_TABLE; -to return
    BEGIN
    FOR R IN)
    SELECT Seeker.SEEKER_ID,
    Seeker.FIRSTNAME,
    Seeker.LASTNAME,
    Seeker.NATIONALITY,
    Seeker.ISELIGIBLE,
    Seeker.BIRTHDATE,
    Seeker.ISRECIEVEEMAILS,
    Seeker.HIGHESTDEGREE,
    Seeker.ETHNICITY,
    Seeker.GENDER,
    Seeker.ISDISABILITY,
    Seeker.DISABILITY,
    Seeker.CV,
    Seeker.PASSWORD,
    Seeker.PREFFERED_CITY,
    SEEKER. E-mail
    SEEKER. JOB_PREFERENCES_ID,
    SCORE (1)
    THE APPLICANT Seeker
    WHERE CONTAINS (CV, ' < query >)
    < textquery lang 'grammar' = 'context' = > ' |
    GET_RELATED_CATEGORIES (IN_KEYWORD) |
    ' < / textquery >
    < score datatype = "INTEGER" / >
    (< / query > ', 1) > 0
    )
    LOOP
    PIPE ROW (R); -Error (38,10): PLS-00382: expression is of the wrong type
    END LOOP;
    RETURN;

    END GET_SEEKERS;
    END STAFF_AGENCY_PKG;

    How do I change my user type to be sufficient?

    Oracle version 11.2.0.1.0
    Thanks in advance!

    >
    How do I change my user type to be sufficient?
    >
    You will need to create two new TYPEs. The one who has all the columns of the draw. The REQUESTOR table and the new column SCORE, then a TYPE which is an array of the first type.

    See example 12-22 using a Pipelined Table function for a Transformation in the PL/SQl language reference

    http://docs.Oracle.com/CD/B28359_01/AppDev.111/b28370/tuning.htm#i53120

    Here's the first part

    -- Define the ref cursor types and function
    CREATE OR REPLACE PACKAGE refcur_pkg IS
      TYPE refcur_t IS REF CURSOR RETURN employees%ROWTYPE;
      TYPE outrec_typ IS RECORD (
        var_num    NUMBER(6),
        var_char1  VARCHAR2(30),
        var_char2  VARCHAR2(30));
      TYPE outrecset IS TABLE OF outrec_typ;
     FUNCTION f_trans(p refcur_t)
          RETURN outrecset PIPELINED;
    END refcur_pkg;
    /
    
    CREATE OR REPLACE PACKAGE BODY refcur_pkg IS
      FUNCTION f_trans(p refcur_t)
       RETURN outrecset PIPELINED IS
        out_rec outrec_typ;
        in_rec  p%ROWTYPE;
      BEGIN
    

    Change

      TYPE outrec_typ IS RECORD (
        var_num    NUMBER(6),
        var_char1  VARCHAR2(30),
        var_char2  VARCHAR2(30));
      TYPE outrecset IS TABLE OF outrec_typ;
    

    to include all the columns you need. Unfortunately, you have to manually list all the columns in the draw. The REQUESTOR table. If you think you need this same structure in other places you must create them as SQL types instead of PL/SQL types.

    This example should be enough to show you how to modify your code to do something similar.

  • How to get information about the types within a user defined package

    Hi all
    Have a package with some types (user-defined) defined in the package specification. How to get information about the types and
    information about the columns of this type.

    for example:
    Create package mp is

    type t is record (no number is varchar2 (30));

    procedure a (m t out...

    Thanks in advance.

    userg

    G_user wrote:
    the req's, want to build a script dynamically using data dictionary
    so if possible, I take the name of the type within the package specification.

    Let me rephrase - is there a data dictionary to get information on the type defined by the user within a package specification

    Best approach will be to have a standard in the definition of data types.

    Have a process to follow the object definitions in the package if it is mandatory.

Maybe you are looking for

  • Need to support HP telephone number to file a complaint against HP tech

    Hi, someone has a HP phone number we where can I contact HP customer service. I would like to file a complaint against tech support to continue to lie to me for 2 weeks now? I already have the number of 800-474-6836 and is where I have the problem. I

  • Windows installable 8 on NB250?

    Hello world! I wanted to check if I can install * Windows 8 * on a Netbook, the * NB250? * The experience of someone who did this is welcome...If you use such a facility, I would like to know the performance of the system... Thanks in advance... See

  • very small footprint on disk c windows xp

    I don't know what else to remove, I continue to receive messages regarding space, my pc is wide open to viruses etc.

  • How to write data to the XML in VBA 6

    Hello I am using vba 6 I have different data like strings, integer etc I get the object group tag. I want to write data of XML on the button click. and save this file on the way to my pc.

  • Bluetooth service does not

    Hello I use Dell Inspiron 15 R. My Bluetooth was acting weird for the past few months. I have a Dell Wireless 365 Bluetooth Module. My problem is that Bluetooth devices disappears all of a sudden. I can't see the blue tooth in my device, the Bluetoot