External table ORA-30657: operation not supported on external organized tab

Hi all,
I try to create an external table and fill it with data out of my DB. Without the AS - Section everything is fine. The external table will be created but I don't get the data into it. Is there any possible way to write delimited data into a flat-file via external table or an other mechanism?
Regards Carsten
The full statement:
CREATE OR REPLACE DIRECTORY admin_dat_dir
AS 'E:\CDDTEST';
CREATE OR REPLACE DIRECTORY admin_log_dir
AS 'E:\CDDTEST';
CREATE OR REPLACE DIRECTORY admin_bad_dir
AS 'E:\CDDTEST';
DROP TABLE cdd_ext_vt;
-- create the external table
CREATE TABLE cdd_ext_vt
(vertrag_nr VARCHAR2(25),
kunden_name VARCHAR2(60)
ORGANIZATION EXTERNAL
TYPE ORACLE_LOADER
DEFAULT DIRECTORY admin_dat_dir
ACCESS PARAMETERS
records delimited by newline
badfile admin_bad_dir:'empxt%a_%p.bad'
logfile admin_log_dir:'empxt%a_%p.log'
fields terminated by ','
missing field values are null
( vetrag_nr, kunden_name
LOCATION ('cdd_ext_vt.dat')
REJECT LIMIT UNLIMITED
AS
select vt.vertrag,chr(34)||trim(person.name)||chr(34)
from vt,person
where vt.syskd = person.sysperson
and rownum < 11
;

Carsten,
You can use this to dump this procedure into csv file
create or replace function  dump_csv( p_query     in varchar2,
                                      p_separator in varchar2 default ',',
                                      p_dir       in varchar2 ,
                                      p_filename  in varchar2 )
return number
is
    l_output        utl_file.file_type;
    l_theCursor     integer default dbms_sql.open_cursor;
    l_columnValue   varchar2(4000);
    l_status        integer;
    l_colCnt        number default 0;
    l_separator     varchar2(10) default '';
    l_cnt           number default 0;
begin
    l_output := utl_file.fopen( p_dir, p_filename, 'w' );
    dbms_sql.parse(  l_theCursor,  p_query, dbms_sql.native );
    for i in 1 .. 255 loop
        begin
            dbms_sql.define_column( l_theCursor, i, l_columnValue, 4000 );
            l_colCnt := i;
        exception
            when others then
                if ( sqlcode = -1007 ) then exit;
                else
                    raise;
                end if;
        end;
    end loop;
    dbms_sql.define_column( l_theCursor, 1, l_columnValue, 4000 );
    l_status := dbms_sql.execute(l_theCursor);
    loop
        exit when ( dbms_sql.fetch_rows(l_theCursor) <= 0 );
        l_separator := '';
        for i in 1 .. l_colCnt loop
            dbms_sql.column_value( l_theCursor, i, l_columnValue );
            utl_file.put( l_output, l_separator || l_columnValue );
            l_separator := p_separator;
        end loop;
        utl_file.new_line( l_output );
        l_cnt := l_cnt+1;
    end loop;
    dbms_sql.close_cursor(l_theCursor);
    utl_file.fclose( l_output );
    return l_cnt;
end dump_csv;
REM Here is an example of using the above:
create or replace procedure test_dump_csv
as
    l_rows  number;
begin
    l_rows := dump_csv( 'select * from all_users where rownum < 25', ',', '/tmp', 'test.dat' );
end;
/HTH
SS

Similar Messages

  • Getting "ORA-12534: TNS:operation not supported" connecting as sysdba

    Hi,
    We are getting "ORA-12534: TNS:operation not supported" error, while connecting as sysdba.
    bash-2.03$ sqlplus '/as sysdba'
    SQL*Plus: Release 10.2.0.4.0 - Production on Thu Feb 23 10:16:16 2012
    Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
    ERROR:
    ORA-12534: TNS:operation not supported
    Enter user-name:
    I can able to connect to database using tns entry without any issue.
    SQLNET.ORA Contents:
    ====================
    bash-2.03$ cat /var/opt/oracle/sqlnet.ora
    ENCRYPTION_WALLET_LOCATION=(SOURCE=(METHOD=FILE)(METHOD_DATA=(DIRECTORY=/dboracle/orabase/product/10.2.0/dbs/wallet/)))
    SQLNET.WALLET_OVERRIDE = TRUE
    SSL_CLIENT_AUTHENTICATION = FALSE
    SSL_VERSION = 0
    I am not aware of wallet. Please help me out to resolve this issue.
    Thank you.
    Regards,
    Dasarath

    >
    SQLNET.ORA Contents:
    ====================
    bash-2.03$ cat /var/opt/oracle/sqlnet.ora
    ENCRYPTION_WALLET_LOCATION=(SOURCE=(METHOD=FILE)(METHOD_DATA=(DIRECTORY=/dboracle/orabase/product/10.2.0/dbs/wallet/)))
    SQLNET.WALLET_OVERRIDE = TRUE
    SSL_CLIENT_AUTHENTICATION = FALSE
    SSL_VERSION = 0
    >
    You may want to replace ENCRYPTION_WALLET_LOCATION keyword with just WALLET_LOCATION in your sqlnet.ora file.
    EWL is used only for TDE but if you want to use external password store, you will have to use WALLET_LOCATION rather than ENCRYPTION_WALLET_LOCATION. However if you are going to use both TDE and external password respository, then make sure your sqlnet.ora file has both entries ENCRYPTION_WALLET_LOCATION as well as WALLET_LOCATION
    Regards
    Venkat

  • ORA-02064: distributed operation not supported

    Im getting this WARNING when im executing my mapping.
    My mapping involves selecting a data from a splitter and updating and inserting two tables respectively. ONe set of data from the splitter will be inserted into 1 table and the other set of output from the splitter is updated into the 2nd table.
    This is working fine. But i dont know why im getting this warning.
    Is it a very serious thing or can i ignore this?

    Hi Vibhuti,
    Looking up the desciption for this warning gives me this:
    ORA-02064: distributed operation not supported
    Cause: One of the following unsupported operations was attempted:
    1. array execute of a remote update with a subquery that references a dblink, or
    2. an update of a long column with bind variable and an update of a second column with a subquery that both references a dblink and a bind variable, or
    3. a commit is issued in a coordinated session from an RPC procedure call with OUT parameters or function call.
    Action: simplify remote update statement
    I have not encountered this error myself, but my guess would be you are running into scenario 1 with your target tables or source tables in a remote database.
    See if running the mapping in row-based mode gets rid of the warning.
    Btw, are you sure it's merely a warning and not an error ? I.e. are you targets really updated the way you expect ?
    Ragnar

  • DBMS_SCHEDULER - ORA-02064: distributed operation not supported

    I am getting this error:
    ORA-02064: distributed operation not supported
    using the DBMS_SCHEDULER package in Database 10g. The code works successfully in PL/SQL DEVELOPER inside the database but when I try to run the code through PSP pages on the web, I get this error. The erro happens when this method is executed in DBMS_SCHEDULER:
    DBMS_SCHEDULER.CREATE_PROGRAM(
    PROGRAM_NAME => 'ROADS_FTP',
    PROGRAM_TYPE => 'STORED_PROCEDURE',
    PROGRAM_ACTION => 'pkg_report_t3.transfer_report',
    NUMBER_OF_ARGUMENTS => 0,
    ENABLED => FALSE,
    COMMENTS => 'Highway Driving Conditions FTP Program');
    Do anybody know how I can get this to work in a browser? Or why I am getting this error?
    Thanks!

    Agowda wrote:
    hi
    I'm just passing the values to the procedure .
    Procedure is stored on a remote machine
    procedure has a ddlAnd the DDL will implicitly issue a commit before and after that DDL statement (as all DDL statements do). So you ARE doing a commit in a romote procedure call, hence why you're getting the error.
    If you want to remotely create a user you need to issue the DDL in the manner I described.

  • Ora-29886 feature not supported for domain indexes ??

    Could anyone tell me the reason for the following error
    ora-29886 feature not supported for domain indexes
    What are domain indexes ..??
    Thanks in advance ..

    It would have been better if you posted the statement that caused the error.
    If you are using something like MERGE INTO, it is not supported with with Domain Indexes. Workaround is to complete your insert with individual insert statements or drop the Domain Index before insert and recreate the index after insert
    Domain indexes are built for specific applications (specific domain) like Oracle text, Oracle Spatial etc. So depending on what application you are running, you might be using domain indexes. You create domain indexes as you create b-tree indexes, but the difference is that you have to define the INDEXTYPE.
    You can find domain indexes in DBA_SECONDARY_OBJECTS. Find the index on the table you are using, then check the definition of the index and see what it looks like.

  • RAID 5 raidctl -- operation not support with volume of this level

    How can I make a RAID-5 with 6 disks?
    raidctl -c -r 5 c1t2d0 c1t3d0 c1t4d0 c1t5d0 c1t6d0
    Creating RAID volume will destroy all data on spare space of member disks, proceed (yes/no)? yes
    Operation not support with volume of this level.
    I'm not sure what the message "Operation not support with volume of this level" means or how to fix it.

    Hi,
    I presume you are trying to create a RAID volume on the internal disks of a Sun Server?
    If so the LSI RAID controller chip may not support RAID5 in this server.
    What is the model of the Sun Server Hardware you are trying this on?
    You may also wish to post the output of "raidctl -S" to show us the particular LSI
    RAID chip in use.
    ta

  • Can't listen for connections - Operation not supported

    Hi,
    We have install OSB Client on HP-UX 11i V2 HP rx5670 Server as per Oracle Secure backup Installation Guide.
    But we are getting following error message. Please help us to solve the issue:
    2010/12/29.10:23:02 can't listen for connections - Operation not supported
    # /sbin/init.d/OracleBackup start
    Starting Oracle Secure Backup services daemon.
    2010/12/29.10:23:27 can't listen for connections - Operation not supported
    Thanks
    Khairul/Bangladesh

    Have a look at the observiced.log file to see if that has any more detail, this is in /usr/tmp.
    I would check to see if there is something else on the system that is using TCP port 400 or 10000. On Solaris I've seen the webmin installation using port 10000. Both those ports need to be free for OSB to be able to start.
    With OSB stopped, you can "telnet <hostname> 400" and "telnet <hostname> 10000" to see if it connects. If it does then something is listening on that port.
    You should be able to do "netstat -na" as well, to show you listening ports.
    Rich

  • ORA-19201: Datatype not supported when validating XML against an XSD

    Hello.
    Info: using Oracle 10.2.0.1.0, Java components are installed.
    I've created an XML view using ora:view, which is validated against a registered XSD. This view is created successfully.
    But when I SELECT * from this view, it gives ORA-19201 - Datatype not supported.
    Can't understand why. I've matched the XML to the XSD, and the datatypes all look fine to me. I've referred to the XSD using the XMLFORMAT.CREATEFORMAT option. When I use the same option to specify "NO_SCHEMA", it returns the correct XML, but we need to validate it against the XSD.
    I'm thinking one of two things has happened here:
    1. I've made a mistake with either my registration, or how I've used XMLFORMAT to refer to the XSD.
    2. There's a bug in Oracle.
    My money's on 1. Can anyone help?
    Thanks,
    Ray.

    Hello Geoff, I didn't want to send any code until I knew someone was willing to look at it (there's a lot of it).
    Here is the XSD:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <!--W3C Schema generated by XMLSpy v2006 rel. 3 sp1 (http://www.altova.com)-->
    <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
         <xs:element name="TransInfo">
              <xs:complexType>
                   <xs:sequence>
                        <xs:element name="PIE_ERROR" type="PIE_ERRORType" minOccurs="0"/>
                        <xs:element name="Transaction" type="TransactionType" maxOccurs="unbounded"/>
                   </xs:sequence>
              </xs:complexType>
         </xs:element>
         <xs:complexType name="PIE_ERRORType">
              <xs:sequence>
                   <xs:element ref="ERROR_CODE"/>
                   <xs:element ref="DESCRIPTION"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="ERROR_CODE">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="0001"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="DESCRIPTION">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="LEAD NUMBER 12345 IS INVALID"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:complexType name="TransactionType">
              <xs:sequence>
                   <xs:element ref="TRANSACTION_NUMBER"/>
                   <xs:element ref="TRANSACTION_STATUS"/>
    <xs:element ref="CONTACT_ID"/>
                   <xs:element ref="INVOICE_NUMBER"/>
                   <xs:element ref="CHANNEL"/>
                   <xs:element ref="CSA"/>
                   <xs:element ref="OPEN_DATETIME"/>
                   <xs:element ref="CLOSED_DATETIME"/>
                   <xs:element name="Orderline" type="OrderlineType" maxOccurs="unbounded"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="TRANSACTION_NUMBER">
              <xs:simpleType>
                   <xs:restriction base="xs:int">
                        <xs:enumeration value="3455229"/>
                        <xs:enumeration value="3455230"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="TRANSACTION_STATUS">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="C"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="CONTACT_ID">
              <xs:simpleType>
                   <xs:restriction base="xs:int">
                        <xs:enumeration value="111"/>
                        <xs:enumeration value="222"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="INVOICE_NUMBER">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="123456789"/>
                        <xs:enumeration value="987654321"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="CHANNEL">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="Test 1"/>
                        <xs:enumeration value="Test 2"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="CSA">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="SEARLEA"/>
                        <xs:enumeration value="SILVAJ"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="OPEN_DATETIME">
              <xs:simpleType>
                   <xs:restriction base="xs:dateTime">
                        <xs:enumeration value="2001-10-26T20:32:52"/>
                        <xs:enumeration value="2004-12-06T10:23:25"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="CLOSED_DATETIME">
              <xs:simpleType>
                   <xs:restriction base="xs:dateTime">
                        <xs:enumeration value="2001-10-26T21:32:52"/>
                        <xs:enumeration value="2004-12-06T10:23:25"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:complexType name="OrderlineType">
              <xs:sequence>
                   <xs:element ref="ORDER_QTY"/>
                   <xs:element ref="RETAIL_AMT"/>
                   <xs:element ref="SALE_AMT"/>
                   <xs:element ref="PRODUCT_DESCR"/>
                   <xs:element ref="PART"/>
                   <xs:element ref="IMEI"/>
                   <xs:element name="BankDetails" type="BankDetailsType"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="ORDER_QTY">
              <xs:simpleType>
                   <xs:restriction base="xs:int">
                        <xs:enumeration value="1"/>
                        <xs:enumeration value="3"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="RETAIL_AMT">
              <xs:simpleType>
                   <xs:restriction base="xs:decimal">
                        <xs:enumeration value="45.67"/>
                        <xs:enumeration value="54.76"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="SALE_AMT">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="45.67"/>
                        <xs:enumeration value="54.76"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="PRODUCT_DESCR">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="Product test 2"/>
                        <xs:enumeration value="Vodafone Nokia 6230 Pack"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="PART">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="6806"/>
                        <xs:enumeration value="8606"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="IMEI">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="099000000000001"/>
                        <xs:enumeration value="09900078900001"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:complexType name="BankDetailsType">
              <xs:sequence>
                   <xs:element ref="BANK_NAME"/>
                   <xs:element ref="ACCOUNT_NAME"/>
                   <xs:element ref="ACCOUNT_NUMBER"/>
                   <xs:element ref="SORT_CODE"/>
              </xs:sequence>
         </xs:complexType>
         <xs:element name="BANK_NAME">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="HSBC"/>
                        <xs:enumeration value="LLOYDS"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="ACCOUNT_NAME">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="MR A SEARLE"/>
                        <xs:enumeration value="MR J SILVA"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="ACCOUNT_NUMBER">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="87698789"/>
                        <xs:enumeration value="89769082"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
         <xs:element name="SORT_CODE">
              <xs:simpleType>
                   <xs:restriction base="xs:string">
                        <xs:enumeration value="100928"/>
                        <xs:enumeration value="123346"/>
                   </xs:restriction>
              </xs:simpleType>
         </xs:element>
    </xs:schema>
    I then registered this XSD using DBMS_XMLSCHEMA.REGISTER, calling it test_1.xsd. It is visble in USER_XML_SCHEMAS.
    Here are the 15 views used to drive the XML:
    SQL> desc v_pie_branch
    Name Null? Type
    BRANCH NOT NULL NUMBER(4)
    SQL> desc v_pie_branch_feature
    Name Null? Type
    BRANCH_FEATURE NOT NULL NUMBER(10)
    BRANCH NUMBER(4)
    FEATURE_TYPE VARCHAR2(10)
    CHANNEL VARCHAR2(40)
    SQL> desc v_pie_transaction
    Name Null? Type
    TRANSACTION_NUMBER NOT NULL NUMBER(10)
    BRANCH NUMBER(4)
    EMPLOYEE_TRANS VARCHAR2(12)
    CONTACT NUMBER(8)
    OPEN_DAT DATE
    OPEN_TIM DATE
    TRANSACTION_STATUS VARCHAR2(1)
    TRANS_TYPE VARCHAR2(1)
    CLOSED_DAT DATE
    CLOSED_TIM DATE
    INVOICE_NUMBER NUMBER(10)
    INVOICE_DAT DATE
    CSA VARCHAR2(12)
    CREATED_ON DATE
    AMENDED_BY VARCHAR2(12)
    AMENDED_ON DATE
    OPEN_DATETIME VARCHAR2(19)
    CLOSED_DATETIME VARCHAR2(19)
    SQL> desc v_pie_bank_detail
    Name Null? Type
    BANK_DETAIL NOT NULL NUMBER(12)
    BANKCODE VARCHAR2(40)
    SORTCODE VARCHAR2(40)
    BANK_NAME VARCHAR2(60)
    SQL> desc v_pie_account_detail
    Name Null? Type
    ACCOUNT_DETAIL NOT NULL NUMBER(12)
    BANK_DETAIL NUMBER(12)
    ACCOUNT_NUMBER VARCHAR2(40)
    SORT_CODE VARCHAR2(40)
    ACCOUNT_NAME VARCHAR2(40)
    BANKCODE VARCHAR2(40)
    SQL> desc v_pie_account_link
    Name Null? Type
    ACCOUNT_LINK NOT NULL NUMBER(12)
    CONTACT NUMBER(12)
    ACCOUNT_DETAIL NUMBER(12)
    ACC_LINK_TYP NUMBER(12)
    BNK_SINCE DATE
    AC_DET VARCHAR2(40)
    SQL> desc v_pie_compesn
    Name Null? Type
    COMPESN NOT NULL NUMBER(10)
    CONTACT NUMBER(8)
    IMEI VARCHAR2(25)
    SQL> desc v_pie_contact
    Name Null? Type
    CONTACT_ID NOT NULL NUMBER(8)
    CONTACT_TYP VARCHAR2(1)
    COMPANY NUMBER(10)
    BRANCH NUMBER(4)
    DEAD_FLG VARCHAR2(1)
    FORENAME VARCHAR2(20)
    TITLE VARCHAR2(5)
    MID_INITIAL VARCHAR2(1)
    GENDER VARCHAR2(1)
    FRAUD_FLG VARCHAR2(1)
    SQL> desc v_pie_servcon
    Name Null? Type
    SERVCON NOT NULL NUMBER(10)
    CONTRACT NUMBER(10)
    CONNECTION_CURR NUMBER(10)
    CONTACT NUMBER(8)
    SQL> desc v_pie_tpplan_compline
    Name Null? Type
    TPPLAN_COMPLINE NOT NULL NUMBER(10)
    SERVCON NUMBER(10)
    PPLAN NUMBER(10)
    SQL> desc v_pie_tpplan_comp_detail
    Name Null? Type
    TPPLAN_COMPLINE NOT NULL NUMBER(10)
    RULE_DETAIL_NO NOT NULL VARCHAR2(5)
    RULE_DETAIL_LINE NOT NULL NUMBER(2)
    U_VERSION VARCHAR2(1)
    OPTION VARCHAR2(40)
    OPT_STRING VARCHAR2(40)
    SQL> desc v_pie_tpplan
    Name Null? Type
    SERVCON NOT NULL NUMBER(10)
    PPLAN NOT NULL NUMBER(10)
    U_VERSION VARCHAR2(1)
    SQL> desc v_pie_connection
    Name Null? Type
    CONNECTION NOT NULL NUMBER(10)
    CONTACT NUMBER(8)
    ADDRESSNO NUMBER(5)
    TRANSACTION NUMBER(10)
    TPRODLINE NUMBER(10)
    CONTRACT NUMBER(10)
    SERVCON NUMBER(10)
    SQL> desc v_pie_tprodline
    Name Null? Type
    TRANSACTION NOT NULL NUMBER(10)
    TPRODLINE NOT NULL NUMBER(10)
    CONTACT NUMBER(8)
    PRODUCT NUMBER(10)
    ORDER_QTY NUMBER(12)
    RETAIL_AMT NUMBER
    SALE_AMT NUMBER
    SQL> desc v_pie_product
    Name Null? Type
    PRODUCT NOT NULL NUMBER(10)
    PART VARCHAR2(20)
    PRODUCT_DESCR VARCHAR2(40)
    This is the code to create an XML view, validating against the schema:
    create OR REPLACE VIEW v_xml_validate AS
    SELECT SYS_XMLAGG(XMLQuery('
    <PIE_ERROR>
    <ERROR_CODE>"0001"</ERROR_CODE>
    <DESCRIPTION>"There was an error with this customer"</DESCRIPTION>
    </PIE_ERROR>,
    <Transaction>
    {for $t in ora:view("V_PIE_TRANSACTION")/ROW
        ,$ct in ora:view("V_PIE_CONTACT")/ROW
        ,$b in ora:view("V_PIE_BRANCH")/ROW
        ,$bf in ora:view("V_PIE_BRANCH_FEATURE")/ROW
    where $t/CONTACT = $ct/CONTACT_ID
    and   $t/BRANCH = $b/BRANCH
    and   $b/BRANCH = $bf/BRANCH
    return ($t/TRANSACTION_NUMBER
            ,$t/TRANSACTION_STATUS
            ,$ct/CONTACT_ID
            ,$t/INVOICE_NUMBER
            ,$bf/CHANNEL
            ,$t/CSA
            ,$t/OPEN_DATETIME
            ,$t/CLOSED_DATETIME
            ,<Orderline>
                  {for $tpl in ora:view("V_PIE_TPRODLINE")/ROW
                      ,$pr  in ora:view("V_PIE_PRODUCT")/ROW
                      ,$cmpesn  in ora:view("V_PIE_COMPESN")/ROW
                   where $tpl/TRANSACTION eq $t/TRANSACTION_NUMBER
                   and   $tpl/PRODUCT eq $pr/PRODUCT
                   and   $ct/CONTACT_ID eq $cmpesn/CONTACT
                   return ($tpl/ORDER_QTY
                          ,$tpl/RETAIL_AMT
                          ,$tpl/SALE_AMT
                          ,$pr/PRODUCT_DESCR
                          ,$pr/PART
                          ,$cmpesn/IMEI
                          ,<BankDetails>
                               {for $conn in ora:view("V_PIE_CONNECTION")/ROW
                                for $scon in ora:view("V_PIE_SERVCON")/ROW
                                for $tpp in ora:view("V_PIE_TPPLAN")/ROW
                                for $tppc in ora:view("V_PIE_TPPLAN_COMPLINE")/ROW
                                for $tppcd in ora:view("V_PIE_TPPLAN_COMP_DETAIL")/ROW
                                for $al in ora:view("V_PIE_ACCOUNT_LINK")/ROW
                                for $ad in ora:view("V_PIE_ACCOUNT_DETAIL")/ROW
                                for $bd in ora:view("V_PIE_BANK_DETAIL")/ROW
                                where $conn/CONTACT eq $ct/CONTACT_ID
                                and   $scon/CONTACT eq $conn/CONTACT
                                and   $tpp/SERVCON eq $scon/SERVCON
                                and   $tppc/SERVCON eq $tpp/SERVCON
                                and   $tppc/PPLAN eq $tpp/PPLAN
                                and   $tppcd/TPPLAN_COMPLINE eq $tppc/TPPLAN_COMPLINE
                                and   $al/AC_DET eq $tppcd/OPT_STRING
                                and   $ad/ACCOUNT_DETAIL eq $al/ACCOUNT_DETAIL
                                and   $bd/BANK_DETAIL eq $ad/BANK_DETAIL
                                return ($bd/BANK_NAME
                                       ,$ad/ACCOUNT_NAME
                                       ,$ad/ACCOUNT_NUMBER
                                       ,$ad/SORT_CODE
    </BankDetails>
    </Orderline>
    </Transaction>'
    RETURNING CONTENT),
    XMLFORMAT.CREATEFORMAT('TransInfo','USE_GIVEN_SCHEMA','test_1.xsd', 'http://xmlns.cpw.co.uk/CPW/EPOS/Order/RetrieveTransaction/RetrieveTransaction', NULL, NULL)) AS xml_string FROM DUAL;
    The view is created with no errors. Selecting * from it, however, gives:
    ORA-19201 - Datatype not supported
    Marrying the XML to the XSD shows nothing obviously wrong.
    Thanks,
    Ray.

  • Enhancement Implementation - Operation not supported by the selected object

    Hi,
    I have created an Enhancement Implementation (EI) of Enhancement Spot BADI_ACC_DOCUMENT via transaction SE19. When activating the EI, the following message occurs and the EI is not activated:
    Operation not supported by the selected object
    Message no. SEU_MANAGER061
    I have searched the forum and service marketplace for the message, but I still have no resolution of the problem. Any help is greatly appreciated.
    Thank you.

    It turned out to be a basis problem. Looking into transaction SM21 showed that the database was full.

  • "Operation not supported by backend" while getting photos from camera

    The situation is as follows:
    I'm trying to copy photos from camera using a file manager (thunar in this case). The attempt fails with a message "Operation not supported by backend".
    Configuration:
    uname: Linux xxx 3.9.6-1-ARCH #1 SMP PREEMPT Fri Jun 14 08:12:55 CEST 2013 x86_64 GNU/Linux
    libgphoto2 2.5.2-1
    gphoto2 2.5.2-1
    gvfs 1.16.3-1
    gvfs-gphoto2 1.16.3-1
    thunar 1.6.3-1
    mount info for this case:
    gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=100)
    What is known:
    Everything was fine on 2013/06/13 - I was performing successfull copying operation on the day.
    The exactly same message started to appear on a different machine running Arch, with both unupdated Nautilus from 2.x line and latest pcmanfm. No other machines were tested.
    Only copying and moving files/directories via file manager doesn't work. I can browse the camera and delete files and directories with no problems.
    I can copy the files using cp (via gvfs mount).
    I can grab the files using gphoto2 from command line.
    Applications are able to open the files with no problems (via gvfs mount).
    Downgrading gvfs, gvfs-gphoto2, gphoto2 and libgphoto2 to versions from before 2013/06/13 doesn't fix the issue.
    Logs are clear.
    First I suspected that something is wrong with gvfs or libgphoto2, but I'm able to use them with no problems, as long as I don't try to copy a file via file manager. This could mean something is wrong with the file manager, but the issue suddenly affected three different file managers on two independent machines. And the logs remain silent. I have no idea how to deal with the issue.

    mpan wrote:Usable workaround, not requiring additional tools, was posted in the first post: use cp on mounted partition or gphoto2. The problem is not how to retrieve the files, as this is obvious, but how to copy them using file manager or how to trace source of the problem.
    Stupid me. Yes, you mentioned that. Sorry.

  • Cant Log In - getty: dev/console: Operation not supported by device

    Hello. My computer performance has dropped so I decided to run cron tasks and to rebuild the Launch Database. After doing this, I restarted my computer and all seemed well. I got to the login screen, clicked on my name, entered by credentials, and clicked login. I have my computer forced to use verbose mode for startup, shutdown, login, etc. So, at this point, the computer goes to the black verbose screen and I get a message that says:
    getty: dev/console: Operation not supported by device
    It hangs on that screen for about a minute and then returns back to the login screen. Same thing happens for all users, mine, the guest account, and the root account.
    I tried safe boot. Of course that was all happening in verbose mode, and stuff was flying on the screen. I left the room for a minute, and when I came back, the computer was off, so I started again and still couldn't log in.
    I reset PRAM and NVRAM to no avail.
    Any suggestions would be greatly appreciated. I would rather not have to archive and install because the space on my laptop is very limited and I might not have room for a complete archive and install.
    Thanks.

    in my case I looked back at the system.log when things were good and out of the blue (no punintended), crashdump 'crashed' with a segmentation fault (signal 11). Then getty starting restarting and now this happens on every boot. I replaced crashdump from the install disk and the same thing happens. Bad data should not cause a Unix process to take a segmentation fault (if written correctly) since this is a bad instruction/memory reference. So I am skeptical if a reinstall will help.

  • "Auth type not supported by External DB" error for web-auth SSIDs

    Hello
    We're having a problem with web-authentication on our 4404/WisM controllers since we moved to software rev 5.x (currently running 5.1.151.0).
    With software rev 4.x our web-auth SSIDs would send the authentication requests to a Cisco ACS4.0 which would then authenticate the users against MS Active directory.
    Now (with rev 5.x) the same SSIDs cannot authenticate users against AD, the error in the ACS is:
    Auth type not supported by External DB
    Found the following Cisco Doc regarding the problem: Cisco Secure ACS and Windows AD EAP/802.1x port authentication fails with the Auth type not supported by External DB error message - Case Number K24308566. Done a packet capture on ACS to see authentications coming in and the ones that fail with above error are using CHAP - from the Cisco documentation, MS AD doesn't support CHAP.
    Any ideas on how I can get the web-auth working again with software rev 5.x ?
    Thanks
    Andy

    my apologies - theres a setting under Controller - General for Web Radius Authentication. changed this from CHAP to PAP and its now working ok.

  • Cannot get brand new hard drive to work. Disk utility states operation not supported when I try to erase or partition?

    Without any success, I cannot get my hard drive to work in disk utilities. I am able to see the disk in the upper left hand column, but when trying to initiliaze the software always reads operation not supported. Any ideas?

    You probably have too new a hard disk.  Contact the hard disk manufacturer and ask what jumper setting is needed to drop to 1.5 Gbps SATA speed.
    Either that, or return the disk, and go to http://www.macsales.com/
    They can be sure to equip you with a proper hard disk.
    Note formatting is key as well:
    http://discussions.apple.com/docs/DOC-3003

  • How to find table with colum that not support by data pump network_link

    Hi Experts,
    We try to import a database to new DB by data pump network_link.
    as oracle statement, Tables with columns that are object types are not supported in a network export. An ORA-22804 error will be generated and the export will move on to the next table. To work around this restriction, you can manually create the dependent object types within the database from which the export is being run.
    My question, how to find these tables with colum that that are object types are not supported in a network export.
    We have LOB object and oracle spital SDO_GEOMETRY object type. our database size is about 300G. nornally exp will takes 30 hours.
    We try to use data pump with network_link to speed export process.
    How do we fix oracle spital users type SDO_GEOMETRY issue during data pump?
    our system is 32 bit window 2003 and 10GR2 database.
    Thanks
    Jim
    Edited by: user589812 on Nov 3, 2009 12:59 PM

    Hi,
    I remember there being issues with sdo_geometry and DataPump. You may want to contact oracle support with this issue.
    Dean

  • When will external table field_list in access parameters support varchar2?

    Hello all,
    Currently I'm working on a CSV error check/upload/download utility (in pl/sql) using external tables. However, within the access parameters section, when I tried to use varchar2 in the field list to map to data fields in csv, oracle (10g) complaint that I cannot use varchar2.
    Therefore I am forced to use char (Feuerstein explictly told us not to use varchar in PL/SQL Programming) to map to the data. However, since some fields in the DB are actually varchar2(4000), and the max length supported by char type in sqlplus is 2000, I'm creating this ridiculous machine:
    - data in csv can hava a maxlength of 4000 characters
    - staging table to which csv data will go to is varchar2(4000)
    - field list in external table creates a bottleneck of char(2000)
    As a result, I'm betting on the user never will enter any string longer than 2000 character into csv, even though the DB supports it. However, this would be way too fragile to go into production.
    Does anybody know if Oracle 11g external tables support varchar2, or are there any workarounds (besides using sqlldr)? Many thanks.

    Hi, my external table spec is something like this:
    create table x_table (
    field1           varchar2(4000),
    field2           varchar2(4000),
    field3           varchar2(4000))
    organization external (type oracle_loader default directory ext_tab_dir
              access parameters (
              records delimited by newline
              badfile ext_tab_dir:'importcsv.bad'
              discardfile ext_tab_dir:'discarded.txt'
              logfile ext_tab_dir:'importcsv.log'
              skip 1
              fields terminated by '|' lrtrim
              missing field values are null
              reject rows with all null fields
              (field1 char(2000),
              field2           char(2000),
              field3           char(2000))
              location ('test_xtable.csv'))
              reject limit unlimited;
    The portion below the phrase "reject rows with all null fields" is what I meant by "field mapping", since I use it to match the csv structure. The order within the fields specification above the "organization external" can be rearranged any way I like, as long as the field name has a matching one in the "field mapping". Right now, I can only use char(2000) or varchar(2000) in the "field mapping" area, but not varchar2. Any ideas?

Maybe you are looking for

  • Can I reinstall Windows 7 on Boot Camp with the same product key?

    I have run into some issues with my Windows partition, so I want to reinstall Windows 7. I have a genuine copy of Windows 7 Ultimate Edition. What I wish to do is to completely remove the Boot Camp partition, and then create a new one and install Win

  • Unique drilldown for rows

    Hi. I have a structure where I have affiliate sale in one row  and third party sale in the second. I need to display material groups under affiliate sale and sold to parties under third party sale. Of course i can drilldown by sold to party or materi

  • N9 sync contacts and calendar

    hi, asI unterstand there is no way to sync outlook with the n9 at the moment (why?). could you please add then somewhere a tutorial how to get/sync contacts/calender from the ms outlook to the n9 (if possible not using online services from google or

  • Giving to @XmlJavaTypeAdapter a generic type value

    Hi all I have a critical problem with adapters used at jaxb unmarshall some of my fields have type enumeration. I decided that is best to use same adapter class for all enums so i created a generic enumeration adapter. I'm not sure if is 100% ok but

  • How do I restore tool bar that has history, bookmarks, tools, view ans edit on it?

    Some how I deleted the tool bar that contains following items - File, Edit, History, Bookmarks, Tools, Help. How do I restore this tool bar?