Oracle Text valid file formats

We are using Oracle Text 10g release 1. In the Oracle Text documentation in appendix B it lists all the supported file formats Oracle text can filter and turn to text. Does anyone know whether there is a document that not only has the supported file formats but also the file extensions of these file types?

Hi,
It depends on your release of 10gR1 as to the filter you'll use. At 10.1.0.4 the Verity KeyView filter is used. Prior to that (in 10gR1) the INSO filter was used. This determines the file formats that are supported.
Depending on your release, you can 'Google' for either INSO filter or Verity KeyView filter and get more details on the filters.
Thanks,
Ron

Similar Messages

  • Oracle Retail standard file format for batches - specification needed

    Is there any accurate specification of Oracle Retail standard file format for batches, such as EdiUpcat.pc (possibly with examples)?
    I am trying to produce a file with supplier cost changes for Cost Change Batch (ediupcat.pc).
    In "Operations Guide - Batch Overviews and Designs - Volume 1" I found some brief description, though it is not clear to me
    1) what should I do with empty values (obviously, pad with appropriate number of spaces?)
    2) What if some string value has less characters than specified? Should I left-pad or right-pad?
    3) What does Number(12,4) means? How many characters exactly? 17? Why then values in some fields are multiplied by 10000 (so that to obtain integer value) while in others they go in Number(12,4) notation?

    Hi Roman,
    I am glad to be of help.
    Try to see it like this:
    A number 20 is of char-length 20 in a flatfile, and the value is what it is 1:1.
    A number 12,4 is of char-length 12 in a flatfile, but needs to be divided by 10^4 (10000) to get its real value.
    Indeed there is a funny asymmetry in the documentation how the decimals are handled - but we needed to read carefully already anyhow... :)
    I always like to construct a file by hand in an editor (vi, whatever) and then run it through the program, and check the errors in the error file.
    Good luck and best regards,
    Erik
    Edited by: ErikYkema on Oct 13, 2011 3:01 PM

  • Oracle 9i(9.2.0.5.0) - Oracle Text - Indexing files on FTP Server

    I am using Oracle 9i(9.2.0.5.0) and I am unable to upgrade to a newer version of Oracle DB.
    I am new to this technology and I have not tried it yet myself.
    I was reading some articles, documents or references about Oracle text technology and I have find out that Oracle text should be able to create a context index over the files which resides on the FTP server.
    I have also found out, that for this purpose an "URL_DATASTORE" should be used.
    I would be pleased if someone can answer my question before I decide to start using this technology:
    - Is there any limitation which I should be aware of when creating context index over files which resides on FTP server? (file size limit, supported file types limitation)
    - During index creation process are the indexed files downloaded and copied to the Oracle database permanently or only temporary until index is created?
    - Is any incremental indexing possible(when I add new files to the datastore I do not have to rebuild the whole index)?
    - Is there any formula between context index disk size and indexed files disk size?
    Regards,
    Michal

    - Is there any limitation which I should be aware of when creating context index over files which resides on FTP server? (file size limit, supported file types limitation)
    Max file size is configurable up to 2GB. No limitation on the file type from the datastore itself, but if you want to process binary files the normal list of suported filter file formats will apply (see the appendix in the admin guide)
    - During index creation process are the indexed files downloaded and copied to the Oracle database permanently or only temporary until index is created?
    Only temporarily
    - Is any incremental indexing possible(when I add new files to the datastore I do not have to rebuild the whole index)?
    From the question, I suspect you're seeing this as a crawler - you expect to provide the address of an FTP site and have it fetch all the documents. That's not how it works. Rather, you must put all the URLs into a table, and Text will index those URLs (and only those URLs)
    If new files are added, you must arrange somehow to have the new rows added to your table. Then Text will do an incremental update, it won't have to rebuild the whole index.
    - Is there any formula between context index disk size and indexed files disk size?
    It varies quite a lot depending on types of data and indexing options chosen, but a typical result is that the index will be 40% of the total file size. However, if the documents are formatted (eg Word, PDF) the percentage will be much smaller.

  • ORACLE TEXT 10G의 수동 설치와, 설치 해제 방법

    제품 : ORACLE SERVER
    작성날짜 : 2006-03-17
    ORACLE TEXT 10G의 수동 설치와, 설치 해제 방법
    ===================================
    PURPOSE
    이 문서는, Oracle Text 10gR1의 수동 설치와 설치 내용의 확인, 설치 해제 방법을 기술하고 있다.
    이 정보는, Oracle 10g Release 1 (10.1.0.2)의 Text를 구성하는 데이터베이스 관리자와, 기술 지원 담당자에게
    유용한 정보가 될 것이다.
    Explanation
    * 주의 사항
    오라클 데이터베이스를 Database Configuration Assistant (DBCA)를 사용하여 생성하였다면, Text는
    기본적으로 설치되며, 별도로 아래 기술된 절차에 따라 설치를 진행할 필요가 없다.
    Oracle Text는 모든 데이터베이스 에디션에 (Oracle Database Standard Edition One,
    Oracle Database Standard Edition (SE), Oracle Database Enterprise Edition (EE),
    Oracle Database Personal Edition ) 추가 라이센스 비용 없이 사용할 수 있다.
    Oracle Database Enterprise Edition (EE)의 경우, Oracle Text를 설치하기전에 Oracle Data Mining (ODM)
    기능을 사용할 수 있게 하는 것이 좋다. 이와 같이 하면, SVM classifier 와 KMEANS clustering 기능을 사용
    할 수 있다. RULE classifier 나 TEXTK clustering과 같은 다른 기능은 ODM이 설치되지 않는 상태에서도
    실행 가능하다.
    * 설치 절차
    데이터베이스를 수동으로 생성하였거나, 데이터베이스 생성 후 Text를 나중에 별도로 설치하기 위해서는
    다음과 같은 절차를 따른다.
    참고: SQL*Plus에서 $ORACLE_HOME 대신에 '?'를 사용하였다.
    1. SQL*Plus에 SYSDBA로 연결 한 수, 다음과 같이 스크립트를 호출하면, CTXSYS 스키마에 Text dictionary가
    생성된다.
    SQL> connect SYS/password as SYSDBA
    SQL> spool text_install.txt
    SQL>@?/ctx/admin/catctx.sql CTXSYS SYSAUX TEMP LOCK
    위 명령에서:
    CTXSYS - ctxsys 사용자의 패스워드
    SYSAUX - ctxsys 사용자의 default tablespace명
    TEMP - ctxsys 사용자의 temporary tablespace명
    LOCK|NOLOCK - ctxsys 사용자 계정을 잠글 것인지, 잠금 해제 할 것인지 여부
    2. 위 작업이 끝나면 언어별로 적절한 default preference를 생성한다.
    Oracle text가 지원하는 언어별 default preference는 /ctx/admin/defaults 디렉토리에 있다.
    예를 들면, English(US), Danish(DK), Dutch(NL), Finnish(SF), French(F), German(D), Italian(IT),
    Portuguese(PT), Spanish(E), Swedish(S) 등이 있다.
    이들 스크립트는 drdefXX.sql과 같은 파일 명을 갖는데, 여기서 XX는 사용하고자 하는 국제
    코드이다. 예를 들어 US default preference를 수동으로 설치하기 위해서는 sqlplus에 CTXSYS
    계정으로 로그인 한 후, 'drdefus.sql'을 다음과 같이 실행시킨다.
    예를 들어 한국의 경우엔 KR default preference를 수동으로 설치하기 위해서는 sqlplus에 CTXSYS
    계정으로 로그인 한 후, 'drdefkr.sql'을 다음과 같이 실행시킨다.
    SQL> connect CTXSYS/password
    SQL>@?/ctx/admin/defaults/drdefko.sql
    SQL> spool off
    *** 주의 ***
    만약 Text를 설치하기 전에 Oracle Data Mining (ODM)을 설치하였다면, text_install.txt 파일에서
    public synonym과 관련된 ORA-955 에러가 남겨진 것을 확인 할 수 있다. 예를 들어 dm_svm_build 와
    관련된 에러가 발생하게 되는데 이 에러는 무시하면 된다. CTXSYS 스키마에 API를 휴내내는 더미
    패키지를 생성하는데, 설치 과정에서 public synonym을 생성하는 것을 시도해 보기 때문이다.
    ODM이 설치되어 있는 상태에서는, public synonym 생성은 실패하게 되고, public synonym이
    ODM의 객체를 가리키는 상태가 되므로, 정상적인 동작이 된다.
    3. Text 10gR1 (10.1.0.x) 정상 설치 여부에 대한 확인
    a. 모든 Text 객체가 CTXSYS 스키마에 정상적으로 설치 되었는지 여부를 확인한다.
    b. CTXSYS 스키마에 속한 객체중 invalid 상태인 것들이 없는 것이 있는지 확인한다.
    정상적으로 설치된 상태에서는 결과 값으로 "no rows selected"가 나와야 한다.
    만약 invalid 상태의 객체가 있다면 수동으로 이들 객체를 컴파일 해 주어야 한다.
    ------------------- cut here ------------------------------
    connect SYS/password as SYSDBA
    set pages 1000
    col object_name format a40
    col object_type format a20
    col comp_name format a30
    column library_name format a8
    column file_spec format a60 wrap
    spool text_install_verification.log
    -- check on setup
    select comp_name, status, substr(version,1,10) as version
    from dba_registry
    where comp_id = 'CONTEXT';
    select * from ctxsys.ctx_version;
    select substr(ctxsys.dri_version,1,10) VER_CODE from dual;
    select count(*)
    from dba_objects where owner='CTXSYS';
    -- Get a summary count
    select object_type, count(*)
    from dba_objects where owner='CTXSYS'
    group by object_type;
    -- Any invalid objects
    select object_name, object_type, status
    from dba_objects
    where owner='CTXSYS'
    and status != 'VALID'
    order by object_name;
    spool off
    ------------------- cut here ------------------------------
    정상적으로 설치가 되었다면 다음과 같은 결과가 나와야 한다:
    SQL> select comp_name, status, substr(version,1,10) as version
    from dba_registry
    where comp_id = 'CONTEXT';
    COMP_NAME STATUS VERSION
    Oracle Text VALID 10.1.0.2.0
    SQL> select * from ctxsys.ctx_version;
    VER_DICT VER_CODE
    10.1.0.2.0 10.1.0.2.0
    SQL> select substr(ctxsys.dri_version,1,10) VER_CODE from dual;
    VER_CODE
    10.1.0.2.0
    SQL> select count(*)
    from dba_objects where owner='CTXSYS';
    COUNT(*)
    338
    SQL> select object_type, count(*)
    from dba_objects where owner='CTXSYS'
    group by object_type;
    OBJECT_TYPE COUNT(*)
    FUNCTION 5
    INDEX 46
    INDEXTYPE 4
    LIBRARY 1
    LOB 1
    OPERATOR 6
    PACKAGE 71
    PACKAGE BODY 58
    PROCEDURE 3
    SEQUENCE 3
    TABLE 37
    TYPE 42
    TYPE BODY 7
    VIEW 54
    14 rows selected.
    SQL> select object_name, object_type, status
    from dba_objects
    where owner='CTXSYS'
    and status != 'VALID'
    order by object_name;
    no rows selected
    SQL>
    4. 수동으로 설치 해제를 하는 절차
    *** 주의 ***
    Oracle Text를 설치 해제 하기 전에, CTXSYS 이외의 계정에서 생성한 모든 Text 인덱스를 drop 시키는 것이
    좋다.
    CTXSYS 스키마의 Text dictionary는 SQL*Plus에 SYSDBA로 연결하여 다음과 같이 스크립트를 실행 시킴으로써
    제거된다.
    SQL> connect SYS/password as SYSDBA
    SQL> spool spool textdeinstall.log
    SQL>@?/ctx/admin/catnoctx.sql
    SQL> spool off
    Review the output file textdeinstall.log for errors.
    Deinstallation of Oracle Text 10.1.0.x is complete.
    Example
    Reference Documents
    Oracle Text Reference 10g Release 1 (10.1) Part Number B10730-02
    Note 280713.1 Manual installation, deinstallation of Oracle Text 10gR1

  • How to save and open Text/csv file over APS

    Hi,
    I want to save(and open later) data from database block in text/csv file format over Application server, I did a lot of search here on Forms but didn't found a reasonable solution, Some one plz help me.
    Thanks and Regards, Khawar.

    As long as you are using the Report Generation Toolkit, there is no need to use ActiveX for the purpose of saving the Excel file -- Save Report will do that for you.  You can then export (as text) all of the Excel data and use the Write Spreadsheet File to make the .CSV file.  Here is how I would rewrite the final bits of your code --
    I cleaned up the wires around Excel Easy Table a bit.  You'll see I made a VI Icon for Replace Filename, which does (I think) a nicer job of self-documenting than showing its Label.  To make the filename, add the correct extension (.xlsx for Excel, .csv for CSV), use Build Path to combine Folder and Filename, and wire to Save Report.
    The next two functions add the Extract Everything and Write to Spreadsheet, using a Comma as a separator, which makes a CSV copy for you.
    Bob Schor

  • Oracle text installed but can't find anything through the text indexes

    Hello,
    i've got a Oracle 10G (10.2.0.4) database 64bit on a Windows 2003r2 64bit (sp2). I also installed the Oracle Text:
    Oracle Text
    VALID 10.2.0.4.0
    then I created some preferences and created the text indexes:
    create index afindex on docs(document) indextype is ctxsys.context parameters('storage gdoc_store SYNC (ON COMMIT)');
    so with the syn on commit, it should immediately be seen in the index.
    I have for example in 1 table 6 documents (word,pdf ...), the other has more then 64000 documents and the 3rd one more than 425000.
    In none of the 3 above, searching on text gives result after index is created. Not in the developer his program nor in sqlplus.
    searching sql for example:
    select id from docs where contains(doc,'hello')>0;
    under the c:\windows\temp, I see about 380files with drgibXXXXX, so it does index them?
    What could be the problem?
    note that I've got lots of other database where I also use Oracle text and there is no problem, only difference is the 32 <-> 64bit.
    error in ctx_index_error is :
    DRG-11207: user filter command exited with status 1
    Edited by: user12155961 on 15-apr-2010 5:33

    According to the [http://download.oracle.com/docs/cd/B19306_01/text.102/b14218/afilsupt.htm#sthref2446|10.2 docs], Auto Filter is supported on the following platforms:
    Microsoft Windows
    o Server 2003 (x86 and IA-64)
    o XP (Service Packs 1 and 2)
    o 2000 x86 (Service Pack 2)
    o NT 4.0 x86 (Intel) (Service Pack 6a)
    Sun Solaris 8.0 and 9.0
    HP-UX 11.0 and 11i, PA-RISC
    HP-UX 11i v11.23, IA-64
    IBM AIX 5.1 and 5.2L
    Red Hat Linux 7.3 and 8.0
    Red Hat Enterprise Linux AS 2.1 and 3.0 (x86)
    Red Hat Enterprise Linux AS 3.0 (IA-64)
    SuSE Linux Standard Server 8 (x86)
    Note x84 and IA-64 (Itanium 64) but not x86-64. So I suspect that you don't get the filters at all.
    If this is the case, your options are either to install a 32 bit version of Oracle for Windows (which I believe should work fine on 64 bit Windows) or to attempt to cobble the 32 bit ctxhx into your 64 bit environment. I'm sure this should be possible, but it would be unsupported and I don't have any kind of "how to" on doing it.

  • Patches 7446163 y 6851110 in order to use Oracle Text from UCM

    Hello, we have Oracle Enterprise Edition 11.2.0.1 on AIX 6.1.0.0 (64 bits). The client want to use Oracle Text from Universal Content Management, he told me about install the patches 7446163 y 6851110 in order to enable Oracle Text from UCM. I reviewed in Metalink but the readme said that those patches are for Oracle 11.1.0.7. That version (11.2.0.1) include already those patches or those are necessary for we can use the funcionality of Oracle Text from Universal Content Management? I reviewed the components installed on database and the Oracle Text is installed and active.
    Thanks for your help.
    Sincerely,
    Ruben Nieto
    DBA

    Hi
    Oracle DB usually would be installed with Oracle Text enabled (the db side) . To use the features for this we need to have OracleText component enabled on UCM which as you mentioned is already installed and enabled on the ucm server .
    If both the above conditions are already met then you would not need to install any further patches.
    Let me know if it is fine on db and ucm .
    Verify that Oracle Text is enabled on db by executing the following query :
    select comp_name, status from dba_registry;
    It should return the the following result : Oracle Text VALID
    To verify if the component for UCM is installed then you would need to check Administration - Configuration for <instance name> - Enabled Components
    Thanks
    Srinath
    Edited by: Srinath Menon on Dec 26, 2010 8:38 PM

  • How do I get Oracle Text to index files on a file server?

    I am new to Oracle (I'm a MS-SQL DBA looking for a Full-Text Search solution that is better than linking to a MS index server.)
    So - Here's the objective:
    I have Oracle Server(Express) installed on a Windows server.
    I would like for Oracle to build a Full-Text Catalog of the files on a separate file server based on file paths in a table in the database.
    (No desire to store terabytes of images and documents inside the database)
    I can get Oracle text up and running, using the URL_Datastore:
    CREATE TABLE files (id NUMBER PRIMARY KEY, issue_id NUMBER, path VARCHAR(255) UNIQUE, ot_format VARCHAR(6), ot_version VARCHAR(10));
    The Compaq server is a remote windows server on my local workgroup, so the fully qualified path is just "compaq" and the URL is valid:
    INSERT INTO files VALUES (9,9,'file://Compaq/FTQ/00000003.pdf',NULL,NULL);
    INSERT INTO files VALUES (13,13,'file://Compaq/FTQ/01.txt',NULL,NULL);
    CREATE INDEX file_index ON files(path) INDEXTYPE IS ctxsys.context
    PARAMETERS ('datastore ctxsys.URL_DATASTORE format column ot_format');
    but when I enter:
    Select * from CTX_User_Index_errors, I see the following errors:
    DRG-11609: URL store: unable to open local file specified by file://Compaq/FTQ/00000003.pdf
    DRG-11609: URL store: unable to open local file specified by file://Compaq/FTQ/01.txt
    Did I miss something?
    Do I need to install anything on the file server?
    I would like to convince my company that Oracle can be much quicker than Microsoft's Indexing Service because it can avoid joining two large result sets (one result set from Full_text (indexing service) and one for specific data contained in fields in the MS-SQL database.) Full Text Searches commonly take 40 - 60 seconds where there are 1.5 million multi-page PDF files for a particular set that I sample search on. Without this massive join, I believe I can get the search to run in under 10 seconds.

    Thank you!
    File_Datastore worked fine.
    I was staying away from File_Datastore because the information I gathered from googling suggested that file_datastore would only work locally.
    Now I just have to get Oracle to pull data out of tables in a MS-SQL database on the local network (don't have a clue yet), and then have it index compiled file paths.
    Then MS-SQL can query Oracle with index and full-text criteria and Oracle can send back a result set
    It may sound like a bad way of performing Full-Text Queries, but anything will be better than the way things are currently running. We are currently performing Full Text Searches on a table that is rebuilt nightly, so the table containing millions of file paths is not live..
    It would be so much better if we just migrated to Oracle, but we currently do not have the resources.

  • How can we generate the reports in html or text file formats?

    Hi,
    Is there any package that can help in creating HTMLDB reports in .txt files or .html files? (Similar to TEXT_IO in Oracle Forms)
    How can we generate the reports in html or text file formats from HTMLDB?
    Thanks in Advance
    Renjith

    Hello all.
    Bi Publisher is great, but has a very high price tag. It's even more expensive than Forms & Reports Services. We are considering APEX to replace Forms & Reports on the web, but the reporting limitations are still a problem.
    I wonder if there is another option.
    Thanks

  • What file format Oracle Database 11g can spool data w chinese characters?

    Hi,
    I have a batch job that spools data into a text file for further processing but now I have data that contains chinese characters.
    From what I know text file (.txt) cannot support chinese characters.
    Anyone has any idea what file format Oracle Database 11g can spool data with chinese characters?
    Thank you!
    Regards,
    Fel

    I'm not sure this can work with SQL*Plus in character mode on Windows DOS mode. But this should work with SQL Developer: see Re: How to display Chinese characters in Oracle?
    I can also make this work with Linux:
    $ locale
    LANG=fr_FR.UTF-8
    LC_CTYPE="fr_FR.UTF-8"
    LC_NUMERIC="fr_FR.UTF-8"
    LC_TIME="fr_FR.UTF-8"
    LC_COLLATE="fr_FR.UTF-8"
    LC_MONETARY="fr_FR.UTF-8"
    LC_MESSAGES="fr_FR.UTF-8"
    LC_PAPER="fr_FR.UTF-8"
    LC_NAME="fr_FR.UTF-8"
    LC_ADDRESS="fr_FR.UTF-8"
    LC_TELEPHONE="fr_FR.UTF-8"
    LC_MEASUREMENT="fr_FR.UTF-8"
    LC_IDENTIFICATION="fr_FR.UTF-8"
    LC_ALL=
    $ cat chinese.sql
    cat tchinese.sql
    set echo on
    spool tchinese.log
    select * from v$version;
    select unistr('\8349') from dual;
    exit
    $ cat tchinese.log
    SQL> select * from v$version;
    BANNER                                                                         
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod               
    PL/SQL Release 10.2.0.1.0 - Production                                         
    CORE     10.2.0.1.0     Production                                                     
    TNS for Linux: Version 10.2.0.1.0 - Production                                 
    NLSRTL Version 10.2.0.1.0 - Production                                         
    SQL> select unistr('\8349') from dual;
    UNIS                                                                           
    草                                                                              Edited by: P. Forstmann on May 27, 2009 10:30 AM
    Edited by: P. Forstmann on May 27, 2009 10:33 AM

  • ACS 5.1 Import Template gives File Format Validation Failed

    Hi folks,
    Network Resources - Network Devices and AAA Clients- File Operations - Add - gives me File Format Validation Faliled. I am carefull to leave the header as it is. The header in the Import Template looks faulty, see attached. When exporting devices I also get the same header as attached.
    I also tried to change the header so its all in one column, but with same result.
    Please advise. Thanks.

    I haven't had the time to drill on this completely but looks like your file is getting mangled as it got downloaded and edited
    I extracted your file and put in a text editor. looks like this
    name:String(64):Required,description:String(1024),subnets:Subnets(a.b.c.d/m;"...):Required,""supportRADIUS:Boolean(true,false):Required"",radiusSecret:String(32),""supportTACACS:Boolean(true,false):Required"",tacacsSecret:String(32),""singleconnect:Boolean(true,false)"",""legacyTACACS:Boolean(true,false)"",Location:String(256),Device Type:String(256)"
    The quote characters seem duplicated and there is an extra quote in Subnets header field that should be removed
    Can't guaranetee anything but worth getting into a text editor and trying to clean it up

  • Loading XML(XSD) file into database by validating the format in file

    Hi,
    I have a file whose format is predefined as listed below
    <?xml version="1.0" encoding="utf-8" ?>
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
         <xs:element name="VVV">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="VVVHeader">
                        <xs:complexType>
                        <xs:sequence>
                        <xs:element name="UniqueIdentifier" type="xs:SEQ0001"/>
                        <xs:element name="VVVFileType" type="xs:123"/>
                        <xs:element name="FileCreatedDatetime" type="xs:23-MAY-2006"/>
                        <xs:element name="ScanDatetime" type="xs:23-MAY-2006"/>
                        <xs:element name="BatchID" type="xs:456"/>
                        <xs:element name="BatchSequence" type="xs:1001"/>
                        <xs:element name="DataEntryDatetime" type="xs:23-MAY-2006"/>
                        </xs:sequence>
                        </xs:complexType>
                        </xs:element>
                        <xs:element name="VVVDetail">
                        <xs:complexType>
                        <xs:sequence>
                        <xs:element name="RRRLocalOffice" type="xs:Mumbai"/>
                        <xs:element name="Duplicate" type="xs:No"/>
                        <xs:element name="ReRegMarker" type="xs:boolean"/>
                        <xs:element name="RegistrationMark" type="xs:Vishnu"/>
                        <xs:element name="RegMarkCheckDigit" type="xs:12S"/>
                        <xs:element name="TaxClassCode" type="xs:67"/>
                        <xs:element name="ExternalMakeCode" type="xs:Maruti"/>
                        <xs:element name="ExternalModelCode" type="xs:800LX"/>
                        <xs:element name="RRRMakeCode" type="xs:Mar"/>
                        <xs:element name="RRRModelCode" type="xs:800LV"/>
                        <xs:element name="RRRVehicleBodyCode" type="xs:98"/>
                        <xs:element name="RRRColourCode" type="xs:red"/>
                        <xs:element name="RegistrationDate" type="xs:23-MAY-2006"/>
                        <xs:element name="ChassisNumber" type="xs:num123"/>
                        <xs:element name="HC" type="xs:1.22"/>
                        <xs:element name="UnWeight" type="xs:90"/>
                        <xs:element name="NoSeats" type="xs:four"/>
                        <xs:element name="NOx" type="xs:2.22"/>
                        <xs:element name="RevenueWeight" type="xs:34"/>
                        <xs:element name="CO2" type="xs:55"/>
                        <xs:element name="Particulates" type="xs:long"/>
                        <xs:element name="CO" type="xs:3.33"/>
                        <xs:element name="HCNOx" type="xs:4.44"/>
                        <xs:element name="TrailerWeight" type="xs:66"/>
                        <xs:element name="StationaryLevel" type="xs:77"/>
                        <xs:element name="EngineSpeed" type="xs:88"/>
                        <xs:element name="DriveBynature" type="xs:99"/>
                        <xs:element name="SMMTFleetCode" type="xs:yel"/>
                        <xs:element name="Purchasercode" type="xs:4004"/>
                        <xs:element name="IndustryofUse" type="xs:office"/>
                        <xs:element name="OriginalDealerCode" type="xs:tr56"/>
                        <xs:element name="SellingDealerCode" type="xs:se23"/>
                        <xs:element name="bill110" type="xs:srira"/>
                        <xs:element name="bill111" type="xs:mula"/>
                        <xs:element name="SalesType" type="xs:krish"/>
                        </xs:sequence>
                        </xs:complexType>
                        </xs:element>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>
    I would like to update this into a a table by validating the format of the XSD file.
    I will be having several similar files.
    Steps I will be doing on this are
    1 > Pick up file from a directory one at a time
    2 > Validate the format of XSD file
    3 > If valid load into a table
    How can I achieve above steps using PL/SQL
    Pls mail me ur suggestions on very urgent basis
    Thanks in advance
    Vishnu

    Really this should be in the XML forum, but anyway....
    Just a small question... It looks as though you are using an XML schema (XSD) to store your table information along with it's data, am I correct? Seems very bizarre thing to do.
    If you are using Oracle 10g you can drop your file into the Oracle WebDAV area (XDB) and from there you can access the XML as an XMLTYPE using something like...
    SELECT rv.res.extract('/Resource/Contents/*')
    FROM   resource_view rv
    WHERE  lower(rv.any_path) = lower(lc_filename)Once you have it in the XMLTYPE variable from that query, and because your schema doesn't really define the datatypes etc. it's gonna be up to you to parse the XML using something like the DBMS_XMLDOM package and process that into create table statements or something.
    Certainly looks like you've got yourself a nice task to do there. Glad I'm not doing it.
    ;)

  • How does oracle text differentiate between various document formats?

    how does oracle text differentiate between text documents of various formats. does it read binary headers or a file extension is necessary?
    please comment..

    Oracle uses the inso_filter for document filtering as desribed in the documentation:
    http://download-west.oracle.com/docs/cd/B10501_01/text.920/a96518/afilsupt.htm#625110
    I did a little test (included below) where I copied a .pdf file to a file with a .test extension and it was still able to index it and search it, so apparently it does not need the file extensions and must read the header.
    scott@10gXE> BEGIN
      2   CTX_DDL.CREATE_PREFERENCE ('test_datastore', 'FILE_DATASTORE');
      3   CTX_DDL.SET_ATTRIBUTE ('test_datastore', 'PATH', 'c:\oracle');
      4  END;
      5  /
    PL/SQL procedure successfully completed.
    scott@10gXE> CREATE TABLE test_tab
      2    (id        NUMBER,
      3       docs        VARCHAR2 (2000),
      4       CONSTRAINT test_tab_id_pk PRIMARY KEY (id))
      5  /
    Table created.
    scott@10gXE> INSERT INTO test_tab VALUES (1, 'master~1.pdf')
      2  /
    1 row created.
    scott@10gXE> CREATE INDEX test_tab_idx ON test_tab (docs)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS
      4    ('DATASTORE test_datastore
      5        FILTER    CTXSYS.INSO_FILTER')
      6  /
    Index created.
    scott@10gXE> SELECT id FROM test_tab
      2  WHERE CONTAINS (docs, 'meat') > 0
      3  /
            ID                                                                     
             1                                                                     
    scott@10gXE>
    scott@10gXE> DROP INDEX test_tab_idx
      2  /
    Index dropped.
    scott@10gXE> HOST COPY c:\oracle\master~1.pdf c:\oracle\master.test
    scott@10gXE> INSERT INTO test_tab VALUES (2, 'master.test')
      2  /
    1 row created.
    scott@10gXE> CREATE INDEX test_tab_idx ON test_tab (docs)
      2  INDEXTYPE IS CTXSYS.CONTEXT
      3  PARAMETERS
      4    ('DATASTORE test_datastore
      5        FILTER    CTXSYS.INSO_FILTER')
      6  /
    Index created.
    scott@10gXE> SELECT id FROM test_tab
      2  WHERE CONTAINS (docs, 'meat') > 0
      3  /
            ID                                                                     
             1                                                                     
             2                                                                     
    scott@10gXE>

  • Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exact

    Why Acrobat x professional is changing the text formatting specifically the font family  and the font size of the text in my pdf on exporting it to Microsoft word file format ?How should i stop Acrobat x professional from doing that so that i get an exactly same word file on exporting it from its pdf counterpart?

    I was testing the preciseness & efficiency of Adobe acrobat x professional's doc conversion capabilities. As i have to take a document editing project in future which is going to need lot of pdf to word and vice versa conversions . What I did was I created a test word document converted into a pdf using a pdf maker in my word 2007 , Acrobat did convert the document from word to pdf keeping everything in the source file intact , However when i tried the other way round and attempted to convert the same pdf to word 2007 file format I lost my formatting ?So the font that I used to create the pdf are the ones taken from word 2007 which i believe is using the fonts that are installed in my computer. Any suggestions on how to preserve the formatting of the document after converting it from pdf to word file format?
    Regards
    Mike

  • Oracle script to extract SQL server data to XML/CSX file format

    HI,
    I have a requirement like-
    Create an Oracle script to Extract data from SQL Server to XML/CSV file format in File server (Oracle Server and File Server are in different boxes).
    Create an Oracle script to Retrieve data from the File Server, validate and load into the Oracle staging table
    Create an Oracle script to Push data from Oracle Staging table to native SQL Server table
    We may/may not be using the staging table
    Could anyone please respond immediately as it is urgent ?
    Thanks,
    Inbamalar

    user10594152 wrote:
    HI,
    I have a requirement like-
    Create an Oracle script to Extract data from SQL Server to XML/CSV file format in File server (Oracle Server and File Server are in different boxes).
    Create an Oracle script to Retrieve data from the File Server, validate and load into the Oracle staging table
    Create an Oracle script to Push data from Oracle Staging table to native SQL Server table
    We may/may not be using the staging table
    Could anyone please respond immediately as it is urgent ?
    Thanks,
    Inbamalar
    Urgent issues indicate a live/production system is having problems and a company is losing money, or customers are being prevented from using it.
    For urgent issues you should raise your issue with Oracle Support using your customer support identifier.
    The community forums are for non-urgent issues.  To suggest such issues are urgent is considered rude, as the people who help here are volunteers with their own jobs to do, so demanding their time for your "urgent" issue is not appropriate.  It also suggests that you think your issue is more important than other people's issues, so you are being rude to those people too.  Your issue is no more important than anyone elses.
    In relation to your question, you need to provide more information.
    Please read: Re: 2. How do I ask a question on the forums?
    When you refer to "SQL Server" are you referring to the Microsoft SQL Server product, or are you just referring to a physical server with your oracle database on it?

Maybe you are looking for