Sdo_pc pointcloud blob in SDO_PC_BLK type

docs say:
POINTS BLOB BLOB containing the points. Consists of an array of
points, with the following information for each point:
■ d 8-byte IEEE doubles, where d is the PC_TOT_
DIMENSIONS value
■ 4-byte big-endian integer for the BLK_ID value
■ 4-byte big-endian integer for the PT_ID value
!!! blk_Id comes BEFORE point_id !!!
-- takes a block
-- output is x/y/z/...
function get_pc_points(p_blob blob) return base_t_PCArray
PIPELINED is
v_result base_t_PC;
v_curr_x number;
v_curr_y number;
v_curr_z number;
v_curr_block_id number;
v_curr_point_id number;
v_buffer_x raw(8);
v_buffer_y raw(8);
v_buffer_z raw(8);
v_buffer_block_id raw(4);
v_buffer_point_id raw(4);
v_size_double pls_integer := 8;
v_size_integer pls_integer := 4;
v_read_offset pls_integer := 1;
begin
--read current point
--read x (8 bytes)
dbms_lob.read(p_blob, v_size_double, v_read_offset, v_buffer_x);
--read y (8 bytes)
dbms_lob.read(p_blob, v_size_double, v_read_offset + 8, v_buffer_y);
--read y (8 bytes)
dbms_lob.read(p_blob, v_size_double, v_read_offset + 16, v_buffer_z);
--read block_id (4 bytes)
dbms_lob.read(p_blob,
v_size_integer,
v_read_offset + 20,
v_buffer_block_id);
--read point_id (4 bytes)
dbms_lob.read(p_blob,
v_size_integer,
v_read_offset + 24,
v_buffer_point_id);
v_result := base_t_PC(x => UTL_RAW.CAST_TO_BINARY_DOUBLE(v_buffer_x),
y => UTL_RAW.CAST_TO_BINARY_DOUBLE(v_buffer_y),
z => UTL_RAW.CAST_TO_BINARY_DOUBLE(v_buffer_z),
blk_id => UTL_RAW.cast_to_binary_integer(v_buffer_block_id),
pt_id => UTL_RAW.cast_to_binary_integer(v_buffer_point_id));
--result to caller
pipe row(v_result);
end get_pc_points;
select * from
table(mdp_laserscan.get_pc_points(
(select b.points from pointcloud_blk b where rownum <= 1)
rownum, x, y, z, blk_id, pt_id
1     586803,035     5365655,411     236,529     -1855425872     10178
it says:
blk_id = -1855425872
pt_id = 10178
--so i check my blocks for the block-id
select b.blk_id from pointcloud_blk b where rownum <= 1
--it says this is a block-id, not a point-id
10178
(yes i know rownum might deliver the wrong block. i checked that too)
-->> Here are TWO STRANGE findings.
1) blk_id and pt_id dont appear in the order as stated in the documentation (i havent found an error in my code)?
2) why do i get a negative number for pt_id?
UTL_RAW.cast_to_binary_integer seems to work ok for the other 4byte (according to docs) value?

I am not sure you are reading the blob right.
Your offsets are a bit off for the ptn_id.
X is at 0 (read 8 bytes)
Y is at 8 (read 8 bytes)
Z is at 16 (read 8 bytes)
block_id is at 24 (read 4 bytes)
pt_id is at 28 (read 4 bytes)
Since you are reading the pt_id from offset 24 you are getting the block id there.
siva

Similar Messages

  • Store the value  in BLOB column data type

    Hi All,
    I have a file of about 5MB. I want to store this in BLOB column data type of a table.
    Can we compress this file to store and when we take uncompress the same...or how do we do it.
    and what is the procedure to store this....
    pls. help me
    Thanks,
    Naresh

    Hi skud
    i juast want to store the agent code to variable.if i did get ur point...
    Why don't u just use a simple assign statment for example...
    DECLARE
    V_VALUE  NUMBER;
    BEGIN
    V_VALUE := LC354 ; -- IF it was a value as LC354 static i mean
    -- or u could use any value
    V_VALUE := :ur_form_item_name; --- if it was dynamic
    END;That's it .
    Hope this helps...
    Regards,
    Ammatu Allah.

  • BLOB to XML Type conversion

    Hello All,
    I have a blob column on a table that has been used to store xml files. I would like to pull out all these files and load them into a table with an xmltype column.
    I have been trying to use dbms_lob to write a function that converts blob to clob wich I can then load into the new table.
    I seem to be able to convert the clob ok, but when it goes to parse the xml to load into the table I get "LPX-00210: EXPECTED '<' INSTEAD OF '4' .....
    I think this has to do with the characterset not being utf-8. I have tried using raw as well and get the same error.
    Has anyone been able to do this that has a function they can share.
    Thanks in advance,
    Curt

    10g provides a new constructor that will work if you know the character set of the BLOB data
    FINAL CONSTRUCTOR FUNCTION XMLTYPE RETURNS SELF AS RESULT
    Argument Name Type In/Out Default?
    XMLDATA BLOB IN
    CSID NUMBER IN
    SCHEMA VARCHAR2 IN DEFAULT
    VALIDATED NUMBER IN DEFAULT
    WELLFORMED NUMBER IN DEFAULT
    you would do xmltype(BLOB,nls_charset_id(BLOB_CHARSET))

  • OSB JCA Adapter - Enqueue - BLOB Oracle data type

    Hi,
    I am tring to enqueue a message into oracle advacned queue using JCA AQ adapter of OSB. The message in the Q has BLOB data type.
    I used AQ Adapter enqueue operation for this, and an opaqueue schema in the adapter wsdl. I created a business service out of the adapter service and tested it using
    OSB. I am able to enqueue, but then if i go and see in the data base payload the value of the BLOB column is JUNK... some funky values..
    Any help on this. Appreciate your suggestions.

    This has been resolved

  • FRM-92101 Blob in Record Type

    Hi!
    I have a package in db with a record type and a procedure:
    type timage is record (
    name varchar2(255),
    format varchar2(4),
    dpi number,
    content blob
    procedure get_image(my_image_var out timage) is
    begin
    select tblob into my_image_var.content from tmpblob where id = 1;
    my_image_var.name := 'Image 1';
    my_image_var.format := 'JPG';
    my_image_var.dbi := 72;
    end;
    It works fine in sql plus. but in my form, the error FRM-92101 raises and form crash.
    In the form, my code is (in a button trigger):
    declare
    my_image_var my_package.timage;
    begin
    my_package.get_image(my_image_var);
    end;
    If I remove the reference for a blob type. works.
    Someone know what is wrong?

    Forms [32 Bit] Version 9.0.4.0.19 (Production)
    Oracle Database 10g Release 10.2.0.3.0 - 64bit Production

  • Blob support in type 4 driver?

    Does anyone know of a JDBC type 4 driver that supports the reading/writing of Blobs to Oracle 8.1.7 using the database independent JDBC api? When the objects I'm trying to write to the db get over a certain size (approx. 4k) it starts throwing exceptions.
    I use an InputStream to pipe the data to the blob column. When the stream is over a certain size, the setBinaryStream method doesn't read the data from the stream and NULL is written to my blob column.
    I've seen examples of how to read/write blobs using Oracle specific api's. My issue is my app needs to be database independent.
    Any help of info would be greatly appreciated.
    Rich

    I got exactly the same problem. working on finding whats the problem. If you find the solution please post it here. It was working ok when I was having 1.3.1 but when I updated to 1.4 I got this problem

  • How to know thw document type in a blob data type

    Hi
    I'm creating a Picture resizer to resize all images in my Oracle Database Blob. Some records contain MS word document and not an image. Is it possible to know what is the type of the document save on the blob before I try to resize the image. I'm using VB.net 2005 and ODP.net connector.
    Thanks in advance.
    Fred
    Programmer Analyst
    [email protected]

    I would suggest keeping it simple. When storing the blob, store a type alnog with it to allow the manipulation of the data.
    We use a single table to store and deploy application code (Jar files), sql script, signatures, word,excel and PDF documents and images. The file type makes it easy to use the correct viewr for the data or control the extract use of the data (as in running sql scripts/deploying jar apps)

  • Error: Document not found. (WWC-46000) while updating a form whit blob items

    Hi all,
    I have to manage a table-based form. The table has a BLOB field that allows NULL.
    The blob field of the form is hidden.
    When I try to INSERT all works well but when I attempt to UPDATE I get "Error: Document not found. (WWC-46000)".
    Have you some suggestions ?
    Thanks,
    Antonino
    p.s. Oracle Portal 3.0.7.6.2 / NT

    I have the same problem. I have one form to insert file (works fine), and another form to update that record, but not the file. The fields of the file (blob and mime type) are not on the form at all, and getting the message WWC-46000.

  • Problem displaying PDF stored in BLOB column

    Hello everyone.
    I've been trying to follow this tutorial http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::p11_question_id:232814159006 on displaying PDFs stored in BLOB columns. This is being performed on Apex 4.2, with my DB running 11g. I've got my procedure, which I'll post below:
    create or replace procedure "PDF" (p_id IN gvo_documents.doc_id%type)
    is
        l_lob    blob;
        l_amt    number default 30;
        l_off   number default 1;
        l_raw   raw(4096);
    begin
        select contents into l_lob
            from gvo_documents
             where doc_id = p_id;
    -- make sure to change this for your type!
        owa_util.mime_header( 'application/pdf' );
        begin
            loop
              dbms_lob.read( l_lob, l_amt, l_off, l_raw );
              htp.prn( utl_raw.cast_to_varchar2( l_raw ) );
              l_off := l_off+l_amt;
              l_amt := 4096;           
        end loop;
            exception
               when no_data_found then
                  NULL;
            end;
    end;
    I am trying to run this through a PL/SQL dynamic region and while I don't receive any error's, the content displayed is a huge mess of garbled text and odd characters. I've tried to run this procedure on numerous other document types, including word files and jpeg images, all with the necessary changes in my procedure, and regardless of what I use, I still get a large mess of strange characters. Does anyone have any information or ideas about why this is happening?

    If I understand correctly, your requirements needs to be broken down into two problems:
    1) click link that pops up a window displaying a new APEX page
    2) an APEX page the displays the document, not downloads it.
    I haven't done #1 (yet).
    However, you may be able to generate a URL that points to the new page as part of the SELECT statement for the Report.
    This has a related question, but no answer yet:
    open pdf in popup browser window
    The key is target="_blank" for the anchor tag.
    To generate the URL, you should use the APEX_UTIL.prepare_URL() function.
    If that doesn't work, a Dynamic Action that does some magical JavaScript stuff may be needed.
    For #2, I lost the URL that showed how to display a PDF as part of a "form" page.
    From what I remember:
    Start with a blank page with one blank HTML region (all the Items go in the HTML region)
    Add an Item for the PK/Doc_ID
    part I forgot Create a Data Manipulation Process
    - Automated Row Fetch
    - On Load - After Header
    - (stuff for your table/view)
    part I forgot Create an (I believe) "File Browser" item type. For Settings:
    - Storage Type "BLOB column specified in Item Source" (and place the column name of the BLOB there)
    - MIME Type Column: (column name) -- since you have multiple types, this is a MUST HAVE
    - Filename Column: (column name) -- I highly recommend you have this.
    - Content Disposition == INLINE <-- this is the kicker
    Also, you will need a Browser Plugin for each of the MIME Types (otherwise, the browser may try to 'download' the file)
    Browsers can handle Image types internally. Adobe's plugin can handle PDFs. I don't know about Word/Excel.
    Again, I don't remember the exact details, but that should cover most of it.
    MK

  • Apache FOP PDF Save in BLOB column

    Hi,
    I just want to call Apache FOP in an APEX process to create PDF reports and save these reports in a BLOB column in the same database. So I can email these reports in another process using APEX_MAIL. Does anyone know a way to achieve this?
    Thanks

    If I understand correctly, your requirements needs to be broken down into two problems:
    1) click link that pops up a window displaying a new APEX page
    2) an APEX page the displays the document, not downloads it.
    I haven't done #1 (yet).
    However, you may be able to generate a URL that points to the new page as part of the SELECT statement for the Report.
    This has a related question, but no answer yet:
    open pdf in popup browser window
    The key is target="_blank" for the anchor tag.
    To generate the URL, you should use the APEX_UTIL.prepare_URL() function.
    If that doesn't work, a Dynamic Action that does some magical JavaScript stuff may be needed.
    For #2, I lost the URL that showed how to display a PDF as part of a "form" page.
    From what I remember:
    Start with a blank page with one blank HTML region (all the Items go in the HTML region)
    Add an Item for the PK/Doc_ID
    part I forgot Create a Data Manipulation Process
    - Automated Row Fetch
    - On Load - After Header
    - (stuff for your table/view)
    part I forgot Create an (I believe) "File Browser" item type. For Settings:
    - Storage Type "BLOB column specified in Item Source" (and place the column name of the BLOB there)
    - MIME Type Column: (column name) -- since you have multiple types, this is a MUST HAVE
    - Filename Column: (column name) -- I highly recommend you have this.
    - Content Disposition == INLINE <-- this is the kicker
    Also, you will need a Browser Plugin for each of the MIME Types (otherwise, the browser may try to 'download' the file)
    Browsers can handle Image types internally. Adobe's plugin can handle PDFs. I don't know about Word/Excel.
    Again, I don't remember the exact details, but that should cover most of it.
    MK

  • How to handle blob/clob?

    In my process I can successfully write to a blob or clob field (via database adapter). But I'm not able anymore to get the value out of the database (Oracle Lite). I always get following error:
    <remoteFault xmlns="http://schemas.oracle.com/bpel/extension">
    <part name="code">
    <code>0</code>
    </part>
    <part name="summary">
    <summary>file:/E:/OraBPELPM_1/integration/orabpel/domains/default/tmp/.bpel_GetStatus_1.0.jar/SelectJobStates.wsdl [ SelectJobStates_ptt::SelectJobStatesSelect_key_typeFrom_typeTo(SelectJobStatesSelect_key_typeFrom_typeTo_inparameters,MainCollection) ] - WSIF JCA Execute of operation 'SelectJobStatesSelect_key_typeFrom_typeTo' failed due to: Exception: Nicht erfolgreiche Ausführung von DBReadInteractionSpec. Abfragename: [SelectJobStatesSelect], Descriptor-Name: [GetStatus.Main]. ; nested exception is: ORABPEL-11614 Exception: Nicht erfolgreiche Ausführung von DBReadInteractionSpec. Abfragename: [SelectJobStatesSelect], Descriptor-Name: [GetStatus.Main]. Weitere Informationen finden Sie in der Root Exception. Verursacht von Exception [TOPLINK-4002] (OracleAS TopLink - 10g (9.0.4.5) (Build 040930)): oracle.toplink.exceptions.DatabaseException Exception-Beschreibung: java.sql.SQLException: Internal Error:LiteThinJDBCLob: One or More Invalid Handle(s) Interne Exception: java.sql.SQLException: Internal Error:LiteThinJDBCLob: One or More Invalid Handle(s) Fehlercode:0.</summary>
    </part>
    <part name="detail">
    <detail>Exception-Beschreibung: java.sql.SQLException: Internal Error:LiteThinJDBCLob: One or More Invalid Handle(s) Interne Exception: java.sql.SQLException: Internal Error:LiteThinJDBCLob: One or More Invalid Handle(s) Fehlercode:0</detail>
    </part>
    </remoteFault>
    Trying on the console with a polsql skript I got the following:
    [POL-3006] null handle is not allowed
    Any ideas?
    Yves
    PS. Is there a GUI client which can browse data on a Oracle Lite database?

    Hi Pete,
    The problem is with using Oracle's CLOB and BLOB implementation. I haven't even started using BLOB and CLOB. I want to collect data of BLOB and CLOB types from oracle and store it in XML file and after that if required, collect the same data from xml file and store it back to oracle table. I can do these things for all the rest datatypes but BLOB and CLOB. How to proceed?
    Thanks -
    Samit

  • Datasource, POJO and java.sql.Blob

    Hello,
    is "java.sql.Blob" a valid type for a POJO datasource ?
    I declared one but I just dit not succeed in rendering its jpg picture.
    My java code is quite simple :
    ReportClientDocument reportClientDocument = new ReportClientDocument ();
    reportClientDocument.setReportAppServer(ReportClientDocument.inprocConnectionString);
    reportClientDocument.open (REPORT_NAME, OpenReportOptions._openAsReadOnly);
    // lBlob is a class which implements java.sql.Blob interface
    LPOJOData [] dataP = {new LPOJOData(new lBlob("Picture.jpg"))};
    POJOResultSetFactory factory = new POJOResultSetFactory(LPOJOData.class);
    POJOResultSet resultSet = factory.createResultSet(dataP);
    reportClientDocument.getDatabaseController().setDataSource(resultSet, "", "");
    and my POJO class :
    public class LPOJOData {          
              private java.sql.Blob zimage;
              public LPOJOData(java.sql.Blob zp){
                   this.zimage = zp;
              public java.sql.Blob getzimage(){
                   return zimage;
    The field "zimage" on the report is designed through a "field definition only" database, zimage is defined as a Blob field.
    Any clues ?
    Regards,
    Serge

    I have just found a list of the data types supported by a POJO Class :
    # boolean
    # byte
    # char
    # double
    # float
    # int
    # short
    # java.lang.Boolean
    # java.lang.Byte
    # java.lang.Double
    # java.lang.Float
    # java.lang.Integer
    # java.lang.Short
    # java.lang.String
    # java.SQL.Date
    # java.SQL.Time
    Well, java.SQL.Blob is not one of them.
    Is java.SQL_Blob will be a valid POJO type in the future ?
    Is there another way than POJO to feed a report from an in-memory datasource ?

  • Displaying image from BLOB from DB in Browser

    I have a PL/SQL procedure to create a table with a BLOB image, mime type, key, etc. I can use another PL/SQL to load the images into the table. I have a PL/SQL procedure to get an image. I would like to call this procedure and pass the key parameter to display an image in a browser using HTML. Does anyone know how to do this?
    Thanks.

    Use a java servlet to call your stored procedure (using jdbc), this will return the image as a java blob class. You can then write the java blob bytestream to the servlet response object, this should then appear in the browser.

  • Weblogic BLOB Cast Exception

    We have an interesting situation where have to support our application on
    both Weblogic 6.1 SP2 using an Oracle Type 2 driver and iPlanet using an
    Oracle Type 4 driver. In our application we are using blob's, and in order
    for our blob's to work with the Type 4 driver we must do a two stage process
    where we insert an Oracle EMPTY_BLOB and then select the newly inserted
    blob, cast it to oracle.sql.BLOB and upload it using streams.
    Unfortunately, when this code runs on WLS the datasource/connection pool
    substitutes some wrapper classes (or something) behind the scenes and we get
    class cast exceptions as the blob is of type
    weblogic.jdbc.rmi.SerialOracleBlob.
    Is there any way to configure WLS connection pools/datasources so that it
    doesn't use any weblogic classes and only uses oracle classes? We currently
    have our 3rd Party Oracle drivers as the first entry in our classpath. We
    can't switch to Oracle Type 2 on iPlanet (too buggy), or this would all be
    moot and we'd simply use the more generic non-vendor specific way of
    uploading blob's. And we can't cast to weblogic classes, because then that
    would break on iPlanet.
    Here's the code snippet that we can't change, because we have to support
    Oracle Type 4 on iPlanet.
    ResultSet blobs = ustmt.executeQuery();
    blobs.next();
    Blob blob = blobs.getBlob(1);
    OutputStream blobOut = ((oracle.sql.BLOB)
    blob).getBinaryOutputStream();
    try {
    blobOut.write(attachment.getFile());
    } catch (IOException e) {
    throw new ServletException(e);
    } finally {
    try {
    blobOut.close();
    } catch (IOException e) {
    throw new ServletException(e);
    blobs.close();
    Thanks,
    Gary

    Hi Gary!
    Blob oracle extensions are implemented internally in weblogic as
    weblogic.jdbc.rmi.SerialOracleBlob. As we wrap objects internally for
    serialization purpose, we can not use oracle objects directly. So, you have to
    use SerialBlob in weblogic.
    Mitesh
    Gary Rudolph wrote:
    We have an interesting situation where have to support our application on
    both Weblogic 6.1 SP2 using an Oracle Type 2 driver and iPlanet using an
    Oracle Type 4 driver. In our application we are using blob's, and in order
    for our blob's to work with the Type 4 driver we must do a two stage process
    where we insert an Oracle EMPTY_BLOB and then select the newly inserted
    blob, cast it to oracle.sql.BLOB and upload it using streams.
    Unfortunately, when this code runs on WLS the datasource/connection pool
    substitutes some wrapper classes (or something) behind the scenes and we get
    class cast exceptions as the blob is of type
    weblogic.jdbc.rmi.SerialOracleBlob.
    Is there any way to configure WLS connection pools/datasources so that it
    doesn't use any weblogic classes and only uses oracle classes? We currently
    have our 3rd Party Oracle drivers as the first entry in our classpath. We
    can't switch to Oracle Type 2 on iPlanet (too buggy), or this would all be
    moot and we'd simply use the more generic non-vendor specific way of
    uploading blob's. And we can't cast to weblogic classes, because then that
    would break on iPlanet.
    Here's the code snippet that we can't change, because we have to support
    Oracle Type 4 on iPlanet.
    ResultSet blobs = ustmt.executeQuery();
    blobs.next();
    Blob blob = blobs.getBlob(1);
    OutputStream blobOut = ((oracle.sql.BLOB)
    blob).getBinaryOutputStream();
    try {
    blobOut.write(attachment.getFile());
    } catch (IOException e) {
    throw new ServletException(e);
    } finally {
    try {
    blobOut.close();
    } catch (IOException e) {
    throw new ServletException(e);
    blobs.close();
    Thanks,
    Gary

  • Display data type

    hi,
    how to display oralce's data type from system table is there any system table to fetch the data types for that version i'm using Oracle 11g.
    in sql server we fetch the details by using
    select * from sys.types
    this will return what the data types supported by that version
    Thanks!

    There is a package called STANDARD in the SYS schema that defines many of the standard datatypes and functions.
    e.g.
    CREATE OR REPLACE package SYS.STANDARD AUTHID CURRENT_USER is              -- careful on this line; SED edit occurs!
      /********** Types and subtypes, do not reorder **********/
      type BOOLEAN is (FALSE, TRUE);
      type DATE is DATE_BASE;
      type NUMBER is NUMBER_BASE;
      subtype FLOAT is NUMBER; -- NUMBER(126)
      subtype REAL is FLOAT; -- FLOAT(63)
      subtype "DOUBLE PRECISION" is FLOAT;
      subtype INTEGER is NUMBER(38,0);
      subtype INT is INTEGER;
      subtype SMALLINT is NUMBER(38,0);
      subtype DECIMAL is NUMBER(38,0);
      subtype NUMERIC is DECIMAL;
      subtype DEC is DECIMAL;
      subtype BINARY_INTEGER is INTEGER range '-2147483647'..2147483647;
      subtype NATURAL is BINARY_INTEGER range 0..2147483647;
      subtype NATURALN is NATURAL not null;
      subtype POSITIVE is BINARY_INTEGER range 1..2147483647;
      subtype POSITIVEN is POSITIVE not null;
      subtype SIGNTYPE is BINARY_INTEGER range '-1'..1;  -- for SIGN functions
      type VARCHAR2 is NEW CHAR_BASE;
      subtype VARCHAR is VARCHAR2;
      subtype STRING is VARCHAR2;
      subtype LONG is VARCHAR2(32760);
      subtype RAW is VARCHAR2;
      subtype "LONG RAW" is RAW(32760);
      subtype ROWID is VARCHAR2(256);
      -- Ansi fixed-length char
      -- Define synonyms for CHAR and CHARN.
      subtype CHAR is VARCHAR2;
      subtype CHARACTER is CHAR;
      type MLSLABEL is new CHAR_BASE;
      -- Large object data types.
      --  binary, character, binary file.
      type  BLOB is BLOB_BASE;
      type  CLOB is CLOB_BASE;
      type  BFILE is BFILE_BASE;
      -- Verbose and NCHAR type names
      subtype "CHARACTER VARYING" is VARCHAR;
      subtype "CHAR VARYING" is VARCHAR;
      subtype "NATIONAL CHARACTER" is CHAR CHARACTER SET NCHAR_CS;
      subtype "NATIONAL CHAR" is CHAR CHARACTER SET NCHAR_CS;
      subtype "NCHAR" is CHAR CHARACTER SET NCHAR_CS;
      subtype "NATIONAL CHARACTER VARYING" is VARCHAR CHARACTER SET NCHAR_CS;
      subtype "NATIONAL CHAR VARYING" is VARCHAR CHARACTER SET NCHAR_CS;
      subtype "NCHAR VARYING" is VARCHAR CHARACTER SET NCHAR_CS;
      subtype "NVARCHAR2" is VARCHAR2 CHARACTER SET NCHAR_CS;
      subtype "CHARACTER LARGE OBJECT" is CLOB;
      subtype "CHAR LARGE OBJECT" is CLOB;
      subtype "NATIONAL CHARACTER LARGE OBJEC" is CLOB CHARACTER SET NCHAR_CS;
      subtype "NCHAR LARGE OBJECT" is CLOB CHARACTER SET NCHAR_CS;
      subtype "NCLOB" is CLOB CHARACTER SET NCHAR_CS;
      subtype "BINARY LARGE OBJECT" is BLOB;
      subtype pls_integer is binary_integer;
      type TIME is new DATE_BASE;
      type TIMESTAMP is new DATE_BASE;
      type "TIME WITH TIME ZONE" is new DATE_BASE;
      type "TIMESTAMP WITH TIME ZONE" is new DATE_BASE;
      type "INTERVAL YEAR TO MONTH" is new DATE_BASE;
      type "INTERVAL DAY TO SECOND" is new DATE_BASE;
      SUBTYPE TIME_UNCONSTRAINED IS TIME(9);
      SUBTYPE TIME_TZ_UNCONSTRAINED IS TIME(9) WITH TIME ZONE;
      SUBTYPE TIMESTAMP_UNCONSTRAINED IS TIMESTAMP(9);
      SUBTYPE TIMESTAMP_TZ_UNCONSTRAINED IS TIMESTAMP(9) WITH TIME ZONE;
      SUBTYPE YMINTERVAL_UNCONSTRAINED IS INTERVAL YEAR(9) TO MONTH;
      SUBTYPE DSINTERVAL_UNCONSTRAINED IS INTERVAL DAY(9) TO SECOND (9);
      TYPE UROWID IS NEW CHAR_BASE;
      type "TIMESTAMP WITH LOCAL TIME ZONE" is new DATE_BASE;
      subtype timestamp_ltz_unconstrained is timestamp(9) with local time zone;
      subtype BINARY_FLOAT is NUMBER;
      subtype BINARY_DOUBLE is NUMBER;
      -- The following data types are generics, used specially within package
      -- STANDARD and some other Oracle packages.  They are protected against
      -- other use; sorry.  True generic types are not yet part of the language.
      type "<ADT_1>" as object (dummy char(1));
      type "<RECORD_1>" is record (dummy char(1));
      type "<TUPLE_1>" as object (dummy char(1));
      type "<VARRAY_1>" is varray (1) of char(1);
      type "<V2_TABLE_1>" is table of char(1) index by binary_integer;
      type "<TABLE_1>" is table of char(1);
      type "<COLLECTION_1>" is table of char(1);
      type "<REF_CURSOR_1>" is ref cursor;
      -- This will actually match against a Q_TABLE
      type "<TYPED_TABLE>" is table of  "<ADT_1>";
      subtype "<ADT_WITH_OID>" is "<TYPED_TABLE>";
      -- The following generic index table data types are used by the PL/SQL
      -- compiler to materialize an array attribute at the runtime (for more
      -- details about the array attributes, please see Bulk Binds document).
      type " SYS$INT_V2TABLE" is table of pls_integer index by binary_integer;
      -- The following record type and the corresponding generic index table
      -- data types are used by the PL/SQL compiler to materialize a table
      -- at the runtime in order to record the exceptions raised during the
      -- execution of FORALL bulk bind statement (for more details, please
      -- see bulk binds extensions document in 8.2).
      type " SYS$BULK_ERROR_RECORD" is
              record (error_index pls_integer, error_code pls_integer);
      type " SYS$REC_V2TABLE" is table of " SYS$BULK_ERROR_RECORD"
                                   index by binary_integer;
      /* Adding a generic weak ref cursor type */
      type sys_refcursor is ref cursor;
      /* the following data type is a generic for all opaque types */
      type "<OPAQUE_1>" as opaque FIXED(1) USING LIBRARY dummy_lib
        (static function dummy return number);
      type "<ASSOC_ARRAY_1>" is table of char(1) index by varchar2(1);
      /********** Add new types or subtypes here **********/
      /********** Predefined constants **********/
      BINARY_FLOAT_NAN constant BINARY_FLOAT;
      BINARY_FLOAT_INFINITY constant BINARY_FLOAT;
      BINARY_FLOAT_MAX_NORMAL constant BINARY_FLOAT;
      BINARY_FLOAT_MIN_NORMAL constant BINARY_FLOAT;
      BINARY_FLOAT_MAX_SUBNORMAL constant BINARY_FLOAT;
      BINARY_FLOAT_MIN_SUBNORMAL constant BINARY_FLOAT;
      BINARY_DOUBLE_NAN constant BINARY_DOUBLE;
      BINARY_DOUBLE_INFINITY constant BINARY_DOUBLE;
      BINARY_DOUBLE_MAX_NORMAL constant BINARY_DOUBLE;
      BINARY_DOUBLE_MIN_NORMAL constant BINARY_DOUBLE;
      BINARY_DOUBLE_MAX_SUBNORMAL constant BINARY_DOUBLE;
      BINARY_DOUBLE_MIN_SUBNORMAL constant BINARY_DOUBLE;
      /********** Add new constants here **********/
      /********** Predefined exceptions **********/
      CURSOR_ALREADY_OPEN exception;
        pragma EXCEPTION_INIT(CURSOR_ALREADY_OPEN, '-6511');
      DUP_VAL_ON_INDEX exception;
        pragma EXCEPTION_INIT(DUP_VAL_ON_INDEX, '-0001');
    ..and so it goes on... take a look yourself
    Edited by: BluShadow on 18-Dec-2012 09:32

Maybe you are looking for

  • MBP 15" Retina Battery Life Problems

    Hello all! I recently got the highest end MBP 15" Retina and it runs AMAZINGLY fast, but the only problem I'm having with is the battery life. For example, right now, at 100% charge, the predicted time is 4 hours and 35 minutes, but it's plummeting v

  • PDF changes color in PowerPoint

    Hi all, I created an image (used color transparency for some parts) in Illustrator CC 2014. I saved the image as a pdf. and then inserted it in my PowerPoint presentation. Once I save the powerpoint and reopen it, pdf images that I inserted have a bl

  • Upgraded from X Pro to XI, keyboard shortcuts gone?

    In Acobat 9 and X, I could press Ctrl+Shift+t to go to the page modification dialog where I can eliminate whitespace, change margins, etc. That appears to now be gone. Ctrl+Shift+t now inserts pages. (HUH??? Who came up with that nonintuitive change?

  • Time and date as file path

    Hi I have gone through all the solution given to others in this forum regarding putting date and time in file name and made this block diagram attached here but in final path indicator field i am getting <not a path>.  Can anybody tell me where i am

  • ISO consideration for calculation of MRP per Safetystock adds more demand

    Hi Planning experts, Internal Sales order consideration for aggregate demand which uses for Safetystock calculation based on MRP Planned percentage safety stock adds more demand in the warehouse. We have ASCP Plan where X1 warehouse procures material