SQL 3 : Create type

hello,
in an example using the object-relational model
I created the following type:
create type professeur_t as object (
+     nump varchar2(5),+
+     nomp varchar2(20),+
+     nbg integer);+
+     /+
create type "professeurs_t" as table of professeur_t;
create type eleve_t as object (
+     nume integer,+
+     nome varchar2(25),+
+     nomc varchar2(5)+
+     );+
+     /+
create type "eleves_t" as table of eleve_t;
when I try to create another type with the following command
create type ecole1_t as object (
+     nomc varchar2(5),+
+     eleves eleves_t,+
+     professeurs professeurs_t );+
+     /+
I get the following error message:
Warning: Type created with compilation errors
checking with:
select type_name from user_types ;
indicates that the type has been created
but when I try to create a table on this type with this command :
create table ecole1 of "ECOLE1_T" (primary key (nomc))
+     nested table eleves_t store as elev,+
+     nested table professeurs_t store as prof;+
I get:
ERROR at line 1:
ORA-00902: invalid datatype
Please if you have an idea about what to do? help me ?
Thank you in advance

Hi,
If you enclose the name of a type (or a table, or a cloumn, or anything else) in double-quotes when you create it, then you generally have to enclose it in double quotes and spell it exactly the same way (case-sensitive) every time you use it.
Lose the double-quotes:
create OR REPLACE type eleves_t as table of eleve_t;
create OR REPLACE type professeurs_t as table of professeur_t;
/All identifiers in Oracle are case-sensitive. You may not realize that because all unquoted code (that is, everything not in suingle-quotes, like 'foo', or double-quotes, like "bar") is converted to upper case before it is compiled.
So when you said
create type eleve_t ...the type that was created was ELEVE_T, all uppercase, exactly as it appears in all_objects.
When you referenced it like this:
create type "eleves_t" as table of eleve_t;there was no error, because all the unquoted code got capitalized before compiling, so it's as if you had said
CREATE TYPE "eleves_t" AS TABLE OF ELEVE_T;Because it was quoted, "eleves_t" was not capitalized.

Similar Messages

  • Create TYPE

    I am not able to create type objects tried with different versions of oracle too.
    Currently I am using Oracle 11g Enterprise edition (2.9GB).
    The problem is when i create a TYPE object and when i terminate the command with a semicolon ';',oracle sql does not stop only (the query does not execute) the loop goes on and on.
    I did like this and found that the SYNTAX is also perfect.
    SQL> CREATE TYPE address_type AS OBJECT
    2 (street varchar2(30),
    3 city varchar2(30),
    4 pincode number(10));
    5
    6
    7
    8...
    It goes on and on it never ends. Command never executes.
    Please Help!

    end the command with "/" :
    create type .....
    /

  • CREATE TYPE address_type AS OBJECT - ERROR

    I am not able to create type objects tried with different versions of oracle too.
    Currently I am using Oracle 11g enterprise edition (2.9GB).
    The problem is when i create a TYPE object and when i terminate the command with a semicolon ';',oracle sql does not stop only (the query does not execute) the loop goes on and on.
    I did like this and found that the SYNTAX is also perfect.
    SQL> CREATE TYPE address_type AS OBJECT
    2 (street varchar2(30),
    3 city varchar2(30),
    4 pincode number(10));
    5
    6
    7
    8...
    It goes on and on it never ends. Command never executes.
    Please Help!

    A type body will contain PL/SQL semicolons, so once SQL*Plus sees that you're entering a type it stops treating semicolons as the SQL*Plus multi-line statement terminator character. (A type header will not contain semicolons, but I expect Oracle decided it would be even more confusing if CREATE TYPE BODY behaved differently to CREATE TYPE.)
    Note you can also terminate entry by entering a dot (period) on a line on its own.
    I guess in older version there was nothing like that.Actually this has been around for over 10 years ;)

  • Help Creating Types

    Hello,
    Hopefully I can explain this clearly.
    I am using data pump import to bring several source databases into different schemas in one new database. The source databases are extracts at different times from a seperate production database and I am encountering errors as follows -
    ORA-39083: Object type TYPE failed to create with error:
    ORA-02304: invalid object identifier literal
    Failing sql is:
    CREATE TYPE "F10BANINST1"."DATE_NT" OID 'DEEC3F961E7C4CB1E0340003BA29B58F' as
    table of DATE;
    This makes sense as the types existed under one schema in the original database and the OIDs are present as they were imported into the first schema I created. What I need to do is create these types in each of the schemas I have created in the new database. I am not sure how best to do this. Apparently I am not able to do something like the following -
    SQL> copy type schema2.TYPE from schema1.TYPE;
    What I would like to do is pull the DDL from the source database into a create statement of the form -
    SQL> create type schema2.type as.....
    and I am not sure how to do this. I need to be certain I get the type body as well. Can someone help me do this please.
    Thank you.
    Bill Wagman

    The OID of the object/collection type must be unique across all schemas. So trying to re-create the type in multiple schemas with the same OID will not work. You will need to choose a new OID for each schema's version of the type.
    However, the obvious question is: why not create a single instance of the type, and grant privileges (EXECUTE and UNDER) to use/extend it to the other schemas?
    Gerard

  • CREATE TYPE prob?

    Environment: XE 10g, WinXP SP2
    As described in another thread, I'm trying to get a PHP application to run against an Oracle database. In that application it tries to run a few CREATE TYPE statements. Those statements are failing with "ORA-24344: success with compilation error".
    The failing statement is:
    create or replace type BIT_OR_IMPL as object (
      val NUMBER,
      static function ODCIAggregateInitialize(sctx IN OUT BIT_OR_IMPL)
        return number,
      member function ODCIAggregateIterate(self IN OUT BIT_OR_IMPL,
        value IN number) return number,
      member function ODCIAggregateTerminate(self IN OUT BIT_OR_IMPL,
        returnValue OUT number, flags IN number) return number,
      member function ODCIAggregateMerge(self IN OUT BIT_OR_IMPL,
        ctx2 IN BIT_OR_IMPL) return number
    )I'm new to Oracle, but that statement appears to be syntactically OK... balanced parentheses, etc.
    Then I took that statement and tried to run it in a SqlPlus script:
    g2user/g2pwd
    set echo on;
    drop type BIT_OR_IMPL;
    create type BIT_OR_IMPL;
    --create or replace type BIT_OR_IMPL as object ( val NUMBER, static function ODCIAggregateInitialize(sctx IN OUT BIT_OR_IMPL) return number, member function ODCIAggregateIterate(self IN OUT BIT_OR_IMPL, value IN number) return number, member function ODCIAggregateTerminate(self IN OUT BIT_OR_IMPL, returnValue OUT number, flags IN number) return number, member function ODCIAggregateMerge(self IN OUT BIT_OR_IMPL, ctx2 IN BIT_OR_IMPL) return number );
    commit;
    quit;But for some reason SqlPlus just sits there expecting more input:
    C:\MyServer>sqlplus @temp.sql
    SQL*Plus: Release 10.2.0.1.0 - Production on Thu Mar 23 00:00:29 2006
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Express Edition Release 10.2.0.1.0 - Production
    SQL>
    SQL> drop type BIT_OR_IMPL;
    Type dropped.
    SQL>
    SQL> create type BIT_OR_IMPL;
      2  --create or replace type BIT_OR_IMPL as object ( val NUMBER, static functio
    n ODCIAggregateInitialize(sctx IN OUT BIT_OR_IMPL) return number, member functio
    n ODCIAggregateIterate(self IN OUT BIT_OR_IMPL, value IN number) return number,
    member function ODCIAggregateTerminate(self IN OUT BIT_OR_IMPL, returnValue OUT
    number, flags IN number) return number, member function ODCIAggregateMerge(self
    IN OUT BIT_OR_IMPL, ctx2 IN BIT_OR_IMPL) return number );
      3
      4  commit;
      5
      6  quit;  // <-- It hangs here until I kill it with Ctrl-C, then it continues
      7
      8  Disconnected from Oracle Database 10g Express Edition Release 10.2.0.1.0 -
    Production
    C:\MyServer>I even trimmed down the CREATE TYPE statement to almost nothing, and it always hangs.
    Is there a problem here, or am I doing something wrong?
    Thanks.

    I already know the statement works fine through SqlPlus... I need to find out why it's being rejected by Oracle when issued via the PHP application. So I'm trying to come at it backwards... if I can find out what the syntax error is, perhaps I can spot it in the application.
    Here's the result of 'SELECT * FROM USER_SOURCE':
    SQL> select * from user_source;
    NAME                           TYPE               LINE
    TEXT
    BIT_OR_IMPL                    TYPE                  1
    type BIT_OR_IMPL as object (
    BIT_OR_IMPL                    TYPE                  2
      val NUMBER,
    BIT_OR_IMPL                    TYPE                  3
      static function ODCIAggregateInitialize(sctx IN OUT BIT_OR_IMPL)
    NAME                           TYPE               LINE
    TEXT
    BIT_OR_IMPL                    TYPE                  4
        return number,
    BIT_OR_IMPL                    TYPE                  5
      member function ODCIAggregateIterate(self IN OUT BIT_OR_IMPL,
    BIT_OR_IMPL                    TYPE                  6
        value IN number) return number,
    NAME                           TYPE               LINE
    TEXT
    BIT_OR_IMPL                    TYPE                  7
      member function ODCIAggregateTerminate(self IN OUT BIT_OR_IMPL,
    BIT_OR_IMPL                    TYPE                  8
        returnValue OUT number, flags IN number) return number,
    BIT_OR_IMPL                    TYPE                  9
      member function ODCIAggregateMerge(self IN OUT BIT_OR_IMPL,
    NAME                           TYPE               LINE
    TEXT
    BIT_OR_IMPL                    TYPE                 10
        ctx2 IN BIT_OR_IMPL) return number
    BIT_OR_IMPL                    TYPE                 11
    11 rows selected.Shouldn't there be a "create or replace " at the front of the statement text?
    Coincidentally, the length of line 1 without those (missing?) characters is (drum roll please)... 29.
    So, can I conclude that the missing 3 words is the problem?
    Message was edited by:
    lmenard

  • Create type problems

    Hi all,
    I'm not able to create objects using SQL in oracle.
    When I use
    Create type obj_ty as object(name varchar2(10));
    2
    is what I get, that is, it goes to the next line without executing the create object stmt. Kindly help me out.
    Thanks,
    -Vikram

    You need to put a slash to execute the create type:
    SQL> Create type obj_ty as object(name varchar2(10));
      2  /
    Type created.
    SQL>

  • CREATE TYPE AddressType AS OBJECT

    I use XDK with Oracle 8.1.7.
    I can't use this example in SQL+ :
    SQL> CREATE TYPE AddressType AS OBJECT (
    2 STREET VARCHAR2(20),
    3 CITY VARCHAR2(20),
    4 STATE CHAR(2),
    5 ZIP VARCHAR2(10)
    6 );
    7
    8
    9
    10 I only type <ctrl C>
    SQL>
    Why?
    null

    SQL> CREATE TYPE AddressType AS OBJECT (
    2 STREET VARCHAR2(20),
    3 CITY VARCHAR2(20),
    4 STATE CHAR(2),
    5 ZIP VARCHAR2(10)
    6 );
    7 /
    Type created.
    SQL>
    You need to enter a / to run the create type statement.
    Steve.

  • Creating tabs for a single SQL report type region

    I would like to find a way to use tabs in a single SQL report type region. The problem I have is that there are too many columns to be displayed so the report looks very cluttered. I would like to find a way to assign say columns 1 - 5 to tab 1, 6-10 to tab 2 etc so the user can find the columns they need by simply clicking on the various tabs without having to execute the query again.
    I have looked at JQuery tabs but that seems to only be applicable to more or less unrelated regions. I tried to create different regions using the same query with different columns and that kind of works, but the regions don't stay in sync if say the user change the order for column 2 in tab 1, when they click on tab 2 everything displays in a different order.
    Another wrinkle is that this is an updatable report so some of the columns are updatable.
    I also looked at the hide / display column solution which is described in a few threads and that may also sort of work, but it is also not quite what I am looking for.
    Any help is greatly appreciated

    Does anybody know if this can be accomplished using APEX? What I am really looking for is very similar to an old fashioned client / server screen developed using say Oracle Forms. Consider an order line screen where say columns line number, SKU and SKU description is to the left of the tabs so these columns are visible no matter which tab is active. Then the first tab has say pricing information including UOM, quantity, list price, unit selling price, price list. The next tab has say customer information including customer number, name, bill to and ship to addresses. the next tab has say shipping information with say the warehouse, shipping instructions and shipping method.

  • Passing parameters to PL/SQL table types

    Hi Everybody,
    I have one question about passing PL/SQL tables types and tabs as IN parameter in procedure.I am working in 11.2.0.2.0 environment. I am stuck on how to pass those values to procedure.Please find below more details:
    Table 1:
    CREATE TABLE ITEMS
    ITEM_ID VARCHAR2(40 BYTE) NOT NULL,
    ITEM_NAME VARCHAR2(40 BYTE),
    SERIAL NUMBER(2),
    ADDED_ON DATE);
    Table 2:
    CREATE TABLE ITEM_ACTIVITY_INFO
    ITEM_ID VARCHAR2(40 BYTE) NOT NULL,
    ACCOUNT_TYPE VARCHAR2(1 BYTE),
    ID_NUMBER NUMBER(3),
    ACTIVATION_DATE DATE);
    Table 3:
    CREATE TABLE ITEM_GROUP
    GROUP_ID NUMBER(2) NOT NULL,
    ITEM_ID VARCHAR2(40 BYTE),
    GROUP_TYPE VARCHAR2(20 BYTE),
    GROUP_DATE DATE);
    Table 4:
    CREATE TABLE ITEM_ADDRESS
    GROUP_ID NUMBER(2) NOT NULL,
    NAME VARCHAR2(60 BYTE),
    ADDRESS VARCHAR2(100));
    Following types are created:
    CREATE OR REPLACE TYPE ITEMS_TYPE AS OBJECT
    ITEM_ID VARCHAR2(40 BYTE),
    ITEM_NAME VARCHAR2(40 BYTE),
    SERIAL NUMBER(2),
    ADDED_ON DATE);
    CREATE OR REPLACE TYPE ITEM_ACTIVITY_TYPE AS OBJECT
    ITEM_ID VARCHAR2(40 BYTE),
    ACCOUNT_TYPE VARCHAR2(1 BYTE),
    ID_NUMBER NUMBER(3),
    ACTIVATION_DATE DATE);
    CREATE OR REPLACE TYPE ITEM_GROUP_COMP_TYPE AS OBJECT
    GROUP_ID NUMBER(2) NOT NULL,
    ITEM_ID VARCHAR2(40 BYTE),
    GROUP_TYPE VARCHAR2(20 BYTE),
    GROUP_DATE DATE
    ITEM_ADDRESS_IN ITEM_ADDRESS_TYPE);
    CREATE OR REPLACE TYPE ITEM_ADDRESS_TYPE AS OBJECT
    GROUP_ID NUMBER(2),
    NAME VARCHAR2(60 BYTE),
    ADDRESS VARCHAR2(100));
    CREATE OR REPLACE TYPE ITEM_GROUP_COMP_TAB AS TABLE OF ITEM_GROUP_COMP_TYPE;
    Create or replace procedure ITEM_ADD_CHANGE(
    ITEM_IN IN ITEMS_TYPE,
    ITEM_ACTIVITY_IN IN ITEM_ACTIVITY_TYPE,
    ITEM_GROUP_IN IN ITEM_GROUP_COMP_TAB,
    ITEM_OUT IN OUT ITEMS.ITEM_ID%TYPE);
    Above are the paramteres we are passing to procedure.
    I need help in how to pass parameters to above procedure. All comments and responses will be highly appreciated. Thanks everyone for going through the post. Please let me know if more more information is required on this problem.
    Regards
    Dev

    Billy  Verreynne  wrote:
    Types used in this fashion, only make sense if the table is based on the type. It makes very little sense to have a table structure and then to duplicate the structure using a type.
    The 2 structures may be defined the same. But they are NOT interchangeable and requires one to be converted to the other to use. This is not sensible in my view. It is far easier in that case to simply use the PL/SQL macro +%RowType+ to create a duplicate structure definition - one that can natively be used for touching that table, without conversions required.
    If you do want to use types, define the type, then define the table of that type, adding the required constraints (pk, fk, not null, check) to the table's definition.Billy:
    Just curious, why do you say it makes very little sense to have a type modeled on a table? I do that a lot. In my case, I am getting the values from an external program, not building them manually, but it makes a lot of sense to me.
    One application where I do this a lot has a java front-end that parses HL7 messages. Each message contains at least minimal information about a variable number of entities (and often several rows for an entity) in the database, and must be processed as a single atomic trasnaction. So, rather than have potentially hundreds of parameters to the "main" driver procedures for different message types I created a set of types more or less identical to the tables representing the entities. The java program parses the mesasge and populates the type, then calls the appropriate stored procedure for the message type passing in the populated types. My stored procedure then does inserts/updates or deletes as appropriate over potentially dozens of tables.
    John

  • Bug in oracle portal: problem in pl/sql item type

    I created a pl/sql item type... based on a stored proc... whenever I make a change to the store proc I have to readd the item based on this item type since the result on the item type is not updated is this some bug in oracle portal

    I created a pl/sql item type... based on a stored proc... whenever I make a change to the store proc I have to readd the item based on this item type since the result on the item type is not updated is this some bug in oracle portal

  • Passing PL/SQL table type as IN Parameter to DB Adapter

    Hi,
    I have an requirement to pass multiple record values(array of values) to an API from BPEL process.
    For this,
    1) I have created a package procedure having PL/SQL table type variable as IN Parameter.
    2) In the BPEL process, created a DB adpater pointing to the above API.(Created wrapper API impicitly)
    When I intiated the BPEL process passing multiple values, the API is taking only the first value, ignoring rest of the values.
    Any reason, why only the first value is accepted by the API ?
    Thanks,
    Rapp.

    If I understand correctly, JPublisher generates a wrapper API for an underlying API that takes a PL/SQL table as an IN parameter. The wrapper will generate and use a SQL nested table as the type for the IN parameter of the wrapper procedure.
    The DB adapter DOES support nested tables, varrays, and objects as IN parameters of an API. The problem you are seeing is most likely due to the way you are modeling your BPEL process, specifically with respect to your Assign activities.
    When you Assign TO an IN parameter, make sure that you drill down all the way and choose the parameter name in the InputParameters root element. Similarly, when you Assign FROM the API value, you must drill down and choose the name of the OUT parameter in the OutputParameters root element.
    In a Transform activity, you would use the FOR construct on the target side to get the values of the nested table or varray from the source side.

  • Can you confirm for me please? - jdbc to pl/sql record types

    Hi, I was hoping somebody could confirm the following please? I've been researching this in the Oracle JDBC docs and the Internet, but would feel more comfortable if somebody would confirm my findings.
    I have a 10g database pl/sql procedure that takes a pl/sql record type as both IN and OUT parameter. I'm not allowed to modify this legacy procedure, though I may create new supporting code.
    My research shows there is no inherit support in JDBC for Oracle pl/sql record types as per the Oracle JDBC docs.
    As a solution, if the procedure only returned a record type, my understanding is I could create a ref cursor in pl/sql, as well as a wrapper procedure that calls my original procedure, and returns the record type through the ref cursor. This could then be used by my JDBC code as JDBC supports ref cursors as a return type.
    However in my case, as the record type is both an IN and OUT parameter of my procedure, my research so far says JDBC support for ref cursors does not allow the writing of value to the ref cursor to be submitted back to the database. Is this correct?
    If this limitation exists, as such the better (and only?) solution is to create a shadow pl/sql procedure that takes all the record elements as separate IN OUT parameters and then create a private record based on the record type and pass it to the original procedure.
    Is my research here correct? Any help appreciated.
    Thanks & regards,
    CM.

    Chris,
    As far as I know, PL/SQL record types are not supported in JDBC.
    I believe you may be able to use TopLink.
    I think Kuassi Mensah may have some examples in his book Oracle Database Programming.
    Alternatively, you could use an Oracle object instead of a PL/SQL record.
    This would be similar to what you are suggesting except that instead of a ref cursor, you would transfer the PL/SQL record to an Oracle object.
    Good Luck,
    Avi.

  • Create Type as Object not working in linux oracle 11g

    Pleae refer to the following simple create type as object statement.
    CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER)
    It is working in oracle 11g and windows server 2008 environment.
    But it is not working in oracle 11g with linux environment.
    I am executing this statement as dynamic sql as follows
    CREATE OR REPLACE PROCEDURE TEMP_SP
    AS
    BEGIN
    DECLARE vcType VARCHAR2(30);
    BEGIN
    SELECT OBJECT_TYPE into vcType FROM USER_OBJECTS
    WHERE OBJECT_NAME='EC_VIEWABLETYPES' AND OBJECT_TYPE='TYPE';
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER) ';
    COMMIT;
    RETURN;
    END;
    END;
    exec TEMP_SP
    please let me know what i am missing ?

    And error is:ORA-00600: internal error code, arguments: [kothc_uc_md5:lxerr], [], [], [], [], [], [], [], [], [], [], []
    ORA-06512: at "ATIPAGENT.TEMP_SP", line 10
    ORA-01403: no data found
    ORA-06512: at line 1
    ..Query:exec TEMP_SP...Previous Query:CREATE OR REPLACE PROCEDURE TEMP_SP AS BEGIN DECLARE vcType VARCHAR2(30); BEGIN
    SELECT OBJECT_TYPE into vcType FROM USER_OBJECTS
    WHERE OBJECT_NAME='EC_VIEWABLETYPES' AND OBJECT_TYPE='TYPE'; EXCEPTION WHEN NO_DATA_FOUND THEN
    EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE EC_VIEWABLETYPES as object ( CASE_TYPE_ID NUMBER) ';
    COMMIT;
    RETURN;
    END;
    END;

  • How to access PL/SQL data types through JDBC

    Hi,
    We have stored procedures written in PL/SQL. These stored procs take both IN and OUT parameters. The parameter types are both regular datatypes like NUMBER, VARCHAR etc. So far so good. I know how to handle these data types.
    Some of the stored procs also use parameters that are defined as composite data types like %ROWTYPE or %RECORD. How would I set the values of these data types? Can I use the oracle extension - support for Oracle Objects to accomplish this. If so please let me know with an example. If not any other suggestions or help will be greatly appreciated.
    Thanks
    Karthik
    null

    JDBC (and SQLJ) only support SQL types as stored procedure arguments, not PL/SQL types.
    If your stored procedure uses a PL/SQL-only type, such as BOOLEAN, record types, or index-by tables, then you cannot call it from Java (or, for that matter, from other languages as well).
    There is one exception: scalar index-by table arguments have been supported since JDBC 8.1.7 in the JDBC-OCI driver (refer to the JDBC manual for specifics).
    One workaround is to create wrapper PL/SQL stored procedures that take SQL arguments and convert them to PL/SQL -and vice versa- and call the original PL/SQL stored procedures. For example, a record type could be exploded into individual arguments, or it could be converted into a SQL object type, index-by tables could be represented as SQL collection types, etc.
    You can find a small example of this in the back of the JPublisher manual, where an example is given how to call a PL/SQL stored procedure that takes BOOLEAN arguments.

  • Error On Creating Type

    SQL> create or replace type WS_REQUEST as object
      2  (
      3    xml xmltype,
      4    http_request utl_http.req
      5   )
      6  /
    Warning: Type created with compilation errors
    SQL> show err;
    Errors for TYPE SYS.WS_REQUEST:
    LINE/COL ERROR
    4/16     PLS-00201: identifier 'UTL_HTTP.REQ' must be declared
    0/0      PL/SQL: Compilation unit analysis terminated
    SQLI logged in sys schema as sysdba. What is the problem?

    I think you cannot create types if the attributes' datatypes are based on package records, constants, etc
    See:
    mmara@pyn> create or replace package val
    is
    type dummy is record (
    pid number,
    pname varchar2(15));
    end val;
    Package created.
    mmara@pyn> create or replace type WS_REQUEST as object
    xml xmltype,
    http_request val.dummy
    Warning: Type created with compilation errors.
    mmara@pyn> show errors type ws_request;
    Errors for TYPE WS_REQUEST:
    LINE/COL ERROR
    0/0 PL/SQL: Compilation unit analysis terminated
    4/18 PLS-00201: identifier 'VAL.DUMMY' must be declared
    mmara@pyn>
    In that case, why don't you create the same type as seen in utl_http as an object in the schema?:
    TYPE req IS RECORD (
    url VARCHAR2(32767 byte), -- Requested URL
    method VARCHAR2(64), -- Requested method
    http_version VARCHAR2(64), -- Requested HTTP version
    private_hndl PLS_INTEGER -- For internal use only
    );

Maybe you are looking for

  • Podcast has downloaded for some people but not others

    hello i have an established podcast we have been running for 3 years now. We've just reached our 54th episode and after i uploaded it the podcast it went through to the itunes store... i refreshed my podcast directory and it didnt download to my imac

  • "The disc you inserted is not readable by this computer" message.

    I get the following desktop message upon start up, "The disc you inserted is not readable by this computer." There is no disc in the optical drive but there is an external 2TB Western Digital drive connected by Firewire that I use for Time Machine. I

  • Reg : Condtions in Adobe Forms

    Hi all How to check Conditions in Adobe Form In Having 1 Input -  name As Value1 Also Im created 2 textbox in my layout Textbox1 and Textbox2 If Given Value1 is 1  i want to display Textbox1 and IF value1 is 2  want to display only Textbox2 How to ch

  • How do I determine if my 5.0 is 32 bit or 64 bit

    When determining which Java to use, it is available in both 32/64 bit. I installed Win7 in 64 bit OS. Java says I can determine which browser I am using, but I cannot tell. Additionally, on the Java download page, it reports I am using a 32 bit brows

  • Partner Profile - WE20 Changes

    Hi all Can we identify the person who made the changes to the partner profile, We are having this as a major problem, someone is always changing the parameters of the partners which is impacting our bacth jobs,, so can any one help me how to identify