ORA-22285 Loadclobfromfile and definer rights

I've create a directory D in schema A.
Schema A has read permissions on the directory.
Created a stored procedure X that reads a clob from a file in this directory.
Running the procedure as user A works ok.
Granted execute rights on procedure X to user B
When user B tries to run procedure X I get error: ORA-22285: non-existent directory or file for FILEOPEN operation.
It turns out I have to grant B read permission on the directory D.
I don't understand why this is necessary. Procedure X runs with definer rights by default.
Maybe someone can shed a bit of light on this ?

// ACEs where r u ?!Oh don't Re: Needs another simple fix ! (Its been over 24hrs, nobody tried! Strange) Alex, I thought you were one of the good guys.
Anyway, I expect a lot of the Aces are in the air right now, heading for 'Frisco.
To your question:
which one of the two above is the best one?It depends. Is John a developer or a user? If John is a developer then the DBA should grant him privileges explicitly. If John is a user then it is appropriate to use a role for his privileges and thus use the AUTHID CURRENT_USER approach.
Note, I think this example is flawed because I would not expect a user to have a procedure which dynamically creates a table. Certainly I wouldn't expect John as a user to be creating procedures or to know about invoker rights. But the same model applies if the privilege is say SELECT access on another user's tables.
the question that emerges is why do we have roles anyway if we can't truly rely on them (?)In my view ROLES are intended for managing users rather than developers. Generally I think this means granting table privileges to roles but not system privileges (although CREATE SESSION is an obvious exception). We should not use Roles for managing the privileges of developers, or for application owner accounts come to that. If the account has a schema it probably should have individually granted system privileges; as with most generalisations there is a grey area.
Cheers, APC
Message was edited by: inserting the crucial NOT that makes the sentence make sense
APC

Similar Messages

  • Explain me Auth_id  and definer rights in detail with example.

    Explain me Auth_id and definer rights in detail with example.

    ibney wrote:
    Explain me Auth_id and definer rights in detail with example.How do I ask a question on the forums?
    SQL and PL/SQL FAQ
    unwilling or incapable to Read The Fine Manual yourself?
    http://docs.oracle.com/cd/E11882_01/server.112/e25789/toc.htm

  • Definer and Invoker Rights Privileges

    Hi all,
    I am little confused with Definer and Invoker Rights Privileges. As per my understanding when you have the definer rights on a procedure then you don't explicitly required any privileges on the object under that procedure.
    Can anyone pls explain me about this or provide me the useful link.
    Thanks in advance.

    when you have the definer rights on a procedure then you don't explicitly required
    any privileges on the object under that procedure.Exactly. Definer rights means that you run the program as though you were the program owner.
    It's explained in more detail in the PL/SQL Developers' Guide.
    Cheers, APC

  • Definer and Invoker Rights

    If a package is defined as AUTHID CURRENT_USER but inside one of the procedures in the package it calls another package that is defined with DEFINER rights (default) does that called package execute with the invoker rights or definer rights?
    Im trying to grant a user alter user privs then revoke it and I keep getting insuffcient priv error.
    I think the called packaged is invoked with invoker rights not definer.

    The owner of the called package has to have alter user privs WITH admin option.
    It works now.

  • Strange behaviuor (bug?) with view (ora-918 column ambiguously defined)

    Hallo everybody,
    the following code works as expected;
    select substr(fire_id,-4,2) as ct,zone_id, count(fire_id),sum(a_total) from
    (select *
    from fire right join fire_zone using (fire_id)
    where definition_id = 1
    and checked = 1
    and substr(fire_id,-4,2) in (21,23)
    and fire_id between 190400000000 and 200900000000)
    group by substr(fire_id,-4,2),zone_id
    order by ct, zone_id
    but when a define a view for the subquery:
    create or replace view tempfire as
    select *
    from fire right join fire_zone using (fire_id)
    where definition_id = 1
    and checked = 1
    and substr(fire_id,-4,2) in (21,23)
    and fire_id between 190400000000 and 200900000000
    and then run
    select substr(fire_id,-4,2) as ct,zone_id, count(fire_id),sum(a_total) from tempfire
    group by substr(fire_id,-4,2),zone_id
    order by ct, zone_id
    I got the error ora-00918 column ambiguously defined for zone_id.
    Is this a bug or is there a reason?
    Thank you in advance,
    Cheers,
    Boris
    Edited by: boris on Nov 19, 2009 6:49 AM
    Edited by: boris on Nov 19, 2009 6:52 AM

    user503699
    I followed your suggestion and now it works. Thank you !
    But something is strange ... this is the result of the desc tempfire ... and all the column names are different ...
    desc tempfire
    Name Null Type
    FIRE_ID NOT NULL NUMBER(12)
    START_DATE DATE
    END_DATE DATE
    LOCALITY VARCHAR2(56)
    X_COORD NUMBER(6)
    Y_COORD NUMBER(6)
    COORD_RELIABILITY_ID NUMBER(1)
    ALTITUDE NUMBER(4)
    SITE_ID NUMBER(1)
    EXPO_ID NUMBER(1)
    SLOPE NUMBER(3)
    X_BUSH NUMBER(1)
    X_COPPICE NUMBER(1)
    X_COPPICE_MIXED NUMBER(1)
    X_SELVA NUMBER(1)
    X_HIGH_FOREST_HARDWOOD NUMBER(1)
    X_HIGH_FOREST_SOFTWOOD NUMBER(1)
    X_HIGH_FOREST_MIXED NUMBER(1)
    X_PIONEER NUMBER(1)
    X_FORESTATION NUMBER(1)
    S_BUSH NUMBER(8,2)
    S_COPPICE NUMBER(8,2)
    S_COPPICE_MIXED NUMBER(8,2)
    S_SELVA NUMBER(8,2)
    S_HIGH_FOREST_HARDWOOD NUMBER(8,2)
    S_HIGH_FOREST_SOFTWOOD NUMBER(8,2)
    S_HIGH_FOREST_MIXED NUMBER(8,2)
    S_PIONEER NUMBER(8,2)
    S_FORESTATION NUMBER(8,2)
    A_FOREST NUMBER(8,2)
    A_GRASSLAND NUMBER(8,2)
    A_NONPRODUCTIVE NUMBER(8,2)
    A_TOTAL NUMBER(8,2)
    D_CASTANEA NUMBER(1)
    D_QUERCUS NUMBER(1)
    D_FAGUS NUMBER(1)
    D_BETULA NUMBER(1)
    D_OTHER_HARDWOOD NUMBER(1)
    D_PINUS NUMBER(1)
    D_PICEA NUMBER(1)
    D_LARIX NUMBER(1)
    D_OTHER_SOFTWOOD NUMBER(1)
    DIAMETER NUMBER(3)
    LITTER_ID NUMBER(1)
    HERB_LAYER_ID NUMBER(1)
    BUSH_LAYER_ID NUMBER(1)
    FIRE_SURFACE NUMBER(1)
    FIRE_CROWN NUMBER(1)
    FIRE_SINGLE_TREE NUMBER(1)
    FIRE_SUBSURFACE NUMBER(1)
    DAMAGE_FOREST_ID NUMBER(1)
    DAMAGE_SOIL_ID NUMBER(1)
    HEIGHT_DAMAGE NUMBER(4,2)
    F_PROTECTION NUMBER(1)
    F_ECONOMIC NUMBER(1)
    F_RECREATION NUMBER(1)
    CAUSE_ID NUMBER(2)
    OTHER_CAUSE VARCHAR2(200)
    CAUSE_RELIABILITY_ID NUMBER(1)
    ALARM_FORESTDEP DATE
    CHECKED NUMBER(1)
    DATA_FROM_FORESTDEP NUMBER(1)
    DATA_FROM_FIREMANDEP NUMBER(1)
    DATA_FROM_HISTORY NUMBER(1)
    INSERT_DATE DATE
    INSERT_BY VARCHAR2(16)
    UPDATE_DATE DATE
    UPDATE_BY VARCHAR2(16)
    OLD_TI_AFFDFO VARCHAR2(1)
    OLD_TI_S_SPES NUMBER(8,2)
    OLD_TI_PICFOR VARCHAR2(1)
    OLD_TI_FIRE_TYPE VARCHAR2(1)
    OLD_TI_DOMINANT_SPECIES VARCHAR2(1)
    OLD_TI_CAUSE VARCHAR2(2)
    OLD_TI_FOREST_TYPE VARCHAR2(1)
    START_DATE_RELIABILITY_ID NUMBER(1)
    END_DATE_RELIABILITY_ID NUMBER(1)
    DEFINITION_ID NUMBER(1)
    ZONE_ID NOT NULL NUMBER(8)
    79 rows selected
    I'm still interested hoe to use hints. Can anybody tell me?
    Thank you
    Boris

  • How to get rid of ROWID in Join query -- ORA-00918: column ambiguously defined

    Hi, All
    the source of my data block is from two tables Emp and Title. My select statements is:
    select a.name, b.title, b.start_date, b.end_date from Emp a, Title b where a.id = b.emp_id
    But at run time, I got "ORA-00918: column ambiguously defined"
    the wrapped statement becomes:
    SELECT ROWID,a.name, b.title, b.start_date, b.end_date from Emp a, Title b where a.id = b.emp_id
    I run the query in SQL*PLUS, found out it was ROWID caused problem.
    Can anybody tell me how to get rid of ROWID? or I missed something in datablock defination?
    Thanks in adance.
    Deborah

    I guess you are using oracle 7.x. In Oracle 8 and onwards, database lets you select ROWID from the views based on multiple views as long as view definition does not contain any aggregated functions or DISTINCT in it. Now coming back to forms ..Forms runtime engine uses ROWID to identify rows uniquely unless specified otherwise. If you are using forms 4.5/5.0 against Oracle 7.x , then change these properties and you should be able to run the form.
    BLOCK PROPERTY
    Key Mode : can be either updateable OR Non-updateable
    ( Certainly not 'Unique' .. That forces forms runtime engine to use ROWID to identify unique rows. )
    ITEM PROPERTY
    Identify one of the block items as unique. And then set the following property
    Primary Key : True.
    This should take care of rowid problem.
    Regards,
    Murali.
    Hi, All
    the source of my data block is from two tables Emp and Title. My select statements is:
    select a.name, b.title, b.start_date, b.end_date from Emp a, Title b where a.id = b.emp_id
    But at run time, I got "ORA-00918: column ambiguously defined"
    the wrapped statement becomes:
    SELECT ROWID,a.name, b.title, b.start_date, b.end_date from Emp a, Title b where a.id = b.emp_id
    I run the query in SQL*PLUS, found out it was ROWID caused problem.
    Can anybody tell me how to get rid of ROWID? or I missed something in datablock defination?
    Thanks in adance.
    Deborah

  • ORA-22285 - non-existent directory or file for FILEOPEN operation

    Hello
    I want to insert the xmldata from a xmlfile to the a table, with this scirpt:
    #!/bin/sh
    set -x
    for i in `find . -name "dspevent*.xml"| awk -F"/" '{print $NF}'`
    do
    echo $i
    fname_old=$i
    fname_neu=`ls $i | awk '{print "OK_"$0}'`
    cat $i | sed 's/aps://g' >$fname_neu
    echo $fname_neu
    rm $i
    #insert_xml $fname_neu
    INSERT_XML=`sqlplus -s username/passwort@database <<EOF
    INSERT INTO event_xml (name,
    dtsysl,
    hrsysl,
    dtcptl,
    nusesi,
    dsp_step,
    dsp_state,
    bat_class,
    bat_program,
    bat_seqi,
    bat_state)
    SELECT *
    FROM XMLTABLE (
    'Operations/Event'
    PASSING xmltype (BFILENAME ('EVENT_DIR', '$fname_neu'),
    NLS_CHARSET_ID ('CHAR_CS'))
    COLUMNS name VARCHAR (40) PATH 'name',
    dtsysl DATE PATH 'dtsysl',
    hrsysl NUMBER PATH 'hrsysl',
    dtcptl DATE PATH 'dtcptl',
    nusesi NUMBER PATH 'nusesi',
    dsp_step VARCHAR (40) PATH 'DSP/step',
    dsp_state VARCHAR (40) PATH 'DSP/state',
    bat_class VARCHAR (40) PATH 'BAT/class',
    bat_program VARCHAR (40) PATH 'BAT/program',
    bat_seqi NUMBER PATH 'BAT/seqi',
    bat_state VARCHAR (40) PATH 'BAT/state');
    EOF
    `
    done
    But the problem is, that I have always this error message:
    ORA-22285 -> non-existent directory or file for FILEOPEN operation
    I'd create a direcotrie and over utl_file.fopen I can write a file to this directorie, but this works over the path, not over the directory name. the utl_file_dir parameter was also set to the correct path. Whats wrong or how can I debug this problem?
    thanks.
    roger

    - the name of the directory is correct.
    - how can I check, that the user can use the directory?
    - in this logfile you can see that, the file name will replace correctly:
    ./dspevent.sh
    + awk -F/ {print $NF}
    + find . -name dspevent*.xml
    + echo dspevent_db_20110503030448_10641.xml
    dspevent_db_20110503030448_10641.xml
    fname_old=dspevent_db_20110503030448_10641.xml
    + awk {print "OK_"$0}
    + ls dspevent_db_20110503030448_10641.xml
    fname_neu=OK_dspevent_db_20110503030448_10641.xml
    + sed s/aps://g
    + cat dspevent_db_20110503030448_10641.xml
    + echo OK_dspevent_db_20110503030448_10641.xml
    OK_dspevent_db_20110503030448_10641.xml
    + rm dspevent_db_20110503030448_10641.xml
    + sqlplus -s username/passwort@db
    INSERT INTO event_xml (name,
    dtsysl,
    hrsysl,
    dtcptl,
    nusesi,
    dsp_step,
    dsp_state,
    bat_class,
    bat_program,
    bat_seqi,
    bat_state)
    SELECT *
    FROM XMLTABLE (
    'Operations/Event'
    PASSING xmltype (BFILENAME ('EVENT_DIR', 'OK_dspevent_db_20110503030448_10641.xml'),
    NLS_CHARSET_ID ('CHAR_CS'))
    COLUMNS name VARCHAR (40) PATH 'name',
    dtsysl DATE PATH 'dtsysl',
    hrsysl NUMBER PATH 'hrsysl',
    dtcptl DATE PATH 'dtcptl',
    nusesi NUMBER PATH 'nusesi',
    dsp_step VARCHAR (40) PATH 'DSP/step',
    dsp_state VARCHAR (40) PATH 'DSP/state',
    bat_class VARCHAR (40) PATH 'BAT/class',
    bat_program VARCHAR (40) PATH 'BAT/program',
    bat_seqi NUMBER PATH 'BAT/seqi',
    bat_state VARCHAR (40) PATH 'BAT/state');
    INSERT_XML= PASSING xmltype (BFILENAME ('EVENT_DIR', 'OK_dspevent_db_20110503030448_10641.xml'),
    ERROR at line 15:
    ORA-22285: non-existent directory or file for FILEOPEN operation
    ORA-06512: at "SYS.XMLTYPE", line 296
    ORA-06512: at line 1
    + echo dspevent_db_20110502190712_10641.xml
    dspevent_db_20110502190712_10641.xml

  • Definer rights vs. user rights

    I must be having a senior moment .... ;-)
    Trying to demo definer rights vs. user rights on execution of a procedure.. With apologies to Daniel, I created this test, and then in trying to find the answer to my question I found his nearly identical example at psoug.
    SQL> --
    SQL> conn system/halftrack@vmora01
    Connected.
    SQL> drop user bert cascade;
    User dropped.
    SQL> drop user ernie cascade;
    User dropped.
    SQL> drop role ernies_role;
    Role dropped.
    SQL> --
    SQL> create user bert identified by bert
      2  default tablespace users
      3  temporary tablespace temp
      4  quota 10m on users;
    User created.
    SQL> --
    SQL> grant create session, create table, create procedure to bert;
    Grant succeeded.
    SQL> --
    SQL> create table bert.berts_table (empid varchar2(15));
    Table created.
    SQL> --
    SQL> CREATE OR REPLACE PROCEDURE bert.user_test  AUTHID current_user IS
      2  v_empcnt number;
      3  BEGIN
      4   select count(*)
      5   into v_empcnt
      6   from bert.berts_table;
      7  END user_test;
      8  /
    Procedure created.
    SQL> --
    SQL> CREATE OR REPLACE PROCEDURE bert.definer_test  AUTHID DEFINER IS
      2  v_empcnt number;
      3  BEGIN
      4   select count(*)
      5   into v_empcnt
      6   from bert.berts_table;
      7  END definer_test;
      8  /
    Procedure created.
    SQL> --
    SQL> create user ernie identified by ernie
      2  default tablespace users
      3  temporary tablespace temp
      4  quota 10m on users;
    User created.
    SQL> --
    SQL> create role ernies_role;
    Role created.
    SQL> --
    SQL> grant create session to ernies_role;
    Grant succeeded.
    SQL> grant select on bert.berts_table to ernies_role;
    Grant succeeded.
    SQL> grant execute on bert.definer_test to ernies_role;
    Grant succeeded.
    SQL> grant execute on bert.user_test to ernies_role;
    Grant succeeded.
    SQL> grant ernies_role to ernie;
    Grant succeeded.
    SQL> --
    SQL> conn ernie/ernie@vmora01
    Connected.
    SQL> --
    SQL> -- this should succeed
    SQL> --
    SQL> execute bert.user_test;
    PL/SQL procedure successfully completed.
    SQL> --
    SQL> -- this should fail --
    SQL> --
    SQL> execute bert.definer_test;
    PL/SQL procedure successfully completed.
    SQL> spo offOk, the only rights ernie has are via ernies_role. So I would expect his execution of bert.definer_test to fail, but it didn't.

    mbobak wrote:
    Hi Ed,
    In the definer rights case, as long as ernie can execute the procedure owned by bert, he'll be able to successfully execute it, cause definer rights mean that the object (owned/defined by bert) executes w/ bert's rights, and the only object access in the procedure is on bert's objects. So, no problem there.
    In the invoker rights case, it works cause even though the proc is owned by bert, ernie is executing and so, rights have to be granted to ernie, and they are.
    I don't see a problem in either case. Am I missing something?
    My guess is, what you're overlooking is the fact that, in the case of invokers rights, it's ok for necessary privileges to be granted via a role. The restriction against roles, is only on a definers rights procedure.
    -Mark
    PS See here for more info:
    http://download.oracle.com/docs/cd/E11882_01/network.112/e10574/authorization.htm#DBSEG50010
    Ok, as I read the explanation in the linked reference, that makes sense. So now I'm having a hard time imagining the situation where inheriting privs via a role comes into play as a problem in dealing with pl/sql blocks.

  • ORA-00918: column ambiguously defined : while using inner Select

    Hi
    could you please help me to solve the following from.
    I have a query like this
    SELECT * FROM (SELECT ZMV.VENDOR_NAME,FR.PO_NUM,ZMV.PART_NUMBER,FR.ZAC_ITEM_DESCRIPTION,ZMV.QUANTITY_ORDERED,FR.QUANTITY_RECEIVED,ZMV.PO_UOM_CODE,FR.VENDOR_INV,FR.FORWARDER_REF,FR.PCS,TY.DESCRIPTION,FR.GROSS_WGT,FR.NET_WGT,FR.CFT,TR.DESCRIPTION,FR.PRO,FR.FORWARDER_REMARK,FR.RECAP_ID,FR.ZAC_REMARK,FR.SHIPMENT_BY FROM FWD_RECAP FR,ZAC_METRO_VIEW ZMV,FWD_MASTER_TYPE TY,FWD_MASTER_TRUCK TR WHERE FR.TYPE_ID=TY.TYPE_ID AND FR.TRUCK_ID=TR.TRUCK_ID AND FR.PO_LINE_ID=ZMV.PO_LINE_ID AND FR.PACKAGE_ID=0 AND FR.OPERATIONING_UINT_ID=511 AND FR.FORWARDER='METRO,ITALY' ORDER BY FR.PO_LINE_ID DESC) WHERE ROWNUM <=10
    But while executing the following error showing,
    SELECT * FROM (SELECT ZMV.VENDOR_NAME,FR.PO_NUM,ZMV.PART_NUMBER,FR.ZAC_ITEM_DESCRIPTION,ZMV.QUANTIT
    ERROR at line 1:
    ORA-00918: column ambiguously defined
    For this problem i got some answers from web sites, they saying as follows, but i am using like that only.
    (ORA-00918: COLUMN AMBIGUOUSLY DEFINED)
    Use table aliases and prefix all column names by their aliases when more than one table is involved in a query. This reduces parse time AND prevents future syntax errors if someone adds a column to one of the tables with the same name as a column in another table.
    awaiting your immediate reply
    Thankyou
    Jobin [[email protected]]

    In your inline view you have fields
    TY.DESCRIPTION and TR.DESCRIPTION which are the same
    name DESCRIPTION for covered SQL.
    place TY.DESCRIPTION TY_DESCRIPTION and
    TR.DESCRIPTION TR_DESCRIPTION in your code:
    SELECT * FROM (SELECT ZMV.VENDOR_NAME,FR.PO_NUM,ZMV.PART_NUMBER,FR.ZAC_ITEM_DESCRIPTION,ZMV.QUANTITY_ORDERED,FR.QUANTITY_RECEIVED,ZMV.PO_UOM_CODE,FR.VENDOR_INV,FR.FORWARDER_REF,FR.PCS,TY.DESCRIPTION TY_DESCRIPTION ,FR.GROSS_WGT,FR.NET_WGT,FR.CFT,TR.DESCRIPTION TR_DESCRIPTION,FR.PRO,FR.FORWARDER_REMARK,FR.RECAP_ID,FR.ZAC_REMARK,FR.SHIPMENT_BY FROM FWD_RECAP FR,ZAC_METRO_VIEW ZMV,FWD_MASTER_TYPE TY,FWD_MASTER_TRUCK TR WHERE FR.TYPE_ID=TY.TYPE_ID AND FR.TRUCK_ID=TR.TRUCK_ID AND FR.PO_LINE_ID=ZMV.PO_LINE_ID AND FR.PACKAGE_ID=0 AND FR.OPERATIONING_UINT_ID=511 AND FR.FORWARDER='METRO,ITALY' ORDER BY FR.PO_LINE_ID DESC) WHERE ROWNUM <=10
    Rgds

  • Still ORA-19007: Schema and element do not match Error

    Hi all,
    I'm new to XML and dealing with lots of information but I'm stuck with this error ORA-19007: Schema and element do not match. Read some forums and tried some possibitlities but none has solved this issue. I think this is related with some malformed headers definitions but I'm not sure, so any help will be much appreciated.
    Here's what I've done so far:
    This is the xml file - emp.xml:
    <?xml version="1.0" encoding="UTF-8"?>
    <!--Sample XML file generated by XMLSpy v2006 rel. 3 sp2 (http://www.altova.com)-->
    <employees xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/xdb/emp.xsd">
         <employee team="Team Test">
              <id>1</id>
              <name>Nelson Branco</name>
              <comment>No Comments</comment>
         </employee>
    </employees>
    ...and this is the XSD file: emp.xsd:
    <?xml version="1.0" encoding="ISO-8859-15"?>
    <!-- edited with XMLSpy v2006 rel. 3 sp2 (http://www.altova.com) by Nelson Branco (Oracle Corp) -->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="qualified" xdb:storeVarrayAsTable="true">
         <xs:element name="comment" type="xs:string"/>
         <xs:element name="id" type="xs:string"/>
         <xs:element name="name" type="xs:string"/>
         <xs:complexType name="employeeType">
              <xs:sequence>
                   <xs:element ref="id"/>
                   <xs:element ref="name"/>
                   <xs:element ref="comment" minOccurs="0"/>
              </xs:sequence>
              <xs:attribute name="team" type="xs:string" use="optional"/>
         </xs:complexType>
         <xs:element name="employee" type="employeeType"/>
         <xs:element name="employees" xdb:defaultTable="EMPLOYEES">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element ref="employee" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
    </xs:schema>
    1) Created folders
    declare
    ignore boolean;
    begin
    ignore := dbms_xdb.createFolder('/public/Emp');
    ignore := dbms_xdb.createFolder('/public/Emp/xsd');
    ignore := dbms_xdb.createFolder('/public/Emp/xml');
    commit ;
    end;
    2) Copied emp.xsd to /public/Emp/xsd in Win Explorer (via WebDAV connection)
    3) Registered the schema
    begin
    dbms_xmlschema.registerURI(schemaURL => 'http://xmlns.oracle.com/xdb/emp.xsd'
    ,schemaDocURI => '/public/Emp/xsd/emp.xsd'
    ,genTables => true
    commit ;
    end ;
    4) Copied the xml file to /public/Emp/xml. At this point I was expecting that the xml file was automatically uploaded to corresponding tables based on is content but it didn't happen. I didn't got any error also. When I issue:
    Select count(*) from employees
    ...or
    select y."name", y."team" from employees x, table(x.xmldata."employee") y
    ...got 0 rows returned
    5) So then created the table:
    create table emp_tab(
    id number,
    emp sys.XMLType
    xmltype column emp
    XMLSCHEMA "http://xmlns.oracle.com/xdb/emp.xsd"
    element "employee";
    6) And tried to insert one record based on the emp.xml:
    insert into emp_tab values (1,
    xmltype('<?xml version="1.0" encoding="UTF-8"?>
    <!--Sample XML file generated by XMLSpy v2006 rel. 3 sp2 (http://www.altova.com)-->
    <employees xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://xmlns.oracle.com/xdb/emp.xsd">
         <employee team="Team Test">
              <id>1</id>
              <name>Nelson Branco</name>
              <comment>No Comments</comment>
         </employee>
    </employees>'));
    ...and that when I get ORA-19007: Schema and element do not match.
    Any help on this will be appreciated. Thx.

    SQL> set echo on
    SQL> spool testcase.log
    SQL> --
    SQL> connect sys/ as sysdba
    Enter password:
    Connected.
    SQL> set define on
    SQL> --
    SQL> define USERNAME = OTNTEST
    SQL> --
    SQL> def PASSWORD = OTNTEST
    SQL> --
    SQL> def USER_TABLESPACE = USERS
    SQL> --
    SQL> def TEMP_TABLESPACE = TEMP
    SQL> --
    SQL> drop user &USERNAME cascade
      2  /
    old   1: drop user &USERNAME cascade
    new   1: drop user OTNTEST cascade
    User dropped.
    SQL> grant connect, resource to &USERNAME identified by &PASSWORD
      2  /
    old   1: grant connect, resource to &USERNAME identified by &PASSWORD
    new   1: grant connect, resource to OTNTEST identified by OTNTEST
    Grant succeeded.
    SQL> grant create any directory, drop any directory to &USERNAME
      2  /
    old   1: grant create any directory, drop any directory to &USERNAME
    new   1: grant create any directory, drop any directory to OTNTEST
    Grant succeeded.
    SQL> grant alter session, create view to &USERNAME
      2  /
    old   1: grant alter session, create view to &USERNAME
    new   1: grant alter session, create view to OTNTEST
    Grant succeeded.
    SQL> alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
      2  /
    old   1: alter user &USERNAME default tablespace &USER_TABLESPACE temporary tablespace &TEMP_TABLESPACE
    new   1: alter user OTNTEST default tablespace USERS temporary tablespace TEMP
    User altered.
    SQL> connect &USERNAME/&PASSWORD
    Connected.
    SQL> --
    SQL> alter session set events ='19027 trace name context forever, level 0x800'
      2  /
    Session altered.
    SQL> var schemaURL varchar2(256)
    SQL> var schemaPath varchar2(256)
    SQL> --
    SQL> begin
      2    :schemaURL := 'http://xmlns.oracle.com/xdb/emp.xsd';
      3    :schemaPath := '/public/testcase.xsd';
      4  end;
      5  /
    PL/SQL procedure successfully completed.
    SQL> create or replace directory XMLDIR as 'c:\xdb\otn'
      2  /
    Directory created.
    SQL> declare
      2    res boolean;
      3    xmlSchema xmlType := xmlType(
      4  '<?xml version="1.0" encoding="ISO-8859-15"?>
      5  <!-- edited with XMLSpy v2006 rel. 3 sp2 (http://www.altova.com) by Nelson Branco (Oracle Corp) -->
      6  <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xdb="http://xmlns.oracle.com/xdb" elementFormDefault="qualified" xdb:store
    VarrayAsTable="true">
      7  <xs:element name="comment" type="xs:string"/>
      8  <xs:element name="id" type="xs:string"/>
      9  <xs:element name="name" type="xs:string"/>
    10  <xs:complexType name="employeeType">
    11  <xs:sequence>
    12  <xs:element ref="id"/>
    13  <xs:element ref="name"/>
    14  <xs:element ref="comment" minOccurs="0"/>
    15  </xs:sequence>
    16  <xs:attribute name="team" type="xs:string" use="optional"/>
    17  </xs:complexType>
    18  <xs:element name="employee" type="employeeType"/>
    19  <xs:element name="employees" xdb:defaultTable="EMPLOYEES">
    20  <xs:complexType>
    21  <xs:sequence>
    22  <xs:element ref="employee" maxOccurs="unbounded"/>
    23  </xs:sequence>
    24  </xs:complexType>
    25  </xs:element>
    26  </xs:schema>');
    27  begin
    28    if (dbms_xdb.existsResource(:schemaPath)) then
    29      dbms_xdb.deleteResource(:schemaPath);
    30    end if;
    31    res := dbms_xdb.createResource(:schemaPath,xmlSchema);
    32  end;
    33  /
    PL/SQL procedure successfully completed.
    SQL> begin
      2    dbms_xmlschema.registerSchema
      3    (
      4      :schemaURL,
      5      xdbURIType(:schemaPath).getClob(),
      6      TRUE,TRUE,FALSE,TRUE
      7    );
      8  end;
      9  /
    PL/SQL procedure successfully completed.
    SQL> var xmltext varchar2(4000)
    SQL> --
    SQL> begin
      2    :xmltext :=
      3  '<?xml version="1.0" encoding="UTF-8"?>
      4  <!--Sample XML file generated by XMLSpy v2006 rel. 3 sp2 (http://www.altova.com)-->
      5  <employees xmlns:xdb="http://xmlns.oracle.com/xdb" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation=
    "http://xmlns.oracle.com/xdb/emp.xsd">
      6  <employee team="Team Test">
      7  <id>1</id>
      8  <name>Nelson Branco</name>
      9  <comment>No Comments</comment>
    10  </employee>
    11  </employees>';
    12  end;
    13  /
    PL/SQL procedure successfully completed.
    SQL> insert into EMPLOYEES values ( xmltype(:xmltext));
    1 row created.
    SQL> /
    1 row created.
    SQL> create table emp_tab
      2  (
      3     id number,
      4     emp sys.XMLType
      5  )
      6  xmltype column emp
      7  XMLSCHEMA "http://xmlns.oracle.com/xdb/emp.xsd"
      8  element "employee"
      9  /
    Table created.
    SQL> insert into EMP_TAB values ( 1, xmltype(:xmltext))
      2  /
    insert into EMP_TAB values ( 1, xmltype(:xmltext))
    ERROR at line 1:
    ORA-19040: Element employees does not match expected employee.
    SQL> drop table emp_tab
      2  /
    Table dropped.
    SQL> create table emp_tab
      2  (
      3     id number,
      4     emp sys.XMLType
      5  )
      6  xmltype column emp
      7  XMLSCHEMA "http://xmlns.oracle.com/xdb/emp.xsd"
      8  element "employees"
      9  /
    Table created.
    SQL> insert into EMP_TAB values ( 1, xmltype(:xmltext))
      2  /
    1 row created.
    SQL>

  • Where are my photos on the PC after sync with an iphone?  I know nobody out there is stupid enough to suggest to me that they are encrypted and inaccessible, right?  Seriously?  How stupid would Apple corporation have to be to do something like this?

    Where are my photos on the PC after synching with an iphone?  I know nobody out there is stupid enough to suggest to me that they are encrypted and inaccessible, right?  Seriously?  How stupid would Apple corporation have to be to do something like this? That would be just as foolish as making my music unusable on the PC...
    Okay, Let's assume that Apple is indeed THAT foolish.......How does one get the photos from the phone to the PC and still use them?

    The photos are still on your phone, and if enabled in your Photo Stream. They are not automatically transferred to your computer when syncing.
    See iOS: Import personal photos and videos from iOS devices to your computer and iCloud: My Photo Stream FAQ
    tt2

  • What is the difference between variable and Define

    WHAT IS THE DIFFERENCE BETWEEN
    these different declarations when it is done using the keyword "variable" and "define"
    and both of these are done OUTSIDE "DECLARE"
    VARIABLE g_monthly_sal NUMBER
    DEFINE p_annual_sal =5000
    -- I understand that p_annual_sal will be taken as a CHAR.
    -- ALSO IF DEFINE variable acts as macro variable, SO is it necessary to give it some value whenever we define it.
    if not what value would be substituted for it?
    OR does that mean whenever we want to specify data type for a bind varible we should use VARIABLE and
    when we do not want to specify type we use DEFINE?
    THANK YOU
    Edited by: user6287828 on Feb 24, 2009 11:03 AM
    Edited by: user6287828 on Feb 24, 2009 11:04 AM

    Both are SQL*plus commands. In a real programming environment you will not use such constructs (except a few rare scripting cases).
    The difference is how the construct is later used. DEFINE is more like a copy&paste string. Whereever the name of this substitution variable is found it will be pasted into the sql*plus session.
    VARIABLE creates a real variable. You can change the value and if follwos the usual principles of variables (including binding).
    Example can be found the docs:
    from the docs
    Where and How to Use Substitution Variables
    You can use substitution variables anywhere in SQL and SQL*Plus commands, except as the first word entered. When SQL*Plus encounters an undefined substitution variable in a command, SQL*Plus prompts you for the value.
    You can enter any string at the prompt, even one containing blanks and punctuation. If the SQL command containing the reference should have quote marks around the variable and you do not include them there, the user must include the quotes when prompted.
    SQL*Plus reads your response from the keyboard, even if you have redirected terminal input or output to a file. If a terminal is not available (if, for example, you run the script in batch mode), SQL*Plus uses the redirected file.
    After you enter a value at the prompt, SQL*Plus lists the line containing the substitution variable twice: once before substituting the value you enter and once after substitution. You can suppress this listing by setting the SET command variable VERIFY to OFF.
    Using Bind Variables
    Bind variables are variables you create in SQL*Plus and then reference in PL/SQL or SQL. If you create a bind variable in SQL*Plus, you can use the variable as you would a declared variable in your PL/SQL subprogram and then access the variable from SQL*Plus. You can use bind variables for such things as storing return codes or debugging your PL/SQL subprograms.
    Because bind variables are recognized by SQL*Plus, you can display their values in SQL*Plus or reference them in PL/SQL subprograms that you run in SQL*Plus.
    Creating Bind Variables
    You create bind variables in SQL*Plus with the VARIABLE command. For example
    VARIABLE ret_val NUMBER
    This command creates a bind variable named ret_val with a datatype of NUMBER. See the VARIABLE command for more information. (To list all bind variables created in a session, type VARIABLE without any arguments.)
    Referencing Bind Variables
    You reference bind variables in PL/SQL by typing a colon (:) followed immediately by the name of the variable. For example
    :ret_val := 1;
    To change this bind variable in SQL*Plus, you must enter a PL/SQL block. For example:
    BEGIN
    :ret_val:=4;
    END;
    /

  • ORA-32004: obsolete and/or deprecated parameter(s) specifiedORACLE instance

    Hi friends,
    i am trying to install BIW 3.0b (win-2000, oracle 9.2.0.1.0 (patch 9.1.0.4.1)& j2sdk 1_4_1)
    while installing database instance i am getting this problem.
    INFO 2007-09-26 15:57:09
    Copying file C:/SAPinst ORACLE KERNEL/keydb.xml to: C:/SAPinst ORACLE KERNEL/keydb.1.xml.
    INFO 2007-09-26 15:57:09
    Creating file C:\SAPinst ORACLE KERNEL\keydb.1.xml.
    INFO 2007-09-26 15:58:14
    Processing of host operation t_HostInfo_SHARED succeeded.
    INFO 2007-09-26 15:58:35
    The 'saploc' share exists at directory 'E:\usr\sap'. Choosing drive E: as SAP System drive.
    INFO 2007-09-26 16:00:26
    Copying file C:/dump/export1/DB/ORA/DBSIZE.XML to: DBSIZE.XML.
    INFO 2007-09-26 16:00:26
    Creating file C:\SAPinst ORACLE KERNEL\DBSIZE.XML.
    INFO 2007-09-26 16:00:26
    Copying file system node C:\dump\export1/DB/ORA/DBSIZE.XML with type NODE to DBSIZE.XML succeeded.
    INFO 2007-09-26 16:00:26
    Processing of all file system node operations of table tORA_filecopy succeeded.
    INFO 2007-09-26 16:00:26
    Copying file C:/SAPinst ORACLE KERNEL/DBSIZE.XML to: C:/SAPinst ORACLE KERNEL/DBSIZE.1.XML.
    INFO 2007-09-26 16:00:26
    Creating file C:\SAPinst ORACLE KERNEL\DBSIZE.1.XML.
    INFO 2007-09-26 16:00:26
    Copying file C:/dump/export1/DB/DDLORA.TPL to: DDLORA.TPL.
    INFO 2007-09-26 16:00:26
    Creating file C:\SAPinst ORACLE KERNEL\DDLORA.TPL.
    INFO 2007-09-26 16:00:26
    Copying file system node C:\dump\export1/DB/DDLORA.TPL with type NODE to DDLORA.TPL succeeded.
    INFO 2007-09-26 16:00:26
    Processing of all file system node operations of table tORA_filecopy succeeded.
    INFO 2007-09-26 16:00:33
    Moving file C:/SAPinst ORACLE KERNEL/DDLORA.TPL to: orig_ddl_ora_tmp.tpl.
    INFO 2007-09-26 16:00:33
    Moving file C:/SAPinst ORACLE KERNEL/changed_ddl_ora_tmp.tpl to: DDLORA.TPL.
    INFO 2007-09-26 16:00:33
    Removing file C:/SAPinst ORACLE KERNEL/orig_ddl_ora_tmp.tpl.
    INFO 2007-09-26 16:02:00
    Package table created
    PHASE 2007-09-26 16:02:10
    SAP Business WareHouse
    PHASE 2007-09-26 16:02:10
    SAP Web Application Server
    PHASE 2007-09-26 16:02:10
    Request common parameters of SAP System
    PHASE 2007-09-26 16:02:10
    Create operating system accounts
    INFO 2007-09-26 16:02:10
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1004 ACCOUNTNAME=biwdev\SAP_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-09-26 16:02:10
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1005 ACCOUNTNAME=biwdev\SAP_BWD_LocalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Local Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-09-26 16:02:10
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1006 ACCOUNTNAME=biwdev\SAP_BWD_GlobalAdmin ACCOUNTTYPE=GROUP DESCRIPTION=SAP Global Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-09-26 16:02:10
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1007 ACCOUNTNAME=ORA_BWD_DBA ACCOUNTTYPE=GROUP CONDITION=YES DESCRIPTION=Database Operator Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-09-26 16:02:10
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1008 ACCOUNTNAME=ORA_BWD_OPER ACCOUNTTYPE=GROUP CONDITION=YES DESCRIPTION=Database Administration Group MEMBERSHIPSEPARATOR=, OPMODE=CREATE  succeeded.
    INFO 2007-09-26 16:02:10
    Processing of all account operations of table t_SAPComponent_Accounts_Accounts_SHARED succeeded (operation CREATE).
    INFO 2007-09-26 16:02:15
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1009 ACCOUNTNAME=biwdev\bwdadm ACCOUNTTYPE=USER DESCRIPTION=SAP System Administrator MEMBERSHIP=biwdev\SAP_BWD_GlobalAdmin,biwdev\Users,Administrators,ORA_BWD_DBA,ORA_BWD_OPER,biwdev\SAP_LocalAdmin,biwdev\SAP_BWD_LocalAdmin MEMBERSHIPSEPARATOR=, OPMODE=CREATE USERPASSWORD=*...  succeeded.
    INFO 2007-09-26 16:02:15
    Changing account ACCOUNTID=S-1-5-21-1844237615-963894560-725345543-1010 ACCOUNTNAME=biwdev\SAPServiceBWD ACCOUNTTYPE=USER CONDITION=YES DESCRIPTION=SAP System Service Administrator MEMBERSHIP=biwdev\SAP_BWD_GlobalAdmin,Administrators,ORA_BWD_DBA,ORA_BWD_OPER,biwdev\SAP_LocalAdmin,biwdev\SAP_BWD_LocalAdmin MEMBERSHIPSEPARATOR=, OPMODE=CREATE USERPASSWORD=*...  succeeded.
    INFO 2007-09-26 16:02:15
    Processing of all account operations of table t_SAPComponent_Accounts_Accounts_SHARED succeeded (operation CREATE).
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:16
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    PHASE 2007-09-26 16:02:17
    Request operating system user information
    INFO 2007-09-26 16:02:17
    Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'S-1-5-21-1844237615-963894560-725345543-1009' on host 'biwdev'!
    INFO 2007-09-26 16:02:17
    Successfully added privileges 'SeServiceLogonRight SeNetworkLogonRight' to account 'biwdev\SAPServiceBWD' on host 'biwdev'!
    INFO 2007-09-26 16:02:17
    Successfully added privileges 'SeTcbPrivilege SeAssignPrimaryTokenPrivilege SeIncreaseQuotaPrivilege' to account 'biwdev\bwdadm' on host 'biwdev'!
    INFO 2007-09-26 16:02:18
    Evaluating all 'tNT_RegistryEntries' table rows succeeded.
    INFO 2007-09-26 16:02:19
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:20
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:21
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:21
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:22
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:23
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:24
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:24
    Creating or updating all NT registry entries from the tNT_RegistryEntries table succeeded.
    INFO 2007-09-26 16:02:53
    Creating directory E:\oracle\BWD\sapdata1\system_1.
    INFO 2007-09-26 16:02:53
    Creating file system node E:\oracle\BWD/sapdata1\system_1 with type DIRECTORY succeeded.
    INFO 2007-09-26 16:02:53
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2007-09-26 16:02:53
    Processing of all file system node operations of table tORA_DatabaseServerNodes succeeded.
    INFO 2007-09-26 16:02:53
    Processing of all file system node operations of table tORA_SapdataNodes succeeded.
    INFO 2007-09-26 16:02:55
    Copying file C:/dump/master/NT/COMMON/INSTALL/INITSID.ORA to: E:\oracle\ora92\database\initBWD.ora.
    INFO 2007-09-26 16:02:55
    Creating file E:\oracle\ora92\database\initBWD.ora.
    INFO 2007-09-26 16:02:55
    Copying file system node C:\dump\master/NT/COMMON/INSTALL/INITSID.ORA with type FILE to E:\oracle\ora92\database\initBWD.ora succeeded.
    INFO 2007-09-26 16:02:55
    Copying file C:/dump/master/NT/COMMON/INSTALL/INITSID.SAP to: E:\oracle\ora92\database\initBWD.sap.
    INFO 2007-09-26 16:02:55
    Creating file E:\oracle\ora92\database\initBWD.sap.
    INFO 2007-09-26 16:02:55
    Copying file system node C:\dump\master/NT/COMMON/INSTALL/INITSID.SAP with type FILE to E:\oracle\ora92\database\initBWD.sap succeeded.
    INFO 2007-09-26 16:02:55
    Copying file C:/dump/master/NT/COMMON/INSTALL/INITSID.DBA to: E:\oracle\ora92\database\initBWD.dba.
    INFO 2007-09-26 16:02:55
    Creating file E:\oracle\ora92\database\initBWD.dba.
    INFO 2007-09-26 16:02:55
    Copying file system node C:\dump\master/NT/COMMON/INSTALL/INITSID.DBA with type FILE to E:\oracle\ora92\database\initBWD.dba succeeded.
    INFO 2007-09-26 16:02:55
    Processing of all file system node operations of table tORA_ServerConfig_FORMS succeeded.
    INFO 2007-09-26 16:02:57
    Processing of adapt operation tORA_ServerConfig succeeded.
    INFO 2007-09-26 16:02:59
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-09-26 16:03:02
    Moving file E:/oracle/ora92/database/initBWD.ora to: orig_init_ora_tmp.txt.
    INFO 2007-09-26 16:03:02
    Moving file C:/SAPinst ORACLE KERNEL/changed_init_ora_tmp.txt to: E:\oracle\ora92\database\initBWD.ora.
    INFO 2007-09-26 16:03:02
    Removing file C:/SAPinst ORACLE KERNEL/orig_init_ora_tmp.txt.
    WARNING 2007-09-26 16:03:02
    PROBLEM: 'E:\oracle\ora92/bin/oradim' not found. CAUSE: Unable to find application via absolute path in filesystem. Application could perhaps be found using environment variable path or is really missing. Trying to call the application nevertheless.
    WARNING 2007-09-26 16:03:02
    PROBLEM: 'E:\oracle\ora92/bin/oradim' not found. CAUSE: Unable to find application via absolute path in filesystem. Application could perhaps be found using environment variable path or is really missing. Trying to call the application nevertheless.
    INFO 2007-09-26 16:03:02
    'E:\oracle\ora92/bin/oradim -new -sid BWD -STARTMODE auto' returned with '20'.
    INFO 2007-09-26 16:03:04
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    INFO 2007-09-26 16:03:06
    Changed working directory to C:\SAPinst ORACLE KERNEL.
    ERROR 2007-09-26 16:03:13
    CJS-00084  SQL Statement or Script failed. Error Message: ORA-32004: obsolete and/or deprecated parameter(s) specifiedORACLE instance started.
    ERROR 2007-09-26 16:03:13
    FJS-00012  Error when executing script.
    Please let me know, what was tha problem.
    Regards,
    satish

    I suggest you upgrade your Oracle installation to 9.2.0.7 or 9.2.0.8 and then try again.
    Markus

  • Bought iphone 5C on December. No additional warranty purchased. The phone keeps not working and the top and bottom right corners look melted. Can I send it in amd get a new one on manufacturer warranty? Or what are my options? Thanks

    I Purchased iphone 5C on December 2014. However now it's very difficult to have it working. The screen is constantly not working and the right side bottom&top does looks like its melted? the cover I mean , which maked the phone slide out of its cover. I did not purchase anny additional warranty or insurance so I don't know what to do with it? Can i send it in and they can send me a new one under the manufacturer warranty or what do i do with it?
    I Have alwa had an iphone but this 5c is making me never have one again. Thanks in advance

    Each iPhone comes with a one-year warranty. You said it looks melted? That's going to be difficult to prove that you did not damage it, and it happened on its own. That is the only way it would be covered.

  • Error Message on the printer - Remove and check right cartridge

    How to fix error message:  "remove and check right cartridge" which you have done numerous times, plus cleaned cartridge nozzle.  Also, I have turned off power to printer, but nothing changed.  Help for HP Officejet 7210 All-in-One needed.
    This question was solved.
    View Solution.

    Funny that multiple people have this problem appear just after 9/1 on multiple printers/all-in-ones. I wonder how many people have this problem and don't report it here. Mine is on a 2710a all-in-one in excellent condition except for this cartridge problem.
    My contacts are not suddenly damaged and it is a relatively new well within the expiration date genuine HP cartridge that we have had for more than a few months. It has not been out of the printer nor has the printer been moved. It sits in a clean room with very little temperature variation from 72 degrees. All printers should be so lucky.
    This is not the first time nor the first printer I've had cartridge problems with HP printers. This is my third one and I'm done with HP printers. I love all other aspects of the printer but this one is infuriating enough to sour me for good.

Maybe you are looking for

  • Weblogic 10.3.5 with oracle forms and reports 11.1.2.1.0

    Hi All, I am new to 11g concept (actually web based, have worked till 6i) and trying to upgrade my existing system (6i) to 11g. I have installed Weblogic 10.3.5 with forms and reports 11.1.2.1.0 on windows 7 32 bit. I can connect to my database (10g)

  • Specific signature when in folder

    how do you select a specific signature when in a folder? i have a number of email accounts, and have set up folders, with various rules... when in some folders and select new message, the correct signature appears but then not in others. is there a s

  • ITunes 8.1 won't install on Vista after uninstall

    So I was trying to update my itunes and kept getting errors. I went on to uninstall it and reinstall which normally works. But this time around, I got some error messages and it won't install. When it is installing, I get this message: "An error occu

  • Battery drain problem - question if auto lock is problem

    Just upgraded from iPad2 to Retina iPad. Went smoothly with cloud backup and download but experiencing sever battery drain. Went to use it 2 days ago after limited use prior evening (taking minutes in Evernote for 2 hr meeting) and had shut off. Rest

  • Is it possible to create column chart in WAD

    Hi All, I would like to know if it is possible to create WAD -column chart  in BI Regards, Sampda.