where's my linstener.ora

Hi all

Ora10g

SLES 11

I installed my oracle db with gui and successfully completed. I can start lsnrctl start. But I can't find lisntener.ora in my folder/admin network :(
Where he hides the default listener?

Thank you very much

Yxz

yxes2013 wrote:
Thank you my dear :)

Given that the V10, each DB tries to join the listener using port #1521 once every 60 seconds.

I'm not used to linsteners without listener.ora :( It seems I'm crawling in the 'black '.

In windows, I always create listener.ora using netca. even in 11 GR 2.

What happens if I install a higher version of db? as 11 GR 2? Is my data base still attached to an earpiece under 10 g?

Thanksssssss

When multiple versions of the Oracle software to support multiple DBs
then start a single listener using the latest version of Oracle and each DB will register for this listener.

Tags: Database

Similar Questions

  • Binds a parameter in WHERE clause throws error (ORA-00920)

    Good day to you all.  Hope everything goes well.

    Ok.  Here's the deal.  I am trying to bind a parameter in a where clause clause, but I continue to get the error invalid relational operator (ORA-00920).  It seems as if Oracle is looking for a correct syntax before you pass the variable (bind value).

    For example:

    SELECT LAST_NAME, FIRST_NAME FROM MYTABLE
    WHERE OBSOLETE IS NULL
    and :P_MY_BIND_VALUE
    

    What is the right way to get around this?

    Thanks for all your help!

    AquaNX4 wrote:

    Thank you for the reply.

    I use simple SQL.  The variable binding will be used in the APEX and an item that is based on a LOV with where condition stored there.  Make sense?

    Logic you want... doesn't have a sense of how you try to do.

    Bind variables are for the passage of the 'values' to a question, only not for the passage of the SQL statements or sections of objects such as the names of tables etc.  It is not a substitution string such as the use of '&' in SQL * more and should not be treated this way.

    If you could provide more details on exactly what you're trying to do (some data would help) then perhaps we could tell how best to go about this.

  • Implementation of subqueries in the WHERE clause

    Hi all

    First of all, here are the technical info:

    Oracle JDeveloper 12 c 12.1.3.0.0

    Studio Edition Version 12.1.3.0.0

    Build JDEVADF_12.1.3.0.0_GENERIC_140521.1008.S

    Version of the component

    ========= =======

    Oracle IDE 12.1.3.0.41.140521.1008

    Java (TM) Platform 1.7.0_51

    Support versioning 12.1.3.0.41.140521.1008

    Secondly, the issue I'm facing is I'm trying to implement a query with three sous-sélections them in the (see image below) WHERE clause. I don't know what is the best way to implement something like this.

    I have implemented this by creating a display object and add a view criteria. I put the whole SQL fragment in the view as a literal value criteria. Is there a better (or best?) approach to implement something like this?

    This implementation is a problem is because as well as query tests out fine when I click on explain Plan even recognized that there is no bind variables in subqueries and allows me to.

    When I run this test by the tester of AM, that it fails to recognize and define the binding (projCategory) variable that appears only in subqueries. All your comments and/or help is very appreciated.

    Query.JPG

    Thank you

    Vladimir

    Vladimir, there is something wrong in the view Definition of criteria dialog box. The button "explain plan...". "running the whole statement generated (as a string) and returns the result. The entire statement is valid and returns the correct result. However, the view criteria, when it is running in the application work differently. Here the literal that you entered is not passed as a string, but the framework does something internally with her (it is necessary to do things as in the research of memory and other things). If you run the criteria to view in the app Tester I get

    SQL error in the preparation of the statement.  Instruction: SELECT Employees.EMPLOYEE_ID, Employees.FIRST_NAME, Employees.LAST_NAME, Employees.EMAIL, Employees.PHONE_NUMBER, Employees.HIRE_DATE, Employees.JOB_ID, Employees.SALARY, Employees.COMMISSION_PCT, Employees.MANAGER_ID, Employees.DEPARTMENT_ID from employees WHERE (((Employees.SALARY< :vc_temp_1="" )="" )="" )="" ):="" ora-01722:="" invalid="">

    Accordingly, for the display criteria

    employes.salaire< (select="" max(e2.salary)="" from="" employees="" e2="" where="" e2.department_id="">

    As you can see the literal is passed as: vc_temp_1 and my binding variable is not visible at all. You can open an SR and ask for the support of working on it. I guess that they do not see a bug here as help for the dialog box says:

    Literal

    Select when you want to provide a value for the attribute, or when you want to set a default value for a lookup field specified by the user for a search query-by-example form.

    When the criteria of view defines a search query for the user interface form, you can leave the field blank. In this case, the user will provide the value. Alternatively, you can provide a value that will act as a default value to the field search that the user will be able to substitute. This entry can include wildcards * or %.

    When the attribute is of type Date, specify the value of the date in the format YYYY-MM-DD; for example, to December 16, 2010, enter 2010-12-16.

    Here, it tells you that a value is expected. Your sub query is not interpreted, but is simply converted to the appropriate data type. In my example, I get an invalid number as expected.

    So I guess my suggestion to use a custom sql statement stands.

    Timo

  • ORA-00942 on sys when SELECT table_name FROM all_tables;  11rg2 (answered)

    I run SQLPLUS on windows and use sqlplus.
    Conn sys as sysdba. Fine
    Then, I want to see the tables under sysdba
    I create the table and I can do SELECT * from table. SQL watch me release.
    But I can't see tables
    SELECT table_name FROM user_tables;
    SELECT table_name FROM all_tables;
    SELECT table_name FROM dba_tables;
    SELECT * from user_objects where type_objet = "TABLE";

    SQLPLUS:ORA - 00942: table or view does not exist.

    How to fix it?
    I created earlier DB and could do that, but I want to repair this database.

    And he had problems with db mynewdb1, may be corrupt

    recover database until cancel using backup controlfile;
    ORA - 279 marked during: ALTER DATABASE RECOVER database until cancel using backup controlfile...
    ALTER DATABASE RECOVER CONTINUE DEFAULT
    C:\APP\STR\FLASH_RECOVERY_AREA\MYNEWDB1\ARCHIVELOG\2013_05_10\O1_MF_1_1_%U_ media recovery log. ARC
    Friday 10 May 21:06:30 2013
    Errors with log C:\APP\STR\FLASH_RECOVERY_AREA\MYNEWDB1\ARCHIVELOG\2013_05_10\O1_MF_1_1_%U_. ARC
    Errors in the C:\APP\STR\diag\rdbms\mynewdb1\mynewdb1\trace\mynewdb1_pr00_9920.trc file:
    ORA-00308: cannot open archived log ' C:\APP\STR\FLASH_RECOVERY_AREA\MYNEWDB1\ARCHIVELOG\2013_05_10\O1_MF_1_1_%U_. ARC'
    ORA-27041: could not open the file
    04002 - OSD: could not open the file
    S/O-error: (OS 2) the system cannot find the file specified.
    ORA - 308 marked during: ALTER DATABASE RECOVER CONTINUE DEFAULT...





    CREATE CONTROLFILE REUSE DATABASE RESETLOGS MYNEWDB1
    WARNING: Temporary Tablespace default not specified in the CREATE DATABASE command
    Default temporary tablespace will be necessary for a locally managed database in future release
    Errors in the C:\APP\STR\diag\rdbms\mynewdb1\mynewdb1\trace\mynewdb1_ora_8588.trc file:
    ORA-01565: error to identify the file ' % ORACLE_HOME%\DATABASE\DBS1%ORACLE_SID%. ORA'
    ORA-27041: could not open the file
    04002 - OSD: could not open the file
    S/O-error: (OS 2) the system cannot find the file specified.
    ORA-1503 scored at the course: CREATE CONTROLFILE REUSE DATABASE RESETLOGS MYNEWDB1...

    Published by: 1005307 on 10.05.2013 18:08

    Hello

    Welcome to the forums!

    What you showed us, I guess that you have created the database manually using the CREATE DATABASE command?

    If so, did you run CATPROC.sql and CATALOG.sql correctly? It seems that your problem is related to these scripts, because they are responsible for creating the tables and the data dictionary views.

    Have you run them with SYS schema?

  • Change default file ora initsid locatiton

    Hello
    I installed Oracle 10 G (Express Edition) on my Windows XP. The installation program itself refused to create and start the Oracle database and services, so I created my database manually. After you create the database, I had great difficulty with the famous "Oracle is not available" and errors "domain there is no shared memory". Sometimes, I noticed that, while trying to start the cmd OracleService XE, I received an error message indicating that it cannot open the initXE.ora file located in % ORACLE_HOME%\Database. But before creting my database I created the necessary folders (bdump, cdump, pfile etc.) and put them in the folder % ORACLE_BASE%\app\oracle\admin\XE. And the file initXE.ora in the folder pfile. Now, whenever I start the service, it seems that he links to read the initXE.ora file that is located not in the pfile file folder but in the database folder. %ORACLE_HOME%\Database is the default location where Oracle research < sid > init .ora file. How can I change this location so that each database has its own location of its initialization file. I looked at the register but couldn't find that anything related to init.ora file.

    Mikhail says:
    Hello
    I installed Oracle 10 G (Express Edition) on my Windows XP. The installation program itself refused to create and start the Oracle database and services, so I created my database manually. After you create the database, I had great difficulty with the famous "Oracle is not available" and errors "domain there is no shared memory". Sometimes, I noticed that, while trying to start the cmd OracleService XE, I received an error message indicating that it cannot open the initXE.ora file located in % ORACLE_HOME%\Database. But before creting my database I created the necessary folders (bdump, cdump, pfile etc.) and put them in the folder % ORACLE_BASE%\app\oracle\admin\XE. And the file initXE.ora in the folder pfile. Now, whenever I start the service, it seems that he links to read the initXE.ora file that is located not in the pfile file folder but in the database folder. %ORACLE_HOME%\Database is the default location where Oracle seeksinit .ora file. How can I change this location so that each database has its own location of its initialization file. I looked at the register but couldn't find that anything related to init.ora file.

    Specific to windows, you can change the regedit for oracle parameters, you can see PFILE location option, you can mention if any other place as % ORACLE_HOM%/database.

    As far as I KNOW, you can change the service oracle under windows.
    C:\ > oradim-edit - sid - pfile<>

  • Why alias used in the clause select is not identified in Clasuse where?

    Hello
    It's my request. A simple. But it is giving error:
    SELECT T_EMP.ID EMP_ID,T_EMP.NAME EMP_NAME,DF.ID DATE_ID,DF.DT DATE_DT FROM EMP T_EMP,DATEFETC DF WHERE EMP_NAME='abc1';
    ORA-00904: "EMP_NAME": invalid identifier.
    Please explain to me why this alias used in the select clause is not identified in where clause?

    Published by: bootstrap on August 16, 2011 22:57

    Where the provision is applied first to determine if the line fits criteria. Only if this is the case, select list expressions are calculated. This is why select expression list aliases are not allowed in the where clause. Now, command by after selection list is calculated, so you can use aliases expression list in the order of.

    SY.

  • DataGuard Configuration problem / ORA-16047

    So last night I decided to set up a test of physical database paused. I had everything working properly and when I started to play with the Data Guard Broker I started having a few problems. Now I can't get the logs to be shipped from the primary to the day before.

    Version: Primary and Standby
    BANNER
    --------------------------------------------------------------------------------
    Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
    PL/SQL Release 11.2.0.1.0 - Production
    CORE    11.2.0.1.0    Production
    TNS for Linux: Version 11.2.0.1.0 - Production
    NLSRTL Version 11.2.0.1.0 - Production
    OS: Primary and Standby
    [oracle@dgdb0 trace]$ uname -a
    Linux dgdb0.localdomain 2.6.32-100.28.5.el6.x86_64 #1 SMP Wed Feb 2 18:40:23 EST 2011 x86_64 x86_64 x86_64 GNU/Linux
    First of all, I noticed a problem with a gap in the sequence numbers.

    Standby
    SQL> SELECT sequence#, applied from v$archived_log order by sequence#;
    
     SEQUENCE# APPLIED
    ---------- ---------
         8 YES
         9 YES
        10 YES
        11 YES
        12 YES
        13 YES
        14 YES
    
    7 rows selected.
    Primary
    SQL> archive log list;
    Database log mode           Archive Mode
    Automatic archival           Enabled
    Archive destination           USE_DB_RECOVERY_FILE_DEST
    Oldest online log sequence     37
    Next log sequence to archive   39
    Current log sequence           39
    Here are the configuration on the primary information:
    SQL> show parameter db_name
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    db_name                  string     dgdb0
    SQL> show parameter db_unique_name
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    db_unique_name                 string     dgdb0
    SQL> show parameter log_archive_config
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    log_archive_config             string     dg_config=(dgdb0,dgdb1)
    SQL> show parameter log_archive_dest_2
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    log_archive_dest_2             string     service=dgdb1 async valid_for=
                             (online_logfile,primary_role)
                             db_unique_name=dgdb1
    Sleep settings
    SQL> show parameter db_name
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    db_name                  string     dgdb0
    SQL> show parameter db_unique_name
    
    NAME                     TYPE     VALUE
    ------------------------------------ ----------- ------------------------------
    db_unique_name                 string     dgdb1
    So I proceeded to run this query:
    SQL> SELECT error from v$archive_dest WHERE dest_name='LOG_ARCHIVE_DEST_2';
    
    ERROR
    -----------------------------------------------------------------
    ORA-16047: DGID mismatch between destination setting and target
    database
    The error description is:
    Cause:       The DB_UNIQUE_NAME specified for the destination does not match the DB_UNIQUE_NAME at the destination.
    Action:     Make sure the DB_UNIQUE_NAME specified in the LOG_ARCHIVE_DEST_n parameter defined for the destination matches the DB_UNIQUE_NAME parameter defined at the destination.
    As you can see above the DB_UNIQUE_NAME in the parameter LOG_ARCHIVE_DEST_2 to match that of the database pending.

    Also DG_BROKER_START is false on the back-end databases and relief.

    Finally, I deleted all the files DRC * the directory $ORACLE_HOME/dbs on primary servers and intelligence to make sure that the broker is not configured.

    Where am I wrong? How can I get the standby caught up and working properly again?

    I apologized if I missed something. I'm relatively new to databases in waiting.

    Centinul;

    I noticed a few things

    1. If you run the query below the sleep mode, you will probably always get the results you've posted

    SELECT sequence #, applied to the order of v$ archived_log by sequence #.

    What to do if run it from primary school and I add the "DEST_ID" column to the query.

    2. you may have more luck finding GAPS using these queries:

    Select max(sequence#) from v$ archived_log in case of application = 'YES ';

    Choose the process, status from v$ managed_standby;

    SELECT * FROM V$ ARCHIVE_GAP;

    3. you mix SQL result with data broker, which can bite you. You don't know where you went wrong, but I would create PFILE file versions before trying to broker data at both ends. You can view each setting and avoid problems before adding the data broker. Data broker will take control and you can even find that it adds entries to your settings file.

    The ORA-16047 is probably related database parameter and that should help at least answer the question. For example you might miss log_archive_config on the standby or soething. In comparing the two PFILE should refine this

    I checked my notes from data broker, but did not find an ORA-16047, ORA-01031, ORA-16675, ORA-12514 and ORA-16608, I managed.

    For me I decided it was a good idea to run Data Guard without data broker at first, until I got the impression using SQL.

    Finally if you have not already consider the purchase of Larry 'Oracle Data Guard 11g Handbook' Carpenter IMHO its worth every penny and more.

    Best regards

    mseberg

  • Error in the generator of the ApEx 4 on Edit Page of the article: ORA-06502

    Hello

    We took 4 ApEx (patch 4.0.1.00.03), and have a problem in a single application, where appears the error ORA-06502 character string buffer too small.) This error at bottom of the page this article Page. In addition, point editing the page "settings" section is left blank, so I can't change any settings. It also gives me wrong when creating new items, so I have to copy existing elements and change them from place. This worked until recently, when the mistake is now also displayed in the application itself, and not only in the constructor. This is a page with a tabular presentation and some elements of search filter. After having fill the filter and click on a search button, the error message and tables is not rendered. This happens from time to time, and the 'solution' is to disconnect and return to the application. I'm not 100% sure, but I guess that's the same problem as the error appearing in the report generator. It is certainly not caused by user data.

    So far, I found this:

    While developing the application, we regularly put the generator of the ApEx between French and English. I read that it was a cause of ORA-06502, but that this problem has been resolved in version 4.0.1.00.03. Our problem may still be linked to the multilingual constructor?

    I ask this because we are running other applications in the same environment, ApEx, and they are all very good. So somehow this error in Report Designer is related to this particular application.

    Any ideas?

    Thanks in advance!

    Hello

    (1) no longer this error occurs if you export your application and install it on apex.oracle.com which has 4.0.2?
    (2) do you use point type plug-ins in your application. In 4.0.1 there was a mistake in the generator if too many when installed in this application. Reduce the number of plug-ins type point or better to install 4.0.2.00.07

    Concerning
    Patrick
    -----------
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • RAISE_APPLICATION_ERROR gets ORA-06502 when a Message is of 198 characters or more

    Hello

    I see a problem in our 10.2.0.4 database where RAISE_APPLICATION_ERROR Gets an ORA-06502: PL/SQL: digital or value error: error string too small buffer when a value of 198 characters or more are passed in the msg parameter. The anonymous block below is an example of when the error occurs.


    DECLARE

    lv_error_msg VARCHAR2 (4000): = NULL;

    BEGIN
    -198 tank DOES NOT work.
    lv_error_msg: = LPAD('$',198,'$');

    IF (lv_error_msg IS NOT NULL) THEN
    RAISE_APPLICATION_ERROR(-20100,lv_error_msg);
    END IF;

    END;

    It's just a demo simple to show more or less happens in an application and not the exact code used in the application. Does anyone know why this would throw the ORA-06502 during the passage of 198 characters or more? I should be able to convey much more than that.

    Thanks for any idea!

    Mike

    user2486268 wrote:
    SQL > midd_dba.mc_sysevent desc;

    Here's the answer:

    ORA_SERVER_ERROR_MSG VARCHAR2 (200 CHAR)

    Look at this part of the trigger:

    FOR i IN 1..v_rec.ora_server_error_depth LOOP
    midd_dba.mc_widgets.string_together(v_rec.ora_server_error_msg,ora_server_error_msg(i));
    END LOOP get_errors;
    

    Another potential place causing the error is:

    ORA_SERVER_ERROR_PARAM VARCHAR2 (200 CHAR)

    a code he fill:

    FOR i IN 1..v_rec.ora_server_error_num_params LOOP
    v_rec.ora_server_error_param:=v_rec.ora_server_error_param||i||'='||ora_server_error_param(1,i)||' ';
    END LOOP get_parms;
    

    SY.

  • ORA-22950: cannot ORDER objects without map or ORDER method

    I have an example type below that I use in a stored below proc:-J' use this bulk collect in and use in other procs. The problem is that when I call the stored proc I get an error: ORA-22950: cannot ORDER objects without map or ORDER method. I use UNION ALL and this problem is avoided, but I don't know how to implement a method of CONTROL. All I have to do is basically be given the ability to union in procs stored using this type. Can anyone help, I am quite new to this and struggling with why this is necessary when the 2 items I use the Union on both are the same with all the parameters in the correct order? Any help will be great. I can't seem to find a good example of how I have this issue.

    -------------------------- TYPE ----------------------------------------

    create or replace the customer TYPE AS OBJECT, I have a kind of table of this type also.

    (

    CusNumber NUMBER,

    CusName NVARCHAR2 (100),

    CusAddress NVARCHAR2 (100),

    );

    Not all shown just showing my problem

    out_rec customer_TableType;

    SELECT client (CusNumber, CusName, CusAddress)
    LOOSE COLLECTION out_rec
    OF customerTable
    UNION
    SELECT client (SupNumber, SupName, SupAddress)
    THE PROVIDER
    WHERE (SupNumber = JNombre):

    Error: ORA-22950: cannot ORDER objects without map or ORDER method


    ??????

    Hello

    Your code works for me, exactly as displayed.
    Are you sure that's what you're running?

    The following has nothing to do with the problem:
    I give it a more descriptive name to the map member function: getCustomerNumber, perhaps.

  • in the dynamic chain of the clause

    Select all_group_id in the iolm_subelementgrp where type = "connect";

    ALL_GROUP_ID

    -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

    3,4,5

    requirement:

    Select * from iolm_linkthresholdgrp

    where group_id in (3,4,5);  -How can I put values 'to' article like this dynamically, which is a discount on top of SQL?

    Select * from iolm_linkthresholdgrp

    where group_id in (select all_group_id in the iolm_subelementgrp where type = 'Connect');

    ORA-01722: invalid number

    01722 00000 - "invalid number."

    * Cause:

    * Action:

    Happy!

    Select regexp_substr('1,20,300','[^,]+',1,level)

    of the double

    connect by level<=>

    First see how it works!

    It should work-

    Select *.

    of iolm_linkthresholdgrp

    where group_id in)

    Select regexp_substr(all_group_id,'[^,]+',1,level)

    of iolm_subelementgrp

    When type = "sign in".

    connect by level<=>

    );

    I hope this helps!

  • I'm writing sql that uses the value of a form element to calculate the value in the element anothet.

    Hi, I have a form that contains a single reference, name of the partner and three values. I am trying to add a new element that adds the three values based on the ID and displays the result.

    It's the sql which I use and it works if I type in a value for the ID fix, but when I replace it with 'P5_ID' I get the error below when the form is used. I can save the changes to the page OK.

    I would appreciate help with this.

    Thank you

    Steve

    Select

    ("Data_PSDM_Fcst". "' Month1_Act ' + 'Data_PSDM_Fcst '. "' Month2_Act ' + 'Data_PSDM_Fcst '. (' "Month3_Act") as "QT4.

    of 'Data_PSDM_Fcst' 'Data_PSDM_Fcst '.

    WHERE ID = P5_ID

    ORA-00904: "P5_ID": invalid identifier

    SteveKerry-Oracle wrote:

    Hi, I have a form that contains a single reference, name of the partner and three values. I am trying to add a new element that adds the three values based on the ID and displays the result.

    It's the sql which I use and it works if I type in a value for the ID fix, but when I replace it with 'P5_ID' I get the error below when the form is used. I can save the changes to the page OK.

    I would appreciate help with this.

    Thank you

    Steve

    Select

    ("Data_PSDM_Fcst". "' Month1_Act ' + 'Data_PSDM_Fcst '. "' Month2_Act ' + 'Data_PSDM_Fcst '. (' "Month3_Act") as "QT4.

    of 'Data_PSDM_Fcst' 'Data_PSDM_Fcst '.

    WHERE ID = P5_ID

    ORA-00904: "P5_ID": invalid identifier

    To use a value of element in SQL or PL/SQL of APEX block, use a reference variable to bind that precede the name of the element of the colon ("": "):

    select
        ("Data_PSDM_Fcst"."Month1_Act" + "Data_PSDM_Fcst"."Month2_Act" +"Data_PSDM_Fcst"."Month3_Act") as "QT4"
    from "Data_PSDM_Fcst" "Data_PSDM_Fcst"
    Where ID = :P5_ID
    

    I also highly recommend that you stop what you are doing now, remove all database objects that were created with identifiers respecting case-sensitive and re-create them according to standard practical Oracle so that they are case-sensitive. By the database SQL language reference:

    Note:

    Oracle does not recommend the use of identifiers in quotes for the names of database objects. These city identifiers are accepted by SQL * Plus, but they may not be valid when using other tools that manage database objects.

    Names of objects sensitive to case and between quotes identifiers will only cause confusion and error.

  • Unpacking error when you try to use UTL_COMPRESS. LZ_UNCOMPRESS to get the text XML 'payload' of a BLOB field

    Hi, really appreciate any pointers anyone may have with what I'm trying to do here... the crux of the matter, I have is the following:

    * Try to get the contents of a BLOB column directly in PL/SQL, zipped/compressed

    Uncompressed data are XML... below is an example quite pinked...

    <? XML version = "1.0"? >

    <! DOCTYPE TaskConfiguration >

    < TaskConfiguration >

    < MapKeySet >

    < macro keyboard Type = 'C' >

    namespace < Key > < / key >

    < value > B_O_BrokerChks < / value >

    < / macro keyboard >

    < / MapKeySet >

    < / TaskConfiguration >

    * I learned the information in the table of these pages & used all_directories + a pirated version of proc WRITEBLOBTOFILE (also from here) to get this data in a zip file. That worked fine and I can open the file that results with 7 - zip or explore (how I got the sample above)

    * I tried a few tweaks to the functions provided here to try to get the data directly into the pl/sql (ideally I would like to be able to enter in a type of XMLTYPE data & query only). However, that's where I'm struggling

    * I get the same error as I do with this 1-liner

    SELECT UTL_COMPRESS. LZ_UNCOMPRESS (XML) FROM FooBooBazVendorTab where REFERENCE_ID = 19834

    ORA-29294: A data error occurred during compression or decompression.

    ORA-06512: at "SYS." UTL_SYS_COMPRESS", line 56

    ORA-06512: at "SYS." UTL_SYS_COMPRESS', line 226

    ORA-06512: at "SYS." UTL_COMPRESS", line 89

    29294 00000 - "a data error occurred during compression or decompression."

    * Cause: An error occurred during compression or decompression input source.

    * Action: Verify that the source data is a set of data compressed or invalid.

    Info * @desc to the col de BLOB XML is as follows

    * I also read a ' UTL_COMPRESS. LZ_UNCOMPRESS cannot process the file gzip with FCOMMENT' thread here and I tried the potential workaround here who is trying to manipulate the content of the blob to remove the FCOMMENT... but nothing helps. I must say that I am not sure that it's actually my problem.

    Details on the Zip file I can glean from 7 - Zip are as follows...

    * Any ideas please? (If Oracle decompress may have a problem handling the XML data itself... with my way of thinking on the FCOMMENT being a bit of a furphy?)

    * Don't know if the zip file hexview can help, but just in case where is >

    I would be very grateful for any help you might be able to give me this.

    Rgds Neil

    UTL_COMPRESS use of LZ compression, which is a version less compression compared to normal ZIP files (that use LZW, often with additional ' Deflate' or other methods).

    Anton Scheffer (member of the these for one) wrote a package to compress and decompress found related to this article on his blog:

    Analysis of a Microsoft Word docx and unpack zipfiles, PL/SQL - Blog of AMIS

  • How to remove hierarchical data?

    Hello

    I have a table with hierarchical data. I want to remove the data based on a condition, but maybe that this condition is present only in the upper hierarchy.

    In my example, I have identified by id lines and a changed_by containing the id of the row that has replaced (invalidated) this line. Of these, I want to delete data where descr in end-nodes is 'A '.

    Oracle Database 11 g Enterprise Edition Release 11.2.0.2.0 - 64 bit Production

    DROP TABLE test_del;
    CREATE TABLE test_del)
    CONSTRAINT pk_del PRIMARY KEY (id)
    id NUMBER
    changed_by NUMBER
    CONSTRAINT fk_del
    REFERENCES test_del (id)
    , descr VARCHAR2 (10)
    )
    /
    INSERT INTO test_del (id, changed_by, descr)
    VALUES (3, NULL, 'A');
    INSERT INTO test_del (id, changed_by, descr)
    VALUES (2,3, 'A');
    INSERT INTO test_del (ID, changed_by, descr)
    VALUES (1, 2, NULL);

    INSERT INTO test_del (id, changed_by, descr)
    VALUES (6, NULL, 'A');
    INSERT INTO test_del (id, changed_by, descr)
    VALUES (5.6, 'A');

    INSERT INTO test_del (id, changed_by, descr)
    VALUES (10, 'B', NULL);
    INSERT INTO test_del (id, changed_by, descr)
    VALUES (9, 10, 'B');
    INSERT INTO test_del (id, changed_by, descr)
    VALUES (8,9, 'B');
    COMMIT;

    SELECT *.
    OF test_del
    CONNECT BY PRIOR ID = changed_by
    START WITH descr = 'A' changed_by AND IS NULL;

    ID CHANGED_BY DESCR
    ---------- ---------- ----------
    3            A
    2 3
    1          2
    6            A
    3 p

    DELETE FROM test_del WHERE the descr = "A";
    ORA-02292: integrity constraint (FE. FK_DEL) violated - book of the foundling

    Of course, I get ORA-02292 in this case, but how can I write a correct statement that deletes the data displayed by the select?

    Concerning

    Marcus

    You must follow the hierarchy:

    DELETE FROM test_del

    WHERE ROWID IN)

    SELECT THE ROWID

    OF test_del

    CONNECT BY PRIOR ID = changed_by

    START WITH descr = "A".

    AND changed_by IS NULL);

  • Syntax of XQuery OK in 11R2, but works only not in 10R2

    I am new to XQuery and I am struggling a little with her, I wrote an insert in our environment 11R2 and when he was deployed in customer 10R2 environment throws an error:
    select x.stmt
    from source_table vdx1
    ,    xmltable(xmlnamespaces(default 'urn:iso:std:iso:20022:tech:xsd:camt.053.001.02')
                  ,'for $i in /Document/BkToCstmrStmt/Stmt where $i/Bal/Amt/@Ccy = $ccy return $i'
                  passing vdx1.content
                  , cast(l_ccy_code as varchar2(3)) as "ccy"
                  columns Stmt xmltype path '/*'
                 ) x
    where vdx1.id = l_vdx_id
    
    ORA-00932: inconsistent datatypes: expected - got CHAR
    The problem lies in the line with "cast", I have basically that data when the value of /Bal/Amt/@Ccy is equal to a certain value that is stored in the variable l_ccy_code. This value varies, so I can just hardcode it.

    Is there a way to write this select statement that would be correct for 10R2 environments both 11R2? Is there a better way to write the XQuery for my case, that's what I came up with, but because of my lack of experience with XQuery, it would not be the best solution?

    10.2, the PASSAGE clause allows only XMLType datatype.

    If you pass simple scalar values as in your example, you can use this workaround:

    select x.stmt
    from source_table vdx1
    ,    xmltable(xmlnamespaces(default 'urn:iso:std:iso:20022:tech:xsd:camt.053.001.02')
                  ,'for $i in /Document/BkToCstmrStmt/Stmt where $i/Bal/Amt/@Ccy = $ccy return $i'
                  passing vdx1.content
                  , sys_xmlgen(l_ccy_code) as "ccy"
                  columns Stmt xmltype path '.'
                 ) x
    where vdx1.id = l_vdx_id
    

Maybe you are looking for

  • When the problems with flash will be in fire fox?

    100 times a day I have to click on the buttons to content flash is visible on Web pages due to this inconvenience, I started to look at other browsers, chrome allows for example to play flash without obctacles

  • I format my PC before formatting, I synced my story by firefox sync. How to bring it on newly installed PC?

    I had my laptop windows marker 8, but before formatting, I synced all my browsing history using firefox sync. Now, I reinstalled firefox on this computer. I want to know how can I bring back my history of servers in sync. I have my recovery with me.

  • How can I download Aperture 3.6?

    I just moved to 10.11.3 10.8 and want to continue using Aperture. My current version (3.4.5) will not work. How to make a copy of 3.6 without paying $80?

  • Problem with the Toshiba bluetooth stack

    Hello, I'm having a problem with toshiba bluetooth stack. I had windows vista installed in my laptop. I decided to upgrade to Windows 7. I got a bluetooth mouse attached to my toshiba bluetooth stack in windows vista. After the upgrade to windows 7 m

  • Extension video Clip in the Timeline

    MBP Yosemite iMovie: 10.1.1 Why it sends me in trouble? It's simple. I imported a 30 minute video in my area of projects. I just want to take all of the video in my calendar. I note the entire clip, but when I drag in the timeline, it spread like the