A problem of external tables

Hi All,
I am having an oracle server and a file server.
I want to keep data file in file server.
I am able to create directory in oracle.
I am able to create table succesfully.
But I am getting error while giving select query.
Please help.
Thanks

My codes are like that
Create or replace directory ext_dir as 'C:\test';
drop table ext_table_fixed;
Create table ext_table_fixed (
col1 char(4),
col2 char(5)
organization external (
type oracle_loader
default directory ext_dir
access parameters (
records delemeted by newline
fields (
col1 position (1:4) char(4),
col2 position (5:9) char(5)
location ('a.txt')
) reject limit unlimited;
Select * from ext_table_fixed;
Error
ORA-29913: ODCIEXTTABLEOPEN error in executing string callout
ORA-29400: data cartridge error string
KUP-00554: error encountered while parsing access parameters
KUP-01005: syntax error: found "identifier": expecting one of: "badfile, byteordermark, characterset, discardfile, exit, fields, fixed, load, logfile, nodiscardfile, nobadfile, nologfile, date_cache, string, skip, variable"
KUP-01008: the bad identifier was: delemeted
KUP-01007: at li

Similar Messages

  • Synonym problem with external table in materialized view

    I have a materialized view that includes selects on two external tables.
    However, no matter how I try to access the external tables, the creation fails with a "Synonym Translation Is No Longer Valid" (ORA-00980) error.
    This happens even when I replace the tablename with the full table name, including the link.
    I can create a view just fine, but if I then try something like CREATE MATERIALIZED VIEW mvw_my_view AS SELECT * FROM vw_my_view (where vw_my_view is the view in question), it still throws the Synonym Translation exception.

    00980, 00000, "synonym translation is no longer valid"
    // *Cause: A synonym did not translate to a legal target object. This
    //         could happen for one of the following reasons:
    //         1. The target schema does not exist.
    //         2. The target object does not exist.
    //         3. The synonym specifies an incorrect database link.
    //         4. The synonym is not versioned but specifies a versioned
    //            target object.
    // *Action: Change the synonym definition so that the synonym points at
    //          a legal target object.It is really, Really, REALLY difficult to fix a problem that can not be seen.
    use COPY & PASTE so we can see what you do & how Oracle responds.

  • Unix permission problem for external table in oracle 10g, sun solaris

    Hello All,
    I'm facing a problem in accessing external table which has stumped me a bit.
    What I'm looking for is to use a external table with restricted permission to Others(770) on unix.
    Would appreciate if someone helps me out here.
    Here are the steps:
    1.create directory ext_tab_dir1 as '/home/ravi/test'
    2.grant read,write on directory ext_tab_dir1 to scott
    3.CREATE TABLE scott.emp_load1(employee_number CHAR(5))
    ORGANIZATION EXTERNAL (
    type oracle_loader
    default directory ext_tab_dir1
    access parameters (
    records delimited by newline
    fields terminated by ' '
    optionally enclosed by '"'
    missing field values are null
    location ('info.dat')
    Now I have added unix user oracle to unix group myDbGroup and provided myDbGroup read/write/exec permission on directory /home/ravi/test.
    info.dat has been placed in /home/ravi/test.
    #pwd
    /home/ravi
    #ls -l
    drwxrwx--- 2 ravi myDbGroup 512 Mar 7 17:35 test
    I have manually logged in as user oracle and successfully created a sample file in /home/ravi/test.
    -rwxrwx--- 1 ravi myDbGroup 13 Mar 7 17:33 info.dat
    -rw-r--r-- 1 oracle oinstall 0 Mar 7 18:05 sampleFile
    I then connect to the db using sqlplus as ravi and do a
    #select * from scott.emp_load1
    I get the following error
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: unable to open log file emp_load1_18567.log
    OS error Permission denied
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    After this, I gave full permission to /home/ravi/test
    drwxrwxrwx 2 ravi myDbGroup 512 Mar 7 17:35 test
    #select * from scott.emp_load1
    And this was successful.
    It created a log file in /home/ravi/test
    -rwxrwx--- 1 ravi myDbGroup 13 Mar 7 17:33 info.dat
    -rw-r--r-- 1 oracle oinstall 0 Mar 7 18:05 sampleFile
    -rw-r--r-- 1 oracle oinstall 0 Mar 7 18:05 emp_load1_18567.log
    Now what stumped me is the owner and group owner of the file emp_load1_18567.log.
    It is same as the sampleFile which I created manually!!
    From this it can be deducted oracle is not using user id oracle while reading/writing to the unix directory but somehow assigning user id oracle as owner to the log file at the end.
    If someone has encountered this problem earlier or has some info about this...pls share.
    Regards,
    Ravinandan

    Thanks for the reply.
    I have earlier checked this with NOLOGFILE option.
    But no luck.
    I would like to add one more detail(which I missed earlier) about the problem.
    If I give 750 access to /home/ravi(That is read/exec to Group and none perm to Others),
    I will get the same error(KUP-04063: unable to open log file emp_load1_18567.log).
    This obviously means oracle is not even able to access the directory(Although unix user oracle has access via the group perms).

  • Problem in external table

    Hi,
    Oracle Version:10.2.0.1
    Operating system:Linux
    Here i created the external table successfully and when fetching the records for the text file i am getting some problem.
    Here is my external table creation syntax.
    create table sample_ext1 (DETAIL_SEQ_NUM number(15,0),
    REPAY_IDENTIFIER varchar(20),
    REPAY_STATUS varchar(20),
    VISA_CODE VARCHAR2(30),
    NCN_CODE VARCHAR2(10 ),
    AUTH_NUMBER VARCHAR2(10 ),
    EXTENDED_STATUS VARCHAR2(20 )
    organization external
    ( default directory APD_EXTRACTS
      access parameters( RECORDS DELIMITED BY NEWLINE
    FIELDS TERMINATED BY 0X'09'
    MISSING FIELD VALUES ARE NULL) location ('sample.txt'));
              and my sample.txt file data is
    1000      james      anderson      51      3      630-033      75188553     
    1001      james      anderson      52      3      630-034      75188554     
    1002      james      anderson      53      3      630-035      75188555     
    1003      james      anderson      54      3      629-959      75188556     
    1004      james      anderson      50      2                75188552     
    1005      james      anderson      55      2                75188557     
    1006      james      anderson      56      2                75188558     
    1007      james      anderson      57      2                75188559     
    1008      james      anderson      58      2                75188560     
    1009      james      anderson      59      2                75188561and the output is
    1000     james      anderson      51      3      630-033      75188553
    1001     james      anderson      52      3      630-034      75188554
    1002     james      anderson      53      3      630-035      75188555
    1003     james      anderson      54      3      629-959      75188556
    1004     james      anderson      50      2           
    1005     james      anderson      55      2           
    1006     james      anderson      56      2           
    1007     james      anderson      57      2           
    1008     james      anderson      58      2           
    1009     james      anderson      59      2           here my problem is in the sixth column i am having some null values in sample.txt file as shown above but in the out put i am getting null values in last column also but there is data .
    Please help me how to solve my problem.
    Thanks & Regards,
    Poorna Prasad.

    Hi All,
    My problem was solved her what i did wrong is at first i made some changer manually to my sample.txt file.But after loading the original fiile as it is with editing it i get the correct output .
    Thanks & Regards,
    Poorna Prasad.

  • Weird problem using external tables

    Hi,
    Please move my message to the correct forum if it is not in the right one.
    Problem:
    I have the following external table definition:
    CREATE TABLE blabla (
         AANSLUITINGSNR_BV NUMBER(15),
         BSN_NR               NUMBER(9),
         DATUM_AANVANG_UKV          DATE,     
         DATUM_EIND_UKV               DATE,
         BEDR_WAO_WERKN_REFJ          number(18),
         BEDR_WAO_WERKG_REFJ          NUMBER(38)                              
    ORGANIZATION EXTERNAL (
    TYPE oracle_loader
    DEFAULT DIRECTORY nood_dir
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY NEWLINE
    FIELDS TERMINATED BY ';'
    MISSING FIELD VALUES ARE NULL
         "AANSLUITINGSNR_BV",
         "BSN_NR",           
         "DATUM_AANVANG_UKV"      DATE "YYYYMMDD",
         "DATUM_EIND_UKV"          DATE "YYYYMMDD",
         "BEDR_WAO_WERKN_REFJ",
         "BEDR_WAO_WERKG_REFJ"
    LOCATION ('myfile.csv')
    REJECT LIMIT UNLIMITED;
    My file looks like this:
    107031035423278;913487654;20010101;20011231;3231729003;8334195582
    128039008378982;117347347;20010101;20011231;1606131689;4468506457
    134740829467773;450263934;20010101;20011231;9568986434;526201096
    141020256280899;782714783;20010101;20011231;33235678;2398903683
    146130347251892;960256796;20010101;20011231;441706397;2622754437
    151020336151123;441010528;20010101;20011231;8183416412;6077359802
    152888977527618;114572066;20010101;20011231;2370992895;6196483262
    But when selecting the following log is stated:
    error processing column BEDR_WAO_WERKG_REFJ in row 1 for datafile /oracle/db/noodscenario/myfile.csv
    ORA-01722: invalid number
    error processing column BEDR_WAO_WERKG_REFJ in row 2 for datafile /oracle/db/noodscenario/myfile.csv
    ORA-01722: invalid number
    Why is number 8334195582 stated as invalid ?
    Thanks,
    Coen
    Message was edited by:
    Coenos1

    Which Oracle version and OS are you on ? It works perfectly to me :
    $ cat myfile.csv
    107031035423278;913487654;20010101;20011231;3231729003;8334195582
    128039008378982;117347347;20010101;20011231;1606131689;4468506457
    134740829467773;450263934;20010101;20011231;9568986434;526201096
    141020256280899;782714783;20010101;20011231;33235678;2398903683
    146130347251892;960256796;20010101;20011231;441706397;2622754437
    151020336151123;441010528;20010101;20011231;8183416412;6077359802
    152888977527618;114572066;20010101;20011231;2370992895;6196483262
    $ sqlplus test/test
    SQL*Plus: Release 10.2.0.2.0 - Production on Fri Aug 24 10:56:30 2007
    Copyright (c) 1982, 2005, Oracle.  All Rights Reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.2.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> CREATE TABLE blabla (
      2  AANSLUITINGSNR_BV NUMBER(15),
      3  BSN_NR NUMBER(9),
      4  DATUM_AANVANG_UKV DATE,
      5  DATUM_EIND_UKV DATE,
      6  BEDR_WAO_WERKN_REFJ number(18),
      7  BEDR_WAO_WERKG_REFJ NUMBER(38)
      8  )
      9  ORGANIZATION EXTERNAL (
    10  TYPE oracle_loader
    11  DEFAULT DIRECTORY work
    12  ACCESS PARAMETERS (
    13  RECORDS DELIMITED BY NEWLINE
    14  FIELDS TERMINATED BY ';'
    15  MISSING FIELD VALUES ARE NULL
    16  (
    17  "AANSLUITINGSNR_BV",
    18  "BSN_NR",
    19  "DATUM_AANVANG_UKV" DATE "YYYYMMDD",
    20  "DATUM_EIND_UKV" DATE "YYYYMMDD",
    21  "BEDR_WAO_WERKN_REFJ",
    22  "BEDR_WAO_WERKG_REFJ"
    23  )
    24  )
    25  LOCATION ('myfile.csv')
    26  )
    27* REJECT LIMIT UNLIMITED
    SQL> /
    Table created.
    SQL> select * from blabla;
    AANSLUITINGSNR_BV          BSN_NR DATUM_AAN DATUM_EIN BEDR_WAO_WERKN_REFJ BEDR_WAO_WERKG_REFJ
      107031035423278       913487654 01-JAN-01 31-DEC-01          3231729003          8334195582
      128039008378982       117347347 01-JAN-01 31-DEC-01          1606131689          4468506457
      134740829467773       450263934 01-JAN-01 31-DEC-01          9568986434           526201096
      141020256280899       782714783 01-JAN-01 31-DEC-01            33235678          2398903683
      146130347251892       960256796 01-JAN-01 31-DEC-01           441706397          2622754437
      151020336151123       441010528 01-JAN-01 31-DEC-01          8183416412          6077359802
      152888977527618       114572066 01-JAN-01 31-DEC-01          2370992895          6196483262
    7 rows selected.
    SQL>What do you see within the log file ?

  • Problem accessing external table

    Hello,
    When trying to access an external table, we're getting the following error.
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    ORA-01891: Datetime/Interval internal error
    ORA-06512: at "SYS.ORACLE_DATAPUMP", line 19
    Any recommendations?
    Thanks

    Metalink says
    Error:     ORA-1891
    Text:     Datetime/Interval internal error
    Cause:     Internal error.
    Action:     Please contact Oracle Worldwide Support.
    Can't find any other solution

  • Problem in external table & sql*loader

    hi all
    i want to transter data between flat file to oracle database through external table option and sql*loader Utility.
    1. how u make .dat file in external table.
    2. how u make .ctl file in sql*loader utility.
    if u know any good site plz. tell me.
    thanx
    Mohammadi52

    Hi,
    Use this link to search any Oracle documentation:
    http://tahiti.oracle.com/
    Also please have a look on the below link:
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14220/utility.htm
    Regards

  • Problem with external tables

    Hi
    I able to create external tables ,but unbale to query
    I had followed the below steps
    sql> conn system/manager;
    Connected
    SQL> select * from emp;
    EMPNO ENAME DEPTNO
    100 mmm 10
    200 yyy 20
    300 zz 30
    SQL> spool emp.dat
    SQL> select empno ||','||ename||','||deptno from emp;
    EMPNO||','||ENAME||','||DEPTNO
    100,mmm,10
    200,yyy,20
    300,zz,30
    sql>create directory x as 'd:\oracle\y'
    Directory is created
    SQL> create table ext(empno char(4),ename char(10),deptno char(2))
    2 organization external (type oracle_loader default directory x access
    parameters(fields terminated by ','
    3 (empno,ename,deptno))
    4 location('emp.dat'));
    Table created.
    SQL> select * from ext;
    select * from ext
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04040: file emp.dat in x not found
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    Thanks inadvance
    Mohan

    Yea - there's nothing here that shows that you are pointing at that dir when you do the spool command.
    Also, the headers went into the file. There should only be data. Edit the file and clean it up.
    Maybe start with a very simple hand-edited file with 1 field, and get that to work.
    Tom Best

  • Problem with external  table

    hi,
    i have created a directory as fllows
    create or replace directory ext_dir as 'd:\oracle\ora92'.
    after that i created a csv file called test.csv in the same directory.
    When i am trying to create an external table i am getting the following errors.
    create table ext_table_csv (
    i Number,
    n Varchar2(20),
    m Varchar2(20)
    organization external (
    type oracle_loader
    default directory ext_dir
    access parameters (
    records delimited by newline
    fields terminated by ','
    missing field values are null
    location ('test.csv' )
    reject limit unlimited;
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04040: file test.csv in EXT_DIR not found
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    any help pls.
    regards
    RRK

    SQL> drop table ext_table_csv ;
    Table dropped.
    SQL> create table ext_table_csv (
      2  i number(20),
      3  n CHAR(20),
      4  m CHAR(20)
      5  )
      6  organization external (
      7  type oracle_loader
      8  default directory EXT_DIR
      9  access parameters (
    10  records delimited by newline
    11  fields terminated by ','
    12  missing field values are null
    13  (i char,
    14  n char,
    15  m char)
    16  )
    17  location ('sample.csv' )
    18  )
    19  reject limit unlimited;
    Table created.
    SQL> select * from ext_table_csv;
             I N                    M                                              
             1 a                    x                                              
             2 b                    y                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Problem with External Table using ORACLE_INTERNAL TYPE in 9i release 2

    Hi,
    I have tried to create an external table in oracle 9i release 2 using the following qurey:
    CREATE TABLE emp_ext
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_INTERNAL
    DEFAULT DIRECTORY admin_dat_dir
    LOCATION(admin_dat_dir:'emp1.dmp')
    PARALLEL
    AS
    SELECT * from employees;
    and getting the following error message
    ORA-30657: operation not supported on external organized table
    Please help me.
    Thanks in Advance

    As a matter of fact oracle 9i has two types of api for external tables one is oracle_loader and the other is oracle_internal which in 10g become oracle_datapump.
    What my question is how can I use the other type in case of external table as we are doing in 10g? Do I need to run any script to enable this feature or is there any privillege issue?
    I've given the read, write privillege to the user and the oracle user has read/write permission in os level on the location of the directory.

  • Problem with external tables in 9i

    Okay I have copied the csv file to that directory. I get this error when I run the select statement... basically the fields dont get populated.
    *** SCRIPT START : Session:ADMAP@DEVDB2(1) 13-Nov-2006 16:38:53 ***
    Processing ...
    select * from proc_args
    select * from proc_args
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "identifier": expecting one of: "comma, char, date, defaultif, decimal, double, float, integer, (, nullif, oracle_date, oracle_number, position, raw, recnum, ), unsigned, varrawc, varchar, varraw, varcharc, zoned"
    KUP-01008: the bad identifier was: VARCHAR2
    KUP-01007: at line 5 column 26
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    *** Script stopped due to error ***
    *** SCRIPT END : Session:ADMAP@DEVDB2(1) 13-Nov-2006 16:38:53 ***
    SCRIPTCREATE OR REPLACE DIRECTORY dir AS '/tmp/ext_dir';
    --grant read,write on directory ext_dir to bulk_load;
    CREATE TABLE proc_args (
    argument_name VARCHAR2(50),
    argument_value VARCHAR2(50)
    ORGANIZATION EXTERNAL (
    -- TYPE ORACLE_LOADER
    DEFAULT DIRECTORY dir
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY NEWLINE
    FIELDS TERMINATED BY ','
    MISSING FIELD VALUES ARE NULL
    argument_name VARCHAR2(50),
    argument_value VARCHAR2(50)
    LOCATION ('input_arguments.csv')
    --PARALLEL 5
    --REJECT LIMIT UNLIMITED;
    select * from proc_args

    I think the fields specified in the ACCESS PARAMETERS section should be SQL*Loader datatypes, not standard SQL, e.g.
    CREATE TABLE proc_args (
    argument_name VARCHAR2(50),
    argument_value VARCHAR2(50)
    ORGANIZATION EXTERNAL (
    -- TYPE ORACLE_LOADER
    DEFAULT DIRECTORY dir
    ACCESS PARAMETERS (
    RECORDS DELIMITED BY NEWLINE
    FIELDS TERMINATED BY ','
    MISSING FIELD VALUES ARE NULL
    argument_name CHAR,
    argument_value CHAR
    LOCATION ('input_arguments.csv')
    Other valid types are specified here:
    http://download-west.oracle.com/docs/cd/B19306_01/server.102/b14215/ldr_field_list.htm#sthref1004

  • Problem while selecting data from external tables

    Hi All,
    I am facing a problem with external tabels. I have created an external table
    create table ext_org_table
    ( id varchar2(10)
    , name varchar2(100)
    ,id_parent varchar2(10)
    ,name_parent varchar2(100))
    organization external
    ( type oracle_loader
    default directory MYDIR
    access parameters
    records delimited by newline
         nologfile
         nobadfile
    fields terminated by ','
    missing field values are null
    location ('Orgdata.csv')
    reject limit unlimited;
    The problem is that when i give select * from ext_org_table , i get following error
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04040: file Orgdata.csv in MYDIR not found
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    ORA-06512: at line 1
    Now , i have file Orgdata.csv in the specified directory.
    I have created directory in oracle using create directory command.
    I have granted read,write permission on the directory to user.
    I have given all read,write and execute permissions to folder where my files resides.My file resides in /appl/home/kk
    Now i don't understand why it is giving error file in Mydir not found.
    Kindly suggest.
    Regards
    Krish

    Hi,
    You are obviously doing someting wrong.
    May be the direcotry is not present or may be the file is not rpesent in the directory.
    I just tried ths
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    Connected as SYS
    create directory mydir as 'c:\csv';
    grant read,write on directory mydir to scott;From Scott
    create table ext_org_table
    ( id varchar2(10)
    , name varchar2(100)
    ,id_parent varchar2(10)
    ,name_parent varchar2(100))
    organization external
    ( type oracle_loader
    default directory MYDIR
    access parameters
    records delimited by newline
    nologfile
    nobadfile
    fields terminated by ','
    missing field values are null
    location ('Orgdata.csv')
    reject limit unlimited;
    select * from ext_org_table;Ofcourse i made up some dummy data to test and its all OK.
    again,
    You may want to check if
    1) If the directory exists (select * from all_directories where directory_name='MYDIR');
    2) If the user has the read/write permissions on that directory
    3) If the file orgdata exists in that directory.
    Regards,
    Bhushan

  • External table in Oracle 10g and Windows server 2003 problem

    I'm having a problem accessing an external table in an Oracle 10g and Windows 2003 server environment. The disk is remote (mapped) to the server. It's the usual access errors, kup-04001 or kup-04063.
    I have the [seemingly] exact same setup in an Oracle 9i and Windows 2000 server environment which works perfectly. Services run as local SYSTEM and SYSTEM has full permissions on the disk. Directories exist and so do the permissions to the directories.
    In the Oracle 10g and Windows 2003 environment, services run as local SYSTEM and SYSTEM has full permissions on the mapped disk. Directories exist and so do the permissions to the directories.
    This obviously effects mappings, deployments, etc.
    Does anyone know if something changed in either the db or the os?
    Thank you,
    Michael

    Thank you for your reply.
    Your proposal is the standard solution. As a matter of fact, that's how it is on my "old" system. Server "A" Oracle services are started by SYSTEM. Server "B" Oracle services are started by SYSTEM and is where the flat files reside. SYSTEM has full permissions on a disk local to Server "B". Database directoriies defined on Server "A" point to Server "B" remote disk. External Tables on Server "A" are defined with directories that point to Server "B" remote (mapped) disk. I have no problems with this configuration.
    I'm having a problem acheiving the same configuration with Oracle 10g and Windows 2003. I guess I'm baffled over the fact it isn't working the same way as my "old" environment. Why shouldn't it? Oracle (and you) want me to start services as a specific user. It shouldn't have to be that way unless something changed in the way the database makes calls to the os or if Microsoft slipped something in with one of it's numerous security patches.

  • Problem with a character in an external table

    I have Unix Sun OS 5.8
    I received 1 file with data. The problem is that this file has a character ' ' in the end file then the charge has an error. The character in the end file is in hexadecimal: 0A, 1A.
    Then I have an External table and I put the the clause LOAD WHEN (COMARC != ' ') but when I edit the external table I see LOAD WHEN (COMARC != '.').
    And the last record with the ' ' character doesn’t filter.
    Note: the character isn't a space ' '. It is the hexadecimal: 0A, 1A
    What I have to put in the LOAD WHEN (COMARC != '??????????') to filter this character?

    I put LOAD WHEN (COMARC != x'0A1A') but I receive the error:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-00554: error encountered while parsing access parameters
    KUP-01005: syntax error: found "single-quoted-string": expecting one of: "and, not, or, )"
    KUP-01007: at line 3 column 26
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    If I put:
    LOAD WHEN (COMARC != ' ') for example I don't received any error!
    What happens?
    Thanks!

  • Oracle External Table SELECT FROM problem from workstation

    At Solaris Oracle database server console.
    Created directory on the Solaris server as Oracle owner.
    As SYS created oracle directory object on that Solaris directory
    Granted read/write to SCHEMA_OWNER on that oracle directory object.
    Using OS Oracle user, moved a tab-delimited flat file into the Solaris directory.
    Logged on a SCHEMA_OWNER using SQLPLUS on the Solaris database server.
    Ran external table script in SQLPLUS.
    External table was created.
    Ran Select * from ext_table.
    Appropriate dataset returned.
    So at the Oracle Solaris server console,
    the create external table script worked without errors,
    and a select from statement on the external table worked without errors.
    Move to developer workstation:
    Logged on as SCHEMA_OWNER using SQLPLUS on Windows workstation.
    TNSNAMES of course points to the Solaris database server.
    Ran the external table script in SQLPLUS.
    External table was created.
    Ran Select * from ext_table.
    This failed with these errors:
    ORA29913 error executing ODCIEXTTABLEOPEN callout
    ORA29400 data cartridge error
    cant open logfile.log
    OS permission denied
    ORA06512 sys.oracle_loader line 19
    So how can I select from external tables from a windows workstation?
    Any guidance on this problem would be appreciated.

    Thank you for your response.
    I am not creating the external table on the workstation.
    In both cases,
    from the Solaris console
    and from the Windows workstation
    the external table is being created on the Solaris file system
    in an Oracle Directory object
    running an SQL script from SQLPLUS prompt.
    The external table creator, schema owner, has read and write permissions
    granted by SYS on the oracle directory object.
    The problem is:
    Logged in as the schema owner,
    you can select * from ext_table from the Solaris console SQLPLUS,
    but you can not select * from ext_table from the Windows workstation SQLPLUS.
    You can DROP TABLE ext_table from the Windows workstation SQLPLUS.
    You just cannot select * from ext_table from the Windows workstation SQLPLUS.
    I guess as a test,
    I can drop from the ext_table creation script the references
    to discardfile, badfile, and logfile,
    and remove this other file objects from the equation...
    which appears to be a file permissions problem.

Maybe you are looking for

  • Daisy-chaining firewire devices

    Now that I bought a firewire Audio interface (the Presonus Inspire), I am wondering how to plug in my external firewire HD. Both devices have two firewire sockets, I could daisy-chain them in two ways, right? (Couldn't get it to work today, but the c

  • Oracle 11g EM configuration problem

    It seems a "bug" to me: Windows 2003 R2 64-bit with all up-to-date patches 64-bit Oracle 11.1.0.7 for Windows 2003 R2 64-bit The machine has only one HD right now and it is assigned to H, the DVD drive is assigned to D Installed Oracle 11g, everythin

  • After restart Oracle Report Server some reports start automatically to run.

    When our report server is restarted always a number of reports are started automatically. I don't know why these are started automatically? Is there a avoid starting these reports?

  • ??????? instead cyrillic symbols

    Oracle Report 10g Friends, I recieve '?????' instead cyrillic strings on Web Layout only. Paper Layout works (represents cyrillic) correctly. What to do? Thanks, Vladimir \

  • Problems with pdf to excel conversion

    I purchased the online converision program, and it is not working. The files either stay in limbo or if I try to open them, they are not legible. I also tried to download the Acrobat Pro trial, and the files don't convert.