compress columns of type blob in a directory and retrieve the zip file in the APEX

Hi all

I have a requirement which is,

I have a table that has a blob column I want to save all the records of the BLOB in the table in a ZIP compressed in a directory.

Then with I have to go get this zipped file in directory and save in my local computer using APEX.

Waiting for your answers,

Bala

Hi a cold sore.

In addition to above solution to pass like a Flash of using PL/SQL blob that follows is solutions to compress blobs using Java and PL/SQL:

NOTE: As these solution based on java solutions you require Java VM support in your database.

Kind regards

Kiran

Tags: Database

Similar Questions

  • How to insert a pdf or jpeg image into a column of type blob of a table

    How to insert a pdf or jpeg image into a column of type blob of a table

    Hello
    Try this

    Loading an image into a BLOB column and showing through OAS
    -------------------------------------------------------------

    The steps are:

    Step 1.
    -------

    Create a table to store BLOBs:

    create BLOB table objects
    (id VARCHAR2 (255),)
    blob_col blob
    );

    Step 2.
    -------

    Create a logical directory in the database to the physical file system:

    create or replace the MY_FILES directory as "c:\images";

    Step 3.
    -------

    Create a procedure to load the BLOB from the file system by using the logic
    Directory. Gif 'aria.gif' must exist in c:\images.

    create or replace procedure insert_img as
    f_lob bfile.
    b_lob blob.
    Start
    insert into BLOB ("MyGif", empty_blob()) values
    return blob_col in b_lob;

    f_lob: = bfilename ("MY_FILES', 'aria.gif');
    DBMS_LOB. FileOpen (f_lob, dbms_lob.file_readonly);
    DBMS_LOB. LoadFromFile (b_lob, f_lob, dbms_lob.getlength (f_lob));
    DBMS_LOB. FileClose (f_lob);
    commit;
    end;
    /

    Step 4.
    -------

    Create a procedure that is called via Oracle Application Server to display the
    image.

    create or replace procedure get_img as
    vblob blob.
    raw buffer (32000);
    buffer_size integer: = 32000;
    offset of an integer: = 1;
    length of number;
    Start
    owa_util.mime_header('image/gif');
    Select blob_col from vblob of blobs where id = 'MyGif. "
    Length: = dbms_lob.getlength (vblob);
    While offset< length="">
    DBMS_LOB. Read (vblob, buffer_size, offset, buffer);
    HTP. PRN (utl_raw.cast_to_varchar2 (buffer));
    offset: = offset + buffer_size;
    end loop;
    exception
    while others then
    HTP.p (SQLERRM);
    end;
    /

    Step 5.
    -------

    Use the PL/SQL cartridge to call the get_img procedure

    OR

    Create this procedure in function and call it your PL/SQL code for
    correctly place the images on your HTML page through the PL/SQL Toolbox.

    from a html form

    1. create an HTML form where the image will be. You too
    need the file MIME type.
    2. create a procedure receives the form parameters. The file field will be a Varchar2
    parameter, because you receive the path of the image is not the image itself.
    3 insert the image file into the table by using 'Create a directory NAME as chemin_image' and
    Then use ' insert into the TABLE (row, BLOB_OBJECT, MIME_OBJECT) values (sequence.nextval, '.
    EMPTY_BLOB() 'GIF' or 'JPEG') BLOB_OBJECT, in the variable_blob, back
    variable_consecutive.
    4 load the file into the table using:
    DBMS_LOB. LoadFromFile (variable_blob, variable_file_name, dbms_lob.getlength (variable_file_name));
    DBMS_LOB. FileClose (variable_file_name);
    engage.

    Kind regards
    Simma...

  • How to find the size of the downloaded image on a column of type blob in a table?

    How to find the size of the downloaded image on a column of type blob in a table?

    Vidya,

    You can use the built in function dbms_lob.getlength to get the length (size) of a LOB column or a bfile type.
    Check out this link.

    http://download.Oracle.com/docs/CD/B10501_01/AppDev.920/a96612/d_lob2.htm#1008995

  • How to use a directory and change the sizes of jpg

    Maybe I'm in the weeds here, but I'm looking to use an action to walk all files in a directory and for all jpg files to reduce the size of the longest side at certain age % and then save the file in a nother directory.  So I need to be able to:

    for all the files in the named directory {}

    look at the file type

    If {.jpg

    Look at the size of the image

    apply % next longest retractable age

    Save the file

    }

    }

    Simple stuff, but I don't know if stock allows me to do the walkor playback of the type or the criterion of size, etc.

    So if possible, can someone tell me the orders for action I need - or - another way to do this.

    Thank you

    Take a look at this video tutorial on a custom by Benjamin Root action. If you don't care no watermark, you can omit that.

    It includes the reduction of the images in a certain size, both landscape and portrait, adding web profile sRGB and save in jpeg format.

    Automate the tattoo Images in Photoshop CC - YouTube

  • Find file more recent directory and delete after 10 files

    Hello

    I want to create a vi that can do two things

    1 entry: 1. 2 directory. Number

    2. output: new file in the directory specified

    3. delete all the old files if the number is two, so if the number = 2 then only keep two new files in the directory and delete the rest

    How can I do this? I can't find andy function to get the date of a file?

    Thanks for your help

    Hello

    LabVIEW has a function called 'file Info', this will give you the date of last modification. This may be not the same as the creation date. This function is used in a cool example called '\Listbox to the file Explorer Demo.vi' find it with the finder of the example. But as I said the date of data and creation of change cannot be the same. So I made something using the dir command system and exe function. I think that much better. The dir command is documented here http://www.computerhope.com/dirhlp.htm. The result is the attached VI. You may need to change to adapt to you need

  • Browse file... Column of type BLOB specified in the attribute of the Source element

    Hello world

    I'm trying to insert images as blobs in a database table. I followed the tutorial in the following link, but I'm always redirected to the de.../wwv_flow.accept/ page, which is the page that follows an insertion in the file Explorer WWV_FLOW_FILES table method. The file inserted into the APEX_APPLICATION_FILES table instead of the new table that I created.

    http://oraexplorer.com/2011/03/file-browser-in-Apex-4-with-BLOB-column-specified-in-item-source-attribute/

    FILE BROWSER:


    LINE (DML) AUTOMATIC PROCESSING:

    P100_A4 is simply the maximum ATTACH_ID (PK) + 1

    I just want to insert my files from the file Explorer in this table with the name of file, mime_type and 2 fields of my choice. I use apex 4.2.5. Any help is very appreciated.

    Look in the thread below. The issue I described here has been resolved in this link through other means.

    Browse insert file as BLOB in DB

  • Store an Image in the column of type BLOB of a Table

    It is about saving an Image file, a temp_photo table.

    UNDER LINUX, I created the Directory object.
    Step # 1
    SQL > create directory MSGS3 as ' / home/HD/om4000/I_MESSAGES ";
    Created directory.

    Step 2: set up the temp_photo Table.

    SQL > create table temp_photo
    (
    ID NUMBER (3) NOT NULL,
    PHOTO_NAME VARCHAR2 (50).
    PHOTO BLOB
    );
    Table created.

    Step: 3 this is the procedure that I have created to load the file from the file system of the database.

    create or replace PROCEDURE load_file)
    number of P_ID,
    p_photo_name in varchar2) IS
    src_file BFILE.
    dst_file BLOB;
    lgh_file directory.
    BEGIN
    src_file: = bfilename ('MSGS3', p_photo_name);
    -Insert a NULL record to lock
    INSERT INTO temp_photo
    (id, photo_name, photo)
    VALUES
    (p_id, p_photo_name, EMPTY_BLOB())
    RETURN photo INTO dst_file;
    -lock the folder
    SELECT photo
    IN dst_file
    OF temp_photo
    ID WHERE p_id =
    AND photo_name = p_photo_name
    UPDATE;
    -Open the file
    DBMS_LOB. FileOpen (src_file, dbms_lob.file_readonly);
    -determine the length
    lgh_file: = dbms_lob.getlength (src_file);
    -Read the file
    DBMS_LOB. LoadFromFile (dst_file, src_file, lgh_file);
    -update the blob field
    UPDATE temp_photo
    Photo SET dst_file =
    ID WHERE p_id =
    AND photo_name = p_photo_name;
    -close file
    DBMS_LOB. FileClose (src_file);
    END load_file;
    /


    Step 4: when I test it by running the procedure in the following assistance:
    SQL > execute load_file (1, 'Omega5000.jpg');

    I get the following error:

    Error from line 5 in order:
    run load_file(1,'Omega5000.gif')
    Error report:
    ORA-22288: file or LOB FILEOPEN operation failed
    No such file or directory
    ORA-06512: at "SYS." DBMS_LOB", line 805
    ORA-06512: at "HD. Load_file", line 23
    ORA-06512: at line 1
    22288 00000 - "file or LOB operation %s failed\n%s".
    * Cause: Failure of the attempted operation on the file or the LOB.
    * Action: See the following error message in the more detailed error stack
    information. In addition, make sure that the file or LOB exists and that
    privileges are set for the specified operation. If
    the error continues, report the error to the user DBA.

    He said: no such file or directory, but I double checked that the file is located in the same directory and directory is it physically (for which I created the above directory object.)
    Can someone help me where I'm doing something wrong. This is the first time I use the BLOB in my table. Can anyone suggest what's not here.

    >
    He said: no such file or directory, but I double checked that the file is located in the same directory and directory is it physically (for which I created the above directory object.)
    >
    Oracle is disagreeing with you.

    Post your proof that the file exists in the path you provided.

    See this example Oracle-base
    http://www.Oracle-base.com/articles/Misc/HTML-with-embedded-images-from-plsql.php
    >
    CONN / AS SYSDBA
    CREATE or REPLACE DIRECTORY of images AS "/ host /";
    GRANT READ, WRITE on DIRECTORY images TO test;
    >
    Write down everything you missed? Tip: Look at the last character of the DIRECTORY string. Second Tip: See the grant?

    SQL>create directory MSGS3 as '/home/mh/om4000/I_MESSAGES' ;
    
  • Column of type blob MySQL impossible to upload a file?

    Hello

    IAM using jdeveloper 11.1.1.7

    IAM new to adf

    We use mysql database and glassfish server,.

    Using mysql iam impossible to upload the file in the database

    one you suggest it's urgent for me?

    Hello

    in the dough of class AmImpl code below

    ' Public Sub test (String document_type, String DocumentName, InputStream pFileData integer profileid) survey FileNotFoundException, IOException {}
        {
        BigDecimal blobId = null;
        PreparedStatement stmt = this.getDBTransaction () .createPreparedStatement ("SELECT last_insert_id ()", 1);
        try {}
        Conn connection (Connection) = stmt.getConnection ();
        stmt. Close();
        stmt = conn.prepareStatement ("insert into capt_docs (document_type, document_name, document_file, document_profileid) values(?,?,?,?)");
        InputStream isFile = new FileInputStream (file);
              stmt.setString(1,document_type);
        stmt.setString(2,document_name);
        stmt.setBinaryStream (4, isFile, (int) (file.length (()));
        stmt.setBlob (3, pFileData);
        stmt.setInt(4,profileid);
        stmt.executeUpdate ();
        Conn.Commit ();
        stmt. Close();
        pFileData.close ();
        stmt = conn.prepareStatement ("SELECT last_insert_id ()", 1);
        stmt. Execute();
        ResultSet rs = stmt.getResultSet ();
        If (rs! = null) {}
        RS. First();
        blobId = rs.getBigDecimal (1);
        }
        stmt. Close();
      
        } catch (SQLException e) {}
        e.printStackTrace ();
        } {Finally
        }
      
    }

    }

    and change the settings based on your requiremnt and call this method from your backing bean

    {} public void fileUpload (ActionEvent actionEvent)
        Add the code in the event here...
        BindingContext ctx = BindingContext.getCurrent ();
        DC DCDataControl = ctx.findDataControl("ClinaptAMDataControl"); Name of the application in datacontrolBinding.cpx module
        Class ApplicationModuleImplimentaion
        AppM ClinaptAMImpl = (ClinaptAMImpl) dc.getDataProvider ();
       
        try {}
            InputStream fileData is getInputStream (file);.
           String docname = file.getFilename ();
            RichSelectOneChoice documentType = (RichSelectOneChoice) getComponentById ("soc4");
            System.out.println ("Document Type" + documentType.getValue ());
            RichInputText profileid = (RichInputText) getComponentById ("it1");
            RicheTableau documenttable = (RichTable) getComponentById ('t1');
          
            It is app module method and flow data file entry
            appM.test (getDocumentTypeVar (), docname, fileData (Integer) profileid.getValue ());
            AdfFacesContext.getCurrentInstance () .addPartialTarget (documenttable);
        } catch (FileNotFoundException exception) e {}
            e.printStackTrace ();
        } catch (IOException e) {}
            e.printStackTrace ();
        }
          
    }
  • How to download all the images in the folder to the column of type BLOB (problem of area to create BLOB)

    Hello

    I use JDeveloper 11.1.2.3 version, I need to download all the images in my local folder to the database at a time table. The problem I face is to create BLOBDomain for each of them?

    Best regards,

    Julien

    If you can access the files, that only works if they are on the server, you can read the file and create the domain of the BLOB in the file directly. The technique is the same as in the blob. Only difference is that you pass the file to the method and open the input stream of the file instead of the UploadedFile.

    Timo

  • Column of type BLOB in own tablespace in partition in the table, tablespace to move

    Hi all

    First off I use Oracle Database 11.2.0.2 on AIX 5.3.

    We have a table is partitioned on a monthly basis.

    In this table, there is a partition (BOTTOM), this lower score is 1.5 TB in size thanks to a BLOB column called (ATTACHMENT).

    The rest of the table is not large, about 30 GB, it's the BLOB column that uses all the space.

    The lower part is in its own default tablespace (DefaultTablespace), the BLOB column in the lower score is also in its own tablespace (TABLESPACE_LOB) - 1.5 to

    I was invited in order to free up space by moving the TABELSPACE_LOB (from the low partition) to a data archive, confirming the data is there and then remove the lower score of the production.

    I do not have enough free space (or time) make an expdp, I think not only its doable with data so much.

    CREATE TABLE tablename
    (
      xx                          VARCHAR2(14 BYTE),          
      xx                          NUMBER(8),    
      xx         NUMBER,
      ATTACHMENT   BLOB,
      xx             DATE,
      xx             VARCHAR2(100 BYTE),
      xx                     INTEGER,
    )
    LOB (ATTACHMENT) STORE AS (
      TABLESPACE  DefaultTablespace
      ENABLE      STORAGE IN ROW
    NOCOMPRESS
    TABLESPACE DefaultTablespace
    RESULT_CACHE (MODE DEFAULT)
    
    
    PARTITION BY RANGE (xx)
    ( 
      PARTITION LOWER VALUES LESS THAN ('xx')
        LOGGING
        COMPRESS BASIC
        TABLESPACE DefaultTablespace
        LOB (ATTACHMENT) STORE AS (
          TABLESPACE  TABLESPACE_LOB
          ENABLE      STORAGE IN ROW
    )
    
    ...>>
    
    

    My idea was to take a table, excluding the attachment column datapump, export using external tables.

    Then to create the table on the database archive 'with' the attachment column.

    Import data only, as I understand that if you use a dump file that has too many columns Oracle he will manage, I hope it will work the other way around.

    Then on the production, make the TABLESPACE_LOB read-only and move it to the new file system.

    It's a little more complicated that a normal gesture of tablespace because of how the table is split.

    Any advice would be much appreciated.

    I was thinking about an approach as:

    SWAP PARTITION allows to separate the partition of the table

    • Create a non-partitioned table which is otherwise identical in structure to tablename (nonpart_tablename)
    • ALTER TABLE TableName LOWER WITH nonpart_tablename SWAP PARTITION

    Move the segment of the table at TABLESPACE_LOB, or to a different tablespace on its own. It is, as you say, only 30 GB and I think (but not strongly enough to go forward without testing/validation on a smaller scale) that the displacement of the segment of the table in this way does not disrupt the LOB segment, as long as you don't say MOVE LOB.

    • ALTER TABLE nonpart_tablename MOVE TABLESPACE TABLESPACE_LOB

    Now the TABLESPACE_LOB tablespace is self-contained and you can make it transportable.

  • The use of javascript to save a pdf file in a different directory and generating a new file based on the form fields in the document name.

    I built the following script to create a submit button that will automatically save the document in a different directory on my computer. It will also use data form 'customer' field and 'date' to generate the file name. I printed the myPath variable, and it seems that he printed the correct string. I get the following error:

    TypeError: redeclaration of const path

    any help would be appreciated.

    var customer = this.getField("Customer").value;

    var date = this.getField("Date").value;

    var path = "C:/users/lead/My Documents/Test / '.

    Reg = date.match(/(\d+)\/(\d+)\/(\d+)/ var);

    var myPath = "C:/users/lead/My Documents/Test /" client + '_' + reg [1] + "." + reg [2] + "." +

    Reg [3] + ".pdf";

    this.saveAs (myPath);

    Thank you. It turns out that simply remove this additional path variable does the job. I used that in an earlier version of my code and I forgot that this is. My syntax also seems to be right.

  • Try to type on a path (CS5) and get the little circle with the sign more?

    I'm trying for the first time to type on a path that I did. I go to the text tool, a form letter, who never appears, but the little circle with a plus sign inside it appears here on the right path. Would love to know what is happening... and how I solve it. Googled and searched my books without success!

    You must place the cursor on the path until the cursor changes on that with the diagonal dotted line, then click on and the text cursor should appear, and then type the text.

  • The ' organize bookmarks page has changed and the column that lists all bookmarks has shrunk and only the folder icons are visible - their names have disappeared and is not visible. " How to restore the names?

    Records on the page "organize bookmarks" show only icons - names of bookmarks disappeared. Impossible to tell what bookkmarks they are. How to restore the names that were once next icons?

    You can place the mouse pointer on the border between the left and right panes and drag the border with the left mouse button to the right to this wider left pane.

    If this does not work or stay after you restart Firefox, then see:

  • Cannot retrieve the data of Type XML

    Hi all

    I have equipped table column of type XMLType

    XML data is loaded into the table.

    But when iam trying to extract not able to recover data

    I use here is the select query

    SELECT CL. XMLDATA. Extract('/ServiceType/EntityName/text()').getStringVal () "entityname" OF CL_DATA_SERVICE_TEMPLATE CL.

    Any help / pointer will help me much... Thanks in advance

    Example of XML file:

    <? XML version = "1.0" encoding = "WINDOWS-1252"? >

    < ServiceType xmlns = "http://www.bmiasia.com/tBos/service_1_0" >

    < entityName > bmiasia.app.irb.servicetemplate12 < / entityName >

    < systemVersion > 4 < / systemVersion >

    < displayName >

    < bundle / >

    < key > AG - VCA < / key >

    < / displayName >

    < description > AG - VCA GROUP: AG - VCA < / description >

    < entityName category = ' bmiasia.app.service.category.ServiceRootCategory.AG_ - _EVC_Services ' >

    < operation > ADD < / operation >

    < / category >

    < entityMetaInfo name = "bmiasia.app.irb.servicetemplate12.NC_PRODUCT_ID" >

    < entityName type = "1" > < / type >

    < / entityMetaInfo >

    < entityMetaInfo name = "bmiasia.app.irb.servicetemplate12.NC_GL_PRODUCT_CODE" >

    < entityName type = "2" > < / type >

    < / entityMetaInfo >

    < entityMetaInfo name = "bmiasia.app.irb.servicetemplate12.NC_GL_PROFIT_CENTRE" >

    < entityName type = "3" > < / type >

    < / entityMetaInfo >

    < entityMetaInfo name = "bmiasia.app.irb.servicetemplate12.NC_SERVICE_CODE" >

    < entityName type = "4" > < / type >

    < / entityMetaInfo >

    < entityMetaInfo name = "bmiasia.app.irb.servicetemplate12.RSP_EU_CUST_REF" >

    < entityName type = "5" > < / type >

    < / entityMetaInfo >

    < entityMetaInfo name = "irbPkClass" >

    < entityName = "type com.convergys.geneva.j2ee.product.ProductPK" > < / type >

    < / entityMetaInfo >

    < entityMetaInfo name = "irbId" >

    < entityName type "12" = > < / type >

    < / entityMetaInfo >

    < name extensionProperty = "hasAddress" value = "true" > < / extensionProperty >

    < parent >

    < itemkey > AllServiceTemplate < / itemkey >

    < name > AllServiceTemplate < / name >

    < targetEntity entityName = "bmiasia.app.service.template.AllServiceTemplate" > < / targetEntity >

    < number > 0 < / number >

    < / parent >

    NORMAL < group > < / group >

    < siu >

    < itemkey > L2_OPTION < / itemkey >

    < operation > ADD < / operation >

    < name > L2_OPTION < / name >

    < required > true < / required >

    < source > INTERNAL < / source >

    < displayName >

    L2 Option < key > < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > L3_OPTION < / itemkey >

    < operation > ADD < / operation >

    < name > L3_OPTION < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    L3 Option < key > < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > QPEVPL_SERVICE_ID < / itemkey >

    < operation > ADD < / operation >

    < name > QPEVPL_SERVICE_ID < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > QP EVLP Service ID < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > QPEVPL_LAG_ID < / itemkey >

    < operation > ADD < / operation >

    < name > QPEVPL_LAG_ID < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > QP EVLP LAG ID < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > CO_NAME < / itemkey >

    < operation > ADD < / operation >

    < name > CO_NAME < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > aggregation Layer / layer of Co < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_SALUTAION < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_SALUTAION < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Installation greeting < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_LASTNAME < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_LASTNAME < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > plant name < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_FIRSTNAME < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_FIRSTNAME < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Installation first name < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_TELEPHONE < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_TELEPHONE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Installation phone < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_MOBILE < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_MOBILE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Installation Mobile < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_EMAIL < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_EMAIL < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > plant Email < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > INSTALL_NOTIFICATION < / itemkey >

    < operation > ADD < / operation >

    < name > INSTALL_NOTIFICATION < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Installation Notification < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_SALUTAION < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_SALUTAION < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Operational / technical greeting < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_LASTNAME < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_LASTNAME < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    <>key operational and technical name < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_FIRSTNAME < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_FIRSTNAME < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    key operational <>/ Technical name < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_TELEPHONE < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_TELEPHONE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Operational / technical phone < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_MOBILE < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_MOBILE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Operational / technical Mobile < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_EMAIL < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_EMAIL < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Operational / technical Email < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > TECHNICAL_NOTIFICATION < / itemkey >

    < operation > ADD < / operation >

    < name > TECHNICAL_NOTIFICATION < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Operational / Technical Notification < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > SERVICE_ACTIVATION_PERIOD < / itemkey >

    < operation > ADD < / operation >

    < name > SERVICE_ACTIVATION_PERIOD < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > period of Activation of Service < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > REJECT_CODE < / itemkey >

    < operation > ADD < / operation >

    < name > REJECT_CODE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > reason for rejection < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > APPLICATION_ACCEPTED < / itemkey >

    < operation > ADD < / operation >

    < name > APPLICATION_ACCEPTED < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > application accepted < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.BooleanCheckSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > APPLICATION_REJECTED < / itemkey >

    < operation > ADD < / operation >

    < name > APPLICATION_REJECTED < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > application rejected < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.BooleanCheckSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > APPROVAL_CODE < / itemkey >

    < operation > ADD < / operation >

    < name > APPROVAL_CODE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > Probate Code < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > PROCESSED_BY < / itemkey >

    < operation > ADD < / operation >

    < name > PROCESSED_BY < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > treated by < / keys >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > ACTUAL_RFS_DATE < / itemkey >

    < operation > ADD < / operation >

    < name > ACTUAL_RFS_DATE < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > effective Date of RFS < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.DateSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > WARNING < / itemkey >

    < operation > ADD < / operation >

    < name > WARNING < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < displayName >

    < key > WARNING < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > NC_PRODUCT_ID < / itemkey >

    < operation > ADD < / operation >

    < name > NC_PRODUCT_ID < / name >

    < required > false < / mandatory >

    < source > EXTERNAL < / source >

    < displayName >

    < key > NC product ID < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > NC_GL_PRODUCT_CODE < / itemkey >

    < operation > ADD < / operation >

    < name > NC_GL_PRODUCT_CODE < / name >

    < required > false < / mandatory >

    < source > EXTERNAL < / source >

    < displayName >

    < key > NC GL product Code < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > NC_GL_PROFIT_CENTRE < / itemkey >

    < operation > ADD < / operation >

    < name > NC_GL_PROFIT_CENTRE < / name >

    < required > false < / mandatory >

    < source > EXTERNAL < / source >

    < displayName >

    < key > Profit Center for the GL NC < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > NC_SERVICE_CODE < / itemkey >

    < operation > ADD < / operation >

    < name > NC_SERVICE_CODE < / name >

    < required > false < / mandatory >

    < source > EXTERNAL < / source >

    < displayName >

    < key > EUC ID < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.common.StringSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAttribute" > < / mapping >

    PRODUCT < scope > < / scope >

    < / siu >

    < siu >

    < itemkey > bmiasia.app.irb.servicetemplate54 < / itemkey >

    < operation > ADD < / operation >

    < name > bmiasia.app.irb.servicetemplate54 < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < equalsProvider > bmiasia.app.service.spi.AddSvcSIUEqualsProvider < / equalsProvider >

    < displayName >

    < key > CIR by 250Mbps CoS A < / keys >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.AdditionalServiceSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAdditionalService" > < / mapping >

    < scope > SERVICE < / scope >

    < outSvcAttr > true < / outSvcAttr >

    < / siu >

    < siu >

    < itemkey > bmiasia.app.irb.servicetemplate55 < / itemkey >

    < operation > ADD < / operation >

    < name > bmiasia.app.irb.servicetemplate55 < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < equalsProvider > bmiasia.app.service.spi.AddSvcSIUEqualsProvider < / equalsProvider >

    < displayName >

    < key > CIR by 250Mbps CoS B < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.AdditionalServiceSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAdditionalService" > < / mapping >

    < scope > SERVICE < / scope >

    < outSvcAttr > true < / outSvcAttr >

    < / siu >

    < siu >

    < itemkey > bmiasia.app.irb.servicetemplate56 < / itemkey >

    < operation > ADD < / operation >

    < name > bmiasia.app.irb.servicetemplate56 < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < equalsProvider > bmiasia.app.service.spi.AddSvcSIUEqualsProvider < / equalsProvider >

    < displayName >

    < key > CIR by 250Mbps CoS C < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.AdditionalServiceSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAdditionalService" > < / mapping >

    < scope > SERVICE < / scope >

    < outSvcAttr > true < / outSvcAttr >

    < / siu >

    < siu >

    < itemkey > bmiasia.app.irb.servicetemplate57 < / itemkey >

    < operation > ADD < / operation >

    < name > bmiasia.app.irb.servicetemplate57 < / name >

    < required > false < / mandatory >

    < source > INTERNAL < / source >

    < equalsProvider > bmiasia.app.service.spi.AddSvcSIUEqualsProvider < / equalsProvider >

    < displayName >

    < key > CIR by 250Mbps CoS D < / key >

    < / displayName >

    < entityName = "type bmiasia.app.siulib.siu.AdditionalServiceSIU" > < / type >

    < entityName = "map bmiasia.app.service.oo.ServiceAndAdditionalService" > < / mapping >

    < scope > SERVICE < / scope >

    < outSvcAttr > true < / outSvcAttr >

    < / siu >

    < defaultWorkflowInfo >

    < entityName = "workflow bmiasia.app.irb.servicetemplate12_Workflow" > < / workflow >

    < entityName = "bmiasia.app.irb.servicetemplate12_CancelFlow" cancelFlow > < / cancelFlow >

    < / defaultWorkflowInfo >

    < source > EXTERNAL < / source >

    < entityName = "bmiasia.app.irb.servicetemplate54" additionalServices >

    < operation > ADD < / operation >

    < name > CIR by 250Mbps CoS A < / name >

    < / additionalServices >

    < entityName = "bmiasia.app.irb.servicetemplate55" additionalServices >

    < operation > ADD < / operation >

    < name > CIR Per 250Mbps CoS B < / name >

    < / additionalServices >

    < entityName = "bmiasia.app.irb.servicetemplate56" additionalServices >

    < operation > ADD < / operation >

    < name > CIR by 250Mbps CoS C < / name >

    < / additionalServices >

    < entityName = "bmiasia.app.irb.servicetemplate57" additionalServices >

    < operation > ADD < / operation >

    < name > CIR by 250Mbps CoS D < / name >

    < / additionalServices >

    < defaultWorkflowDefinition >

    < installSoEntityName > bmiasia.app.template.serviceorder.Installservicetemplate12SO < / installSoEntityName >

    < changeSoEntityName > bmiasia.app.template.serviceorder.Modifyservicetemplate12SO < / changeSoEntityName >

    < removeSoEntityName > bmiasia.app.template.serviceorder.Removeservicetemplate12SO < / removeSoEntityName >

    workflow <>

    < entityName > bmiasia.app.irb.servicetemplate12_Workflow < / entityName >

    < / workflow >

    < cancelFlow >

    < entityName > bmiasia.app.irb.servicetemplate12_CancelFlow < / entityName >

    < / cancelFlow >

    < / defaultWorkflowDefinition >

    < / ServiceType >
     SELECT extractvalue(VALUE(p),'//itemkey','xmlns="http://www.bmiasia.com/tBos/service_1_0"') Name,
      extractvalue(VALUE(p),'//required','xmlns="http://www.bmiasia.com/tBos/service_1_0"') Required
       FROM CL_DATA_SERVICE_TEMPLATE w,
      TABLE(XMLSEQUENCE(EXTRACT(xmldata,'/ServiceType/siu','xmlns="http://www.bmiasia.com/tBos/service_1_0"'))) p
    

    untested... check and confirm...

    Ravi Kumar

  • Search a directory of data and display the data that is within the range of dates

    Hello

    I have a full idrectory of data from overtime, and I think of search in the directory and display the data files for specific dates. I only started this encoding yet but I figure I'll take the brain of some SMEs here labview and start in the right direction. My goal is to go through a comprehensive directory of data taken for a month or MORE csv files and select the data to process and display office files the date of its registration. If I take the data of last week, last month or last minute, it should just treat as an exact or more.

    Please help me get started on the right foot

    End date will be probably greater than the start date, right? So, end date must connect at the entrance to the upper limit. Then wire in the range? to the conditional terminal of a tunnel of conditional indexation.

    Lynn

Maybe you are looking for