Problem In Oracle9i Enterprise Edition

hello mike curtis
i have some problem with oracle , i hope you want to help me solve my problem,
i use oracle9i on Microsoft Windows 2000 Advance Server,
on dell power edge server with dual pentium III 1.2 GB,1 GB RAM,Raid Disk
everything configure correctly,
the problem is when i configure parallel_min_server
and parallel_max_server in init.ora file(s)
why the plan table did not get an affect , i mean's there no difference
between i use parallel query and not, but as you know the response time
is difference between parallel and no parallel,
and i run show parameter in sql*plus
parallel_max_server has been set to 8
parallel_min_server has been set to 4
but when i try this
explain plan for select count(*) from mytable;
commit;
select other_tag from plan_table
the empty row is affected,please help me , why it's happened ? may be you can help
me and show me where my fault is ?,
thank's for your time to read my email, i hope you want to answer my problem to
my email([email protected] or [email protected])
and with that step everything is ok on oracle8i(8.1.7)
yahya yanuar

We recommend that you post your question in the appropriate Database Forum. The OTN Suggestions/Feedback forum answers questions about the OTN site and other general site issues.
Best Regards, OTN Team

Similar Messages

  • Database Hung problem in Oracle9i Enterprise Edition Release 9.2.0.7.0

    Hello,
    I am using the Oracle9i Enterprise Edition Release 9.2.0.7.0. Our database suddenly get hung and we need to give a Hard reset.
    Following are errors are in listener log.
    TNS-12571: TNS:packet writer failure
    27-OCT-2008 00:33:00 * service_died * nm45 * 12571
    TNS-12571: TNS:packet writer failure
    27-OCT-2008 00:33:13 * CONNECT_DATA=(SERVICE_NAME=<Service>)(SID=NM45)(SDU=2048)(CID=(PROGRAM=<EXE>)(HOST=<Host>(USER=<User>))) * (ADDRESS=(PROTOCOL=tcp)(HOST=<IP>)(PORT=<Port>)) * establish * <DB> * 12560
    TNS-12500: TNS:listener failed to start a dedicated server process
    TNS-12537: TNS:connection closed
    TNS-12560: TNS:protocol adapter error
    TNS-00507: Connection closed
    32-bit Windows Error: 109: Unknown error
    Error in Oracle trace:
    ORACLE V9.2.0.7.0 - Production vsnsta=0
    vsnsql=12 vsnxtr=3
    Windows 2000 Version 5.2 Service Pack 1, CPU type 586
    Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.7.0 - Production
    Windows 2000 Version 5.2 Service Pack 1, CPU type 586
    Instance name: <SID>
    Redo thread mounted by this instance: 1
    Oracle process number: 30
    Windows thread id: 1172, image: ORACLE.EXE
    *** 2008-10-27 00:54:04.300
    async error encountered when answering new connection:
    NS Primary Error: TNS-12560: TNS:protocol adapter error
    *** 2008-10-27 01:14:38.175
    async error encountered when answering new connection:
    NS Primary Error: TNS-12560: TNS:protocol adapter error
    async error encountered when answering new connection:
    NS Primary Error: TNS-12560: TNS:protocol adapter error
    *** 2008-10-27 01:22:48.894
    async error encountered when answering new connection:
    NS Primary Error: TNS-12560: TNS:protocol adapter error
    async error encountered when answering new connection:
    NS Primary Error: TNS-12560: TNS:protocol adapter error
    *** 2008-10-27 01:39:21.800
    async error encountered when answering new connection:
    NS Primary Error: TNS-12560: TNS:protocol adapter error
    *** 2008-10-27 01:50:40.910
    async error encountered when answering new connection:
    NS Primary Error: TNS-12560: TNS:protocol adapter error
    *** 2008-10-27 02:39:51.285
    async error encountered when answering new connection:
    NS Primary Error: TNS-12560: TNS:protocol adapter error
    What could be the reason.
    Regards
    Hemant

    Hello Hemant,
    Thanks for the response. Following error are in sqlnet.log. We are using the static id.
    Fatal NI connect error 12560, connecting to:
    (LOCAL=NO)
    VERSION INFORMATION:
         TNS for 32-bit Windows: Version 9.2.0.7.0 - Production
         Oracle Bequeath NT Protocol Adapter for 32-bit Windows: Version 9.2.0.7.0 - Production
         Windows NT TCP/IP NT Protocol Adapter for 32-bit Windows: Version 9.2.0.7.0 - Production
    Time: 27-OCT-2008 00:33:13
    Tracing not turned on.
    Tns error struct:
    ns main err code: 12560
    TNS-12560: TNS:protocol adapter error
    ns secondary err code: 0
    nt main err code: 0
    nt secondary err code: 0
    nt OS err code: 0
    Regards
    Hemant.

  • EURO Support Oracle9i Enterprise Edition Release 9.2.0.4.0 ?

    Hi,
    Does Oracle9i Enterprise Edition Release 9.2.0.4.0 - Production support EURO?If yes, what should be the data type I need to use to store the same?
    I have tried to store the Euro character in varchar2 data type column in the above database.When i tried to retrieve the EURO sysmbol some junk character is coming out.
    I am running the Oracle on Solaris5.9 OS.
    I have set Character set(NLS_LANG) as UTF8,
    Note:I am able to store and retrive the EURO in 9.2.0.3.0 without any problem.
    Pls help in this regard,
    Thanks in advance,
    Ravi

    When run the DUMP the following is the output from both versions.I dont know how to interpret the result..
    9.2.0.4:
    DUMP(SUBJECT)
    Typ=1 Len=12: 84,101,115,116,32,69,82,79,32,32,194,172
    9.2.0.3:
    DUMP(SUBJECT)
    Typ=1 Len=19: 84,101,115,116,32,101,114,114,114,114,114,114,114,114,114,32,226,1
    30,172
    In the second case i able to insert and retrieve the EURO ,
    How to interpret the above output,is there anything wrong?
    Actually I am not using any client, however i am using Java application to access the data,
    I can assure you that Applicationis working fine with other versions of Oracle,
    Thanks,

  • Oracle9i Enterprise Edition for HP/IA64, Release 2 Install Error

    Help Me!
    Oracle9i Enterprise Edition for HP/IA64, Release 2 (v9.2.0.2)
    Install Error
    OS Version : HPUX 11.23
    Me English is insufficient.
    Until end it reads and week route it wants.
    Me the help is necessary.
    The oracle before establishing, it established the gcc and the binutil first.
    Is the different package necessary?
    Error Message(make.log)
    =============================================================
    /usr/bin/make -f ins_net_client.mk mkldflags ORACLE_HOME=/oracle/app/oracle/product/9.2.0.2
    /usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/oracle/app/oracle/product/9.2.0.2
         (if [ "compile" = "compile" ] ; then \
         /oracle/app/oracle/product/9.2.0.2/bin/gennttab > ntcontab.c ;\
         cc +DD64 -c ntcontab.c ;\
         rm -f /oracle/app/oracle/product/9.2.0.2/lib/ntcontab.o ;\
         mv ntcontab.o /oracle/app/oracle/product/9.2.0.2/lib/ ;\
         /usr/ccs/bin/ar rv /oracle/app/oracle/product/9.2.0.2/lib/libn9.a /oracle/app/oracle/product/9.2.0.2/lib/ntcontab.o ; fi)
    cc: Couldn't open the message catalog: "/opt/ansic/lib/nls/msg/C/cc.cat".
    r - /oracle/app/oracle/product/9.2.0.2/lib/ntcontab.o
    ar: file ntcontab.o is built with mismatched data abi
    Stop.
    *** Error exit code 1
    /usr/bin/make -f ins_net_client.mk ntcontab.o ORACLE_HOME=/oracle/app/oracle/product/9.2.0.2
         (if [ "compile" = "compile" ] ; then \
         /oracle/app/oracle/product/9.2.0.2/bin/gennttab > ntcontab.c ;\
         cc +DD64 -c ntcontab.c ;\
         rm -f /oracle/app/oracle/product/9.2.0.2/lib/ntcontab.o ;\
         mv ntcontab.o /oracle/app/oracle/product/9.2.0.2/lib/ ;\
         /usr/ccs/bin/ar rv /oracle/app/oracle/product/9.2.0.2/lib/libn9.a /oracle/app/oracle/product/9.2.0.2/lib/ntcontab.o ; fi)
    cc: Couldn't open the message catalog: "/opt/ansic/lib/nls/msg/C/cc.cat".
    r - /oracle/app/oracle/product/9.2.0.2/lib/ntcontab.o
    ar: file ntcontab.o is built with mismatched data abi
    *** Error exit code 1
    Stop.
    /usr/bin/make -f ins_net_client.mk nnfgt.o ORACLE_HOME =/oracle/app/oracle/product/9.2.0.2
         (if [ "compile" = "compile" ] ; then \
         /oracle/app/oracle/product/9.2.0.2/bin/gennfgt > nnfgt.c ;\
         cc +DD64 -c nnfgt.c ;\
         rm -f /oracle/app/oracle/product/9.2.0.2/lib/nnfgt.o ;\
         mv nnfgt.o /oracle/app/oracle/product/9.2.0.2/lib/ ;\
         /usr/ccs/bin/ar rv /oracle/app/oracle/product/9.2.0.2/lib/libn9.a /oracle/app/oracle/product/9.2.0.2/lib/nnfgt.o ; fi)
    cc: Couldn't open the message catalog: "/opt/ansic/lib/nls/msg/C/cc.cat".
    ar: file nnfgt.o is built with mismatched data abi
    r - /oracle/app/oracle/product/9.2.0.2/lib/nnfgt.o
    *** Error exit code 1
    =============================================================
    Error Message(InstallActions.log)
    =============================================================
    Exception String: Error in invoking target ntcontab.o of makefile /oracle/app/oracle/product/9.2.0.2/network/lib/ins_net_client.mk
    Exception Severity: 1
    Exception handling set to prompt user with options to RETRY IGNORE
    User choice : Retry
    Exception thrown from action: make
    Exception Name: MakefileException
    Exception String: Error in invoking target ntcontab.o of makefile /oracle/app/oracle/product/9.2.0.2/network/lib/ins_net_client.mk
    Exception Severity: 1
    Exception handling set to prompt user with options to RETRY IGNORE
    =============================================================

    Hi,
    I had installed Oracle 9.2 on HP-UX 11i and the configuration assistants failed to start and it showed me the same errors. Can you tell me how did u solve u r problem.
    Thanks
    Satish

  • Can Apex 4 be installed on Oracle9i Enterprise Edition Release 9.2.0.8.0 -

    Hi,
    Just wondering if its possible to installe Apex 4 on Oracle9i Enterprise Edition Release 9.2.0.8.0 - 64bit Production
    Thanks
    Aali
    Edited by: aali on 29-Jun-2010 03:14

    No. See requirements in Installation Guide:
    http://download.oracle.com/docs/cd/E17556_01/doc/install.40/e15513/pre_require.htm#BABFCFBC
    Thiis is not difficult.

  • Desupport Notice for Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit

    Hello,
    Is there a comprehensive published note from Oracle describing desupport notices for Oracle databases?
    Mainly - Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production, 10g r2 and 11g r1?
    If so, can anyone provide the link? I do have Metalink access, so a note id would also be good.
    Thanks,
    R

    Hi,
    Please see these docs.
    ALERT: Oracle9i Release 2 (9.2) Support Status and Alerts [ID 189908.1]
    ALERT: Oracle 10g Release 1 (10.1) Support Status and Alerts [ID 263719.1]
    ALERT: Oracle 10g Release 2 (10.2) Support Status and Alerts [ID 316900.1]
    ALERT: Oracle 11g Release 1 (11.1) Support Status and Alerts [ID 454507.1]
    Thanks,
    Hussein

  • Can downloaded oracle9i Enterprise Edition use Bitmap index?

    Hello there,
    I have a downloaded Oracle9i Enterprise Edition. After I create some bitmap index on a partitioned table, I use the following sql statement to check the bitmap index:
    select index_name, index_type, status from user_index;
    It tells me that all the statuses of the bitmap indexes are "N/A" (Not availabe). Does that mean I can NOT use bitmap index in this downloaded Enterprise version?
    If I must use bitmap indexes, what should I do?
    Many thanks in advance!
    -wendy

    are you creating a local index on the partitioned table?

  • Oracle9i Enterprise Edition Release 9.2.0.7 downloadable

    Hi,
    Please let me know where i can i find the downloadable for :Oracle9i Enterprise Edition Release 9.2.0.7 for linux
    Thank you,
    -Lokanath.

    Installation package could be downloaded here: http://www.oracle.com/technology/software/products/oracle9i/index.html (only 9.2.0.4 is downloadable).
    Then you need download 9.2.0.7 patchset from metalink.oracle.com (you must have paid support for access to this site)

  • Oracle9i Enterprise Edition Release 9.2.0.1.0 - OracleSessionStateStore

    Hi,
    I have the Oracle9i Enterprise Edition Release 9.2.0.1.0 version of Oracle DB installed.
    The client is an ASP.net 3.5 AJAX enabled web application using IIS (Developer m/c is XP SP3 with IIS 5.0 installed).
    I am trying to use the Oracle Provider for .NET for storing ASP.net sessions in Oracle Database.
    The ODP version that i have installed to the GAC and am using is : 11.1.0.7.20
    However, once i turn it on via web.config, i get the following error:-
    Unhandled Execution Error
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Version Information: Microsoft .NET Framework Version:2.0.50727.3603; ASP.NET Version:2.0.50727.3082
    Exception Details: Oracle.DataAccess.Client.OracleException:
    Source Error: An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.
    Stack Trace:
    [OracleException (0x80004005)]
    Oracle.DataAccess.Client.OracleException.HandleErrorHelper(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, OpoSqlValCtx* pOpoSqlValCtx, Object src, String procedure, Boolean bCheck) +2657
    Oracle.DataAccess.Client.OracleException.HandleError(Int32 errCode, OracleConnection conn, IntPtr opsErrCtx, Object src) +80
    Oracle.DataAccess.Types.OracleBlob.get_Length() +609
    Oracle.DataAccess.Types.OracleBlob.get_Value() +476
    Oracle.Web.SessionState.OracleSessionStateStore.GetSessionStoreItem(HttpContext context, String id, Boolean getExclusive, Boolean& locked, TimeSpan& lockAge, Object& lockId, SessionStateActions& actionFlags) +2395
    Oracle.Web.SessionState.OracleSessionStateStore.GetItemExclusive(HttpContext context, String id, Boolean& locked, TimeSpan& lockAge, Object& lockId, SessionStateActions& actions) +54
    System.Web.SessionState.SessionStateModule.GetSessionStateItem() +117
    System.Web.SessionState.SessionStateModule.BeginAcquireState(Object source, EventArgs e, AsyncCallback cb, Object extraData) +487
    System.Web.AsyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +66
    System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155
    Someone else has posted a similar error before but there are no responses to that thread.
    Hence i am creating a new thread for this.
    Does anyone have any clues related to this error? All suggestions welcome :-)
    Thanks!

    Hi Greg,
    WOW..i think that just might be it. That does give me something to look into instead of just tearing my hair out.
    I did read the documentation for the 11g Client components when it downloaded it from the OTN and they just had a generic statement saying that it supports 9i provided its release 2.
    I found the doc your were referring to (Doc ID 207303.1). Will try out by upgrading to a newer oracle and see if that helps!
    Thanks!
    Edited by: user8904887 on Jun 22, 2010 1:07 AM

  • Oracle9i Enterprise Edition Release 9.0.1.1.1 Data Mining  API

    Is Data Mining API contained In Oracle9i Enterprise Edition Release 9.0.1.1.1 or in release 2 only?
    Thanx

    No it is not so simple. This "le signe est sur l'avant dernier octet" means that the sign is last character in number.
    The sign "é" and "I" are just in my example and they are somehow calculated but I don't know how?
    If I take my example there is field with format S9(13)V99 and with value 00000000071049é (and with last sign "é") and I think the last sign is somehow calculated from number. And then from this value I get the number.
    00000000071049é
    FFFFFFFFFFFFFFC
    000000000710490 => +0000000007104,90
    S9999999999999V99
    Everything I try, calculating from binary to hex, or anything other, I don't get the result or the last sign and I wonder if there is some function in PL/SQL that I can use to get the result I want?
    Or if you have some idea how to help me to get from "00000000071049é" to "+0000000007104,90" from example above?
    Here are some other examples, just for help:
    000000204592D
    000000183882D
    000000139441C
    000000182979H
    000000083361F
    000000083361F
    000000083361F
    000000059033F
    000000066273E
    000000069011G
    000000102615B
    000000092362F
    000000138215‚
    000000138215‚
    000000138215‚
    000000138215‚
    000000106760C
    000000106760C
    000000106760C
    000000115024A
    000000115024A
    000000115024A
    000000115024A
    000000115024A
    000000088149B
    000000084459I

  • UNABLE TO SET parallel_automatic_tuning=TRUE IN Oracle9i Enterprise Edition

    Hi,
    i am trying to set parallel_automatic_tuning=TRUE . but i am unable to set it.
    My oracle version is as below.
    SQL> SELECT * FROM V$VERSION;
    BANNER
    Oracle9i Enterprise Edition Release 9.2.0.1.0 - Production
    PL/SQL Release 9.2.0.1.0 - Production
    CORE 9.2.0.1.0 Production
    TNS for 32-bit Windows: Version 9.2.0.1.0 - Production
    NLSRTL Version 9.2.0.1.0 - Production
    Please help to resolve this issue.
    thanks
    sivasankar.

    hi i am unable to set the value as true for parallel_automatic_tuning parameter. ,
    SQL> SHOW PARAMETER PARALLEL
    NAME TYPE VALUE
    fast_start_parallel_rollback string LOW
    log_parallelism integer 1
    parallel_adaptive_multi_user boolean TRUE
    parallel_automatic_tuning boolean FALSE
    parallel_execution_message_size integer 2148
    parallel_instance_group string
    parallel_max_servers integer 5
    parallel_min_percent integer 0
    parallel_min_servers integer 0
    parallel_server boolean FALSE
    parallel_server_instances integer 1
    NAME TYPE VALUE
    parallel_threads_per_cpu integer 2
    recovery_parallelism integer 0

  • Problem install 9i Enterprise Edition

    Hello I am installed Oracle 9i Enterprise Edition about Windows 2000 sp4. In the option 'configuration of database', i set Personality.
    In Database Creation step I get an error:
    Ora 01041 the hostdef extension does not exist and the error 0ra-24324, or the error
    'oracle not available'
    What is the problem?
    If I install Oracle 9i Enterprise Edition in the same machine and in the option 'configuration of database' I set 'USE GENERAL' I don´t have any problem.
    I need the personality option because I change some parameters and the option archive log.
    What can I do?
    Thanks a lot
    Pilar

    Did you have a previous oracle install?

  • Problem Installing Oracle Enterprise Edition 8.0.4.0

    Hi All,
    While installing Oracel Enterprise Edition 8.0.4.0 on win 2000 server. I am getting following errors.
    1. The memory could not be "read". (Application Error)
    2. Unable to delete the NT service for the SQL*Net V2 Listener.
    3. Failed to Create Windows NT service.
    Again somehow I manage to install it, It won't work fine. Everytime I run Oracle Installer or Enterprise Manager it gives me an application error.
    Pls. help me.....
    Thnks & Rgds.,
    Avinash

    Sorry, i've forgotten to tell you the version:
    I use Oracle Migration Assistant for MS Access Version 8.0.4.0.0
    Johann Horvat (guest) wrote:
    : Hello!
    : I want to migrate an Access 97 Backend MDB to Oracle 8.0.4.0
    : using the Oracle Migration Assistant. It seems that all works
    : fine, but during the last step (I think it is the last - all
    : SQL-scripts are ready at the directory: Cindex.sql, Cscd.sql,
    : ...) an error occurs while the assistent tries to create the
    : serversided functions (this is before it tries to create
    : the tables).
    : The assistent ends showing an fatal error (3265).
    : This error occurs with every *.mdb-file (even if the .mdb has
    : only one table with two simple text-fields), independant which
    : user I use.
    : What does that mean?
    : Thanks a lot
    : Johann
    null

  • XML Problems Oracle9i Enterprise Edition Release 9.2.0.7.0

    Can anyone help me with my problem!
    I am trying to import xml file into xmltype table (this is working fine), but then I want to extract data from this xmltype table but I get null from my request.
    Please I need help. I have tried some examples and it is working, so I think that I am doing something wrong or the file that I have imported is not O.K.
    Pleeeeeease help me.
    I have this XML file:
    <?xml version="1.0" ?>
    <TecKomBS xmlns="http://www.bsi.si" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bsi.si http://www.bsi.si/_data/tecajnice/TecKomBS.xsd">
    <tecajnica datum="2007-01-17" veljavnost="2007-01-18">
    <tecaj oznaka="GBP" sifra="826">
    <nakupni>0.65784</nakupni>
    <prodajni>0.65586</prodajni>
    </tecaj>
    <tecaj oznaka="CZK" sifra="203">
    <nakupni>27.910</nakupni>
    <prodajni>27.826</prodajni>
    </tecaj>
    <tecaj oznaka="NOK" sifra="578">
    <nakupni>8.3605</nakupni>
    <prodajni>8.3355</prodajni>
    </tecaj>
    </tecajnica>
    </TecKomBS>
    I have loaded this file into xmltype table:
    CREATE TABLE xml_tab (
    id NUMBER(10),
    filename VARCHAR2(100),
    xml XMLTYPE)
    For loading I have uset load_xml procedure that I've got from help file.
    And it works fine. So I have xmltype table with xml data.
    Now I need to get data from this table and I have tried this:
    SQL> select extract(xml, '/TecKomBS/tecajnica') neki from xml_tab;
    NEKI()
    SQL>
    (and I get nothing)
    and this
    SQL> select value(p)
    2 from xml_tab x
    3 , table(XMLSequence(
    4 extract(x.xml, '/TecKomBS/tecajnica/tecaj'))) p;
    no rows selected
    SQL>
    (and I got nothing)
    I would like to get data from "tecaj (sifra)" and data from "nakupni" or "prodajni" ?
    Can any one tell me what I am doing wrong, thanks?
    For help this is strusture file for xml file, if it helps
    <?xml version="1.0" ?>
    <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.bsi.si" xmlns="http://www.bsi.si" elementFormDefault="qualified">
    <xsd:simpleType name="Tsif">
    <xsd:restriction base="xsd:string">
    <xsd:length value="3" />
    <xsd:pattern value="\d{3}" />
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:simpleType name="Tozn">
    <xsd:restriction base="xsd:string">
    <xsd:length value="3" />
    <xsd:pattern value="[A-Z]{3}" />
    </xsd:restriction>
    </xsd:simpleType>
    <xsd:element name="TecKomBS">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="tecajnica" minOccurs="1" maxOccurs="1">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="tecaj" maxOccurs="unbounded">
    <xsd:complexType>
    <xsd:sequence>
    <xsd:element name="nakupni" type="xsd:decimal" />
    <xsd:element name="prodajni" type="xsd:decimal" />
    </xsd:sequence>
    <xsd:attribute name="oznaka" type="Tozn" use="required" />
    <xsd:attribute name="sifra" type="Tsif" use="required" />
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    <xsd:attribute name="datum" type="xsd:date" use="required" />
    <xsd:attribute name="veljavnost" type="xsd:date" use="required" />
    </xsd:complexType>
    </xsd:element>
    </xsd:sequence>
    </xsd:complexType>
    </xsd:element>
    </xsd:schema>
    I think that the problem is with my XPath, can anyone help me with this example ?
    THANKS .....
    Message was edited by:
    user448268

    SQL>
    SQL> var xmltext varchar2(4000)
    SQL> --
    SQL> begin
      2    :xmltext :=
      3  '<?xml version="1.0" encoding="UTF-8"?>
      4  <TecKomBS xmlns="http://www.bsi.si" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.bsi.si http://www.bsi.si
    /_data/tecajnice/TecKomBS.xsd">
      5     <tecajnica datum="2007-01-17" veljavnost="2007-01-18">
      6             <tecaj oznaka="GBP" sifra="826">
      7                     <nakupni>0.65784</nakupni>
      8                     <prodajni>0.65586</prodajni>
      9             </tecaj>
    10             <tecaj oznaka="CZK" sifra="203">
    11                     <nakupni>27.910</nakupni>
    12                     <prodajni>27.826</prodajni>
    13             </tecaj>
    14             <tecaj oznaka="NOK" sifra="578">
    15                     <nakupni>8.3605</nakupni>
    16                     <prodajni>8.3355</prodajni>
    17             </tecaj>
    18     </tecajnica>
    19  </TecKomBS>';
    20  end;
    21  /
    PL/SQL procedure successfully completed.
    SQL> column SIFRA format a20
    SQL> column NAKUPNI format a20
    SQL> column PRODAJNI format a20
    SQL> --
    SQL> select extractValue(value(t),'/tecaj/@sifra','xmlns="http://www.bsi.si" ') SIFRA,
      2         extractValue(value(t),'/tecaj/nakupni','xmlns="http://www.bsi.si" ') NAKUPNI,
      3         extractValue(value(t),'/tecaj/prodajni','xmlns="http://www.bsi.si" ') PRODAJNI
      4    from table(xmlsequence(extract(xmltype(:xmltext),'/TecKomBS/tecajnica/tecaj','xmlns="http://www.bsi.si" '))) t
      5  /
    SIFRA                NAKUPNI              PRODAJNI
    826                  0.65784              0.65586
    203                  27.910               27.826
    578                  8.3605               8.3355
    SQL>
    SQL>
    SQL>
    SQL

  • Oracle9i Enterprise Edition Release 9.2.0.7.0 - Imp. and data conv. problem

    hello,
    I have problem with importing and conversion of external data. I have data like example below:
    --------1--------2--------3--------4--------5--------6--------7----
    0000SLOVAC IMPORTYSGA SIVACYS 0509720070227
    25112007022706881952VF7FCKFVC28871406 00ACESIEUR10100000é00000000071049é
    Data in bold are numbers with last character that is calculated like the example below.
    First number format is S9(2)V999999 -> 0100000é le signe est sur l'avant dernier octet C(+) D(-)
    Example 1, en hexa :
    0100000é => +01,000000
    FFFFFFFC S99V999999
    01000000
    Second number format is S9(13)V99 -> 00000000071049é
    Example 2, en hexa
    00000000071049é
    FFFFFFFFFFFFFFC
    000000000710490 => +0000000007104,90
    S9999999999999V99
    other example:
    example 00ACESIEUR10100000é00000000087498I
    en hexa:
    00000000087498I
    FFFFFFFFFFFFFFC
    000000000874989 => +0000000008749,89
    S9999999999999V99
    I need help with creating a function that will transform from "00000000087498I" to real number like "+0000000008749,89", but I really don't know how to do that.
    Can anyone help me with my problem or explain to me how to do that?
    Thanks for your time and best regards

    No it is not so simple. This "le signe est sur l'avant dernier octet" means that the sign is last character in number.
    The sign "é" and "I" are just in my example and they are somehow calculated but I don't know how?
    If I take my example there is field with format S9(13)V99 and with value 00000000071049é (and with last sign "é") and I think the last sign is somehow calculated from number. And then from this value I get the number.
    00000000071049é
    FFFFFFFFFFFFFFC
    000000000710490 => +0000000007104,90
    S9999999999999V99
    Everything I try, calculating from binary to hex, or anything other, I don't get the result or the last sign and I wonder if there is some function in PL/SQL that I can use to get the result I want?
    Or if you have some idea how to help me to get from "00000000071049é" to "+0000000007104,90" from example above?
    Here are some other examples, just for help:
    000000204592D
    000000183882D
    000000139441C
    000000182979H
    000000083361F
    000000083361F
    000000083361F
    000000059033F
    000000066273E
    000000069011G
    000000102615B
    000000092362F
    000000138215‚
    000000138215‚
    000000138215‚
    000000138215‚
    000000106760C
    000000106760C
    000000106760C
    000000115024A
    000000115024A
    000000115024A
    000000115024A
    000000115024A
    000000088149B
    000000084459I

Maybe you are looking for

  • IaStor Event ID 9 error with T420s and OCZ-Agilit​y3

    Hello, I need your help, as I've been battling this issue for the last 3 days and I'm extremely frustrated. I'm running a Lenovo T420s (4170CTO) and replaced the IDE HD with a SSD OCZ-Agility3. I am getting iaStor Event ID9 error in my system event

  • Tool-tip text for Selection screen buttons.

    Hi all, Got another requirement and need your help. I have a user-defined selection screen in my program. I would like to know if it is possible to have a tool-tip text ( quick info ) for the Pushbuttons on this selection screen. Any help is apprecia

  • Can I use the Export express as a wireless client?

    I live in the proximity of a free open wireless network and I would like to have my Airport Express act as a wireless client (i.e., pick up the wireless signal) and then pass it via Ethernet to a computer that does NOT have a wireless card. I configu

  • Lifting a photo off of a word doc, placing in iPhoto.

    With my PC, I would make albums using Word. I would scan a photo to the Word doc and place it among text. Now, with my new Apple, I wish to take some of those photos and get them into iPhoto. I have transferred the Word doc from the PC to my mac. I h

  • Autofill always choosing the same songs ? (Itunes 9)

    Hi, I'm the happy owner of a 2G iPod nano (first generation) that I was given a few weeks ago. I'm using it together with iTunes 9.0.1 on my mac, and I have a question about the autofill feature. Is it normal that autofill always chooses the same son