Help on External Tables

Hi,
I have created the following external table, ext_tab and it got created in the database. This external table, ext_tab, is pointing to a Excel file converted to a CSV file
create table ext_tab (ID NUMBER(20))
Organization external (type oracle_loader
          default directory external_dir
access parameters (records delimited by newline
          fields terminated by ‘,’)
location (‘excel_tab.csv’));
The problem which I am getting is when I am trying to Select query the above table, it gives me the following error.
SQL> select * from ext_tab;
select * from ext_tab
ERROR at line 1:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04063: unable to open log file EXT_TAB_1760_1484.log
OS error The data is invalid.
ORA-06512: at "SYS.ORACLE_LOADER", line 14
ORA-06512: at line 1
I would be grateful if you could help me in rectifying the above problem.
Thanks in advance,
MAK

SQL>
create table ext_tab (
   ID NUMBER)
   Organization external
   (type oracle_loader
    default directory TEST_DIR
    access parameters
   (records delimited by newline
    BADFILE 'bad_emp'
    LOGFILE 'log_emp'
    fields terminated by ','
   (ID CHAR))
   location ('excel_tab.csv'))
   REJECT LIMIT 200;
Table created.
SQL>select * from ext_tab;
ID









10 
11 
12 
13 
14 
15 
16 
17 
18 
19 
20 
21 
22 
23 
24 
25 
26 
27 
28 
29 
30 
31 
32 
33 
34 
35 
36 
37 
38 
39
Run this code (change directory name etc..) and look at the log file and bad file..
If any confusion exists, pls paste the error in log file
Message was edited by:
        jeneesh                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

Similar Messages

  • Help with external table authorization

    Hi Every One,
    I am using OBIEE 11.1.1.6.
    I have setup MSAD authentication through rpd and every user is able to login to analytics.
    And there is an external table in the database where I have all the user and their groups( all users in MSAD are in this table)
    I have created session variable called GROUP to have these usergroups for authorization.
    I have created the groups in the front end with exact names that are in the external table.
    But I cant set up the Required privilages
    every user is seeing all the reports and subject areas.
    Do I need to create the application roles with exact names as groups names in rpd?
    Do i need to create groups in weblogic console?
    Please help me in this regard.

    Hi,
    I have created the groups in the front end with exact names that are in the external table.
    Do I need to create the application roles with exact names as groups names in rpd?No need to create any groups or application roles in rpd.
    Test Authorization init block properly.
    Create application roles under console, which are nothing but groups in your external table. Apply security to dashboards accordingly.
    Regards,
    Srikanth

  • Need Help For External Table

    Gurus,
    I have created a External Table with the Following Script
    CREATE TABLE ext_wdm_rollout_plan_test
    (structure VARCHAR2(50),
    initial_phase VARCHAR2(50),
    chain_rfi VARCHAR2(50),
    chain_anu VARCHAR2(50),
    protected_by VARCHAR2(255))
    ORGANIZATION EXTERNAL (
    DEFAULT DIRECTORY EXTERNAL_TAB_DIR
    ACCESS PARAMETERS(records delimited BY newline
         badfile EXTERNAL_TAB_DIR :'EXT_WDM_ROLLOUT.bad'
         LOGFILE EXTERNAL_TAB_DIR :'EXT_WDM_ROLLOUT.log'
         SKIP 1
         FIELDS TERMINATED BY ',' OPTIONALLY ENCLOSED BY '"'
         missing field VALUES are NULL
    Structure char      
    ,Initial_Phase char
    ,Chain_RFI char
    ,Chain_ANU char
    ,Protected_by char
    LOCATION (
    EXTERNAL_TAB_DIR:'wdm_rollout_plan_test.csv'
    REJECT LIMIT UNLIMITED
    In these Table Some Columns having the Special Character like 'new line feed' ie it looks like a square symbol in my database.
    How can i avoid that kind of special symbols while creating the External Table.
    I tried with the TRIM command also with External Table Scripts but it doesn't works.
    please help me in this issue.
    Regards,
    Venugopal

    Hi,
    Use Substr or Replace functions on them.

  • External Table Problem

    Hi Guys,
    Need your help regarding external tables, I'm using Oracle 10g. I have tried using external tables and almost all of them works except for one. It has a null data on the last field.
    Kindly check what am I missing.
    CREATE TABLE X_MHC_FCSDOC2PROV_02
    DOCTOR_ID VARCHAR2(100 BYTE),
    PROVIDER_ID VARCHAR2(100 BYTE),
    JOIN_DATE VARCHAR2(100 BYTE),
    EXIT_DATE VARCHAR2(100 BYTE),
    ROOM_NUMBER VARCHAR2(100 BYTE),
    AGREEMENT_NUMBER VARCHAR2(100 BYTE),
    CP1_NAME VARCHAR2(100 BYTE),
    CP1_BUSINESS_TEL VARCHAR2(100 BYTE),
    CLINIC_HOUR_MON VARCHAR2(100 BYTE),
    CLINIC_HOUR_TUE VARCHAR2(100 BYTE),
    CLINIC_HOUR_WED VARCHAR2(100 BYTE),
    CLINIC_HOUR_THU VARCHAR2(100 BYTE),
    CLINIC_HOUR_FRI VARCHAR2(100 BYTE),
    CLINIC_HOUR_SAT VARCHAR2(100 BYTE),
    CLINIC_HOUR_SUN VARCHAR2(100 BYTE)
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY MEDILINK_DATA
    ACCESS PARAMETERS
         records delimited by "\n"
         fields missing field values are null
    badfile medilink_data_log:'X_MHC_FCSDOC2PROV_02.bad'
    LOGFILE medilink_data_log:'X_MHC_FCSDOC2PROV_02.log'
    discardfile medilink_data_log:'X_MHC_FCSDOC2PROV_02.dsc'
    fields terminated BY '|'
    reject ROWS WITH ALL NULL fields
    LOCATION (MEDILINK_DATA:'medlnk-docToProv.txt')
    REJECT LIMIT UNLIMITED
    select * from x_mhc_fcsdoc2prov_02
    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 "badfile": expecting one of: "column, exit, (, reject"
    KUP-01007: at line 3 column 1
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    Here is sample of the data.
    medlnk-docToProv.txt
    DR026556|HO008051|11/29/2006 0:0:0|12/31/9999 0:0:0||10095|ANICETA R FUENTENEGRA |2552821|||||||
    DR026556|HO001322|11/29/2006 0:0:0|12/31/9999 0:0:0||10095|ANECITA FUENTENEGRA |2341520|1400 - 1730|1400 - 1730|1400 - 1730||1400 - 1730||
    * The last field is null
    Your help is very much appreciated. I've been researching for days now on how to resolve this issue but still I can't figure it out.
    Thanks.
    Best Regards,
    Earl Del Rosario

    There was syntax problem.
    Try this
    CREATE TABLE X_MHC_FCSDOC2PROV_02
    DOCTOR_ID VARCHAR2(100 BYTE),
    PROVIDER_ID VARCHAR2(100 BYTE),
    JOIN_DATE VARCHAR2(100 BYTE),
    EXIT_DATE VARCHAR2(100 BYTE),
    ROOM_NUMBER VARCHAR2(100 BYTE),
    AGREEMENT_NUMBER VARCHAR2(100 BYTE),
    CP1_NAME VARCHAR2(100 BYTE),
    CP1_BUSINESS_TEL VARCHAR2(100 BYTE),
    CLINIC_HOUR_MON VARCHAR2(100 BYTE),
    CLINIC_HOUR_TUE VARCHAR2(100 BYTE),
    CLINIC_HOUR_WED VARCHAR2(100 BYTE),
    CLINIC_HOUR_THU VARCHAR2(100 BYTE),
    CLINIC_HOUR_FRI VARCHAR2(100 BYTE),
    CLINIC_HOUR_SAT VARCHAR2(100 BYTE),
    CLINIC_HOUR_SUN VARCHAR2(100 BYTE)
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY EXT_DIR
    ACCESS PARAMETERS
    RECORDS DELIMITED BY NEWLINE
    badfile EXT_DIR:'X_MHC_FCSDOC2PROV_02.bad'
    LOGFILE EXT_DIR:'X_MHC_FCSDOC2PROV_02.log'
    discardfile EXT_DIR:'X_MHC_FCSDOC2PROV_02.dsc'
    FIELDS TERMINATED BY '|'
    MISSING FIELD VALUES ARE NULL
    reject ROWS WITH ALL NULL fields )
    LOCATION (EXT_DIR:'medlnk-docToProv.txt')
    REJECT LIMIT UNLIMITED
    Details of directory object EXT_DIR is as belows
    SQL> SElect * from all_directories where directory_name = 'EXT_DIR';
    OWNER DIRECTORY_NAME
    DIRECTORY_PATH
    SYS EXT_DIR
    c:\

  • Need help in Creating External Tables

    Hi All,
    I have a flat file containing numberic data, CLOB data, and also date columns data. I have to load this flat file data into staging server table using External tables. I have to write a stored procedure in such way creating exteranl tables dynamically. My question or need help from you people is that how to define the external table to load the CLOB data from flat file.
    Thanks,
    Sankar

    The LOCATION clause of an external table specifies the file or files to be read when the table is queried. You can change it to refer to different files without dropping and recreating the table and invalidating all dependent code.
    Regarding DBMS_SQL, yes you can do it the hard way if you prefer.
    Good point about CLOB columns in external tables. Quite possibly they are not supported, but I would have to check the manuals and try some examples.

  • External tables with user defined fuction help

    Can any one help me
    I have problem with using user defined function while creating the External table.
    The user defined function Just takes an input empno and returns one number.
    CREATE TABLE EMPXT_1(empno NUMBER(4)
    ORGANIZATION EXTERNAL
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY TEST_DIR
    ACCESS PARAMETERS(
    RECORDS FIXED 4
    STRING SIZES ARE IN BYTES
    NOBADFILE
    NODISCARDFILE
    LOGFILE '211205.KNU.LOG'
    FIELDS
    NOTRIM
    (empno POSITION(1) integer external(4) p_1(:empno)
    LOCATION
    ('empxt_1.dat')
    REJECT LIMIT UNLIMITED
    NOPARALLEL
    content of expxt_1.dat
    7849
    SELECT * from EMPXT_1;
    ERROR at line 1:
    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 "double-quoted-string": expecting one of:
    "comma, defaultif, nullif, optionally, ), terminated"
    KUP-01007: at line 8 column 49
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1

    hi,
    may be u have do these
    for ORA-29913 error
    1. you have to grant read and write to a directory.
    for other errors do check this document
    http://www.lc.leidenuniv.nl/awcourse/oracle/server.920/a96525/kupus.htm
    hope this may help u
    Trinath Somanchi

  • External Table Problem - Need Urgent Help

    Hi All,
    I want to load flat file data to oracle database.
    I have used external table feautre for loading data.
    My data is like
    "F","1","1","KIAWAH ISLAND rated off the pace, rallied to gain command on the far turn, then"
    Now my problem is that fields are terminated with comma but there is a comma inbetween field values. please see last field value (i.e ", then" that is value of third field).
    Now what access parameter should specify to create external table that maps to this type of data. I have used fields terminated by "," and Enclosed by '"' and '"".
    but it still gives me error.
    So, Please help urgently

    Could you post your controlfile?

  • Help Need for External Table

    Gurus,
    While i reading the data from CSV using External Table in some columns the records having the special symbol like 'new line feed'.
    How can i trim that one.
    please help in this issue.

    Hi,
    Use Substr or Replace functions on them.

  • External table - bad row - Please help

    Hi,
    I have one external table which is associated with a LOAN.DAT file.
    If some rows are bad means external table is dumping a bad file with
    the 'bad row' in .bad file. Is there any way to identify what is the reason for
    this or which column caused the row to be bad?
    Regards,
    Mathew Collins.

    Hi Mathew,
    Is there any way to identify what is the reason for this or which column caused the row to be bad?
    Not that know of. I usually just carefully inspect the row and compare it with the format mask:
    I have a reproduceable example, here, this might help:
    http://www.dba-oracle.com/art_ext_tabs.htm
    Hope this helps. . .
    Don Burleson
    Oracle Press author

  • External Table Help

    I have created an external table but when i try to select data it seems to be empty, where could be the problem?
    Thanks

    The log file and bad file are part of the external table definition. I'm not where where Oracle Warehouse Builder (OWB) would put those files-- they may be in the same directory as the data file. You could check the external table definition to be sure, though.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • EXTERNAL TABLES:::HELP ME PLEASE

    HI every body,
    I want to add in the creation of my external table one column which do not exist in my csv file, there is a means in Oracle to do that?
    example: File csv:
    NUM;NAME;ADRESS;TEL
    1;XXX;AZZZ;324342
    2;YYY;RETRET;443443
    and I want in my declaration in my external table add one field which always takes the value "1"
    Thanks

    CREATE TABLE "WISSEM"."TEST_TEMP_TABLE"
         "START_DATE" VARCHAR2(100),
         "END_DATE" VARCHAR2(100),
         "TYPE_FILE" VARCHAR2(1)
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY "TEMP_DIR"
    ACCESS PARAMETERS
    ( records delimited by newline
    badfile TEMP_DIR:'bad.bad'
    logfile TEMP_DIR:'bad.log'
    fields terminated by ';'
    missing field values are null
    START_DATE,
    END_DATE )
    COLUMN TRANSFORMS (TYPE_FILE FROM CONSTANT "0")
    LOCATION
    ( 'csv.csv'
    REJECT LIMIT UNLIMITED PARALLEL 32767;

  • EXTERNAL TABLE PROBLEM ;;;PLS HELP ME

    Hi all,
    I have a problem with the external tables; I have an external table object as follows:
    CREATE TABLE "ESD"."REF_TMP"
    ( "DATEPUB" VARCHAR2(50),
    "ADNETWORK" VARCHAR2(200),
    "SECTION" VARCHAR2(200),
    "CU" VARCHAR2(50),
    "CER" VARCHAR2(200),
    "KW" VARCHAR2(50),
    "CAMPAIGN" VARCHAR2(200),
    "PLACEMENT" VARCHAR2(200),
    "CREA" VARCHAR2(200),
    "CREAU" VARCHAR2(4000),
    "URL" VARCHAR2(4000),
    "IMP" VARCHAR2(50),
    "CLK" VARCHAR2(50),
    "COST" VARCHAR2(50),
    "NUM" VARCHAR2(200),
    "CAMPAIGNID" VARCHAR2(50),
    "LOGIN_STR" VARCHAR2(4000),
    "POST_IMPS" VARCHAR2(50),
    "POST_CLICKS" VARCHAR2(50)
    ORGANIZATION EXTERNAL
    ( TYPE ORACLE_LOADER
    DEFAULT DIRECTORY "REF_DIR"
    ACCESS PARAMETERS
    ( records delimited by newline SKIP 0 badfile ref_dir:'ref_bad.bad' logfile ref_dir:'ref_log.log' fields terminated by ",," missing field values are null ( DATEPUB, ADNETWORK, SECTION, CU, CER, KW, CAMPAIGN, PLACEMENT, CREA, CREAU, URL, IMP, CLK, COST, NUM, CAMPAIGNID, LOGIN_STR, POST_IMPS, POST_CLICKS) )
    LOCATION
    ( 'ref_20061114.csv'
    REJECT LIMIT UNLIMITED
    I have created it on two different Oracle databases; these two bases have the same version so "Oracle Database 10g Enterprise Edition Release 10.2.0.1.0", the object links on the same CSV file...
    The problem is when I select the object from the database I obtain different results (on the first database all the records‘re number’s type) and on the other database I obtain some records from precedent row so the result is shifted. Can someone tell me please the origin of the problem!!!
    Thanks,
    Message was edited by:
    HAGGAR

    20061114,,Ratpromo,,BD eW fp,,1325,,HTML BD WW,,KW,,eer,,lp bd ve clean,,He de,,http://RREREpass.net/?id=6,,http://ddd.net/?id=6,,1,,0,,0,,FBNDerAUt,,44931,,login=57287,,0,,0                                                                 
    20061114,,Ratpromo,,BD Kz fp,,1325,, HTML Bz WW,,KW,,REFbd,,lp bd yu clean,,Totaly uncensored,,http://access.razd-pass.net/?id=101,,http://z-pass.net/?id=101,,1,,0,,0,,FBNEzBAUt,,4932,,login=672225,,0,,0                                                                 
    20061114,,Ratpromo,,BD zW fp,,1325,,zHTML BD WW,,KW,,EG bd z,,lp bd cz clean,,NCC Liveshow babes,,http://e-pass.net/?id=601,,http://e-pass.net/?id=601,,1,,0,,0,,FBMZNO8AUt,,4923,,login=672125,,0,,0                                                                 
    20061114,,Ratpromo,,HD GEdPdOP,,1385,,HDSA CO,,E,,Softdprdfit,,SdP DEFZULT WW,,Winantispyware US,,http://dwindware.com/NjM1/2/422,,http://go.widtidywdre.com/NjM1/2/422,,0,,1,,0,,FBJQe0kAVp,,4688,,login=673125,,0,,0

  • Need help at date format while creating External Tables from Flat file

    Hi All,
    I have a flat file generated from SQL Server 2005. In that generated flat file the date format is in the format as "YYYY-MM-DD HH24:MI:SS.Millisec" like example "2007-09-08 13:32:36.568".
    My task is I have to load this flat file data into Oracle database table running on 9i, but its failing at the creation of external table itself because of this date format. The target table in Oracle the date column data type is "date" only not the "TIMESTAMP".
    Can any body suggest how to resolve this?
    Thanks,
    Sankar

    Or:
    SQL> select cast(to_timestamp('2007-09-08 13:32:36.568',
      2                  'yyyy-mm-dd hh24:mi:ss.xff') as  date) dt
      3  from dual;
    DT
    08-SEP-07                                                                                                                                                                                                                                                                                                                                                                   

  • Error while creating external table

    Hi i tried to create external table. The table is created but while selecting that table it is throwing below errors
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04040: file Countries1.txt in EXT_TABLES not found
    ORA-06512: at "SYS.ORACLE_LOADER", line 19I've created temp directory in window under oracle directory " C:\oracle\product\10.2.0\temp"
    In the temp directory i've a text file countries1.txt
    the text file has the below information
    ENG,England,English
    SCO,Scotland,English
    IRE,Ireland,English
    WAL,Wales,WelshI've connected to system user and created one directory and granted the read and write permissions to user SCOTT.
    SQL> create or replace directory ext_tables as 'C:\oracle\product\10.2.0\temp\';
    Directory created.
    SQL> grant read,write on directory ext_tables to scott;
    Grant succeeded.The creation of external table query is
    CREATE TABLE countries_ext (
      country_code      VARCHAR2(5),
      country_name      VARCHAR2(50),
      country_language  VARCHAR2(50)
    ORGANIZATION EXTERNAL (
      TYPE ORACLE_LOADER
      DEFAULT DIRECTORY ext_tables
      ACCESS PARAMETERS (
        RECORDS DELIMITED BY NEWLINE
        FIELDS TERMINATED BY ','
        MISSING FIELD VALUES ARE NULL
          country_code      CHAR(5),
          country_name      CHAR(50),
          country_language  CHAR(50)
      LOCATION ('Countries1.txt')
    PARALLEL 5
    REJECT LIMIT UNLIMITED;And the error is
    SQL> select *from countries_ext;
    select *from countries_ext
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04040: file Countries1.txt in EXT_TABLES not found
    ORA-06512: at "SYS.ORACLE_LOADER", line 19
    SQL> Please help me in this

    You are missing something. Most probably the file does not exists in your specified path. This is working in my 10.2.0.3
    Step1: Check the file is actually there.
    C:\oracle\product\10.2.0>mkdir temp
    C:\oracle\product\10.2.0>cd temp
    C:\oracle\product\10.2.0\temp>dir
    Volume in drive C is C_Drive
    Volume Serial Number is 8A93-1441
    Directory of C:\oracle\product\10.2.0\temp
    07/30/2011  12:00 PM    <DIR>          .
    07/30/2011  12:00 PM    <DIR>          ..
    07/30/2011  12:00 PM                79 countries1.txt
                   1 File(s)             79 bytes
                   2 Dir(s)  50,110,582,784 bytes free
    C:\oracle\product\10.2.0\temp>type countries1.txt
    ENG,England,English
    SCO,Scotland,English
    IRE,Ireland,English
    WAL,Wales,Welsh
    C:\oracle\product\10.2.0\temp>Step 2: Creating the directory object.
    SQL> show user
    USER is "SYS"
    SQL> SELECT * FROM v$version;
    BANNER
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Prod
    PL/SQL Release 10.2.0.3.0 - Production
    CORE    10.2.0.3.0      Production
    TNS for 32-bit Windows: Version 10.2.0.3.0 - Production
    NLSRTL Version 10.2.0.3.0 - Production
    SQL> create or replace directory ext_tables as 'C:\oracle\product\10.2.0\temp';
    Directory created.
    SQL> grant read,write on directory ext_tables to scott;
    Grant succeeded.
    SQL>Step 3: Table definition.
    C:\>sqlplus scott@orclsb/tiger
    SQL*Plus: Release 10.1.0.4.2 - Production on Sat Jul 30 12:04:24 2011
    Copyright (c) 1982, 2005, Oracle.  All rights reserved.
    Connected to:
    Oracle Database 10g Enterprise Edition Release 10.2.0.3.0 - Production
    With the Partitioning, OLAP and Data Mining options
    SQL> CREATE TABLE countries_ext (
      2    country_code      VARCHAR2(5),
      3    country_name      VARCHAR2(50),
      4    country_language  VARCHAR2(50)
      5  )
      6  ORGANIZATION EXTERNAL (
      7    TYPE ORACLE_LOADER
      8    DEFAULT DIRECTORY ext_tables
      9    ACCESS PARAMETERS (
    10      RECORDS DELIMITED BY NEWLINE
    11      FIELDS TERMINATED BY ','
    12      MISSING FIELD VALUES ARE NULL
    13      (
    14        country_code      CHAR(5),
    15        country_name      CHAR(50),
    16        country_language  CHAR(50)
    17      )
    18    )
    19    LOCATION ('Countries1.txt')
    20  )
    21  PARALLEL 5
    22  REJECT LIMIT UNLIMITED;
    Table created.
    SQL> SELECT * FROM countries_ext;
    COUNT COUNTRY_NAME
    COUNTRY_LANGUAGE
    ENG   England
    English
    SCO   Scotland
    English
    IRE   Ireland
    English
    COUNT COUNTRY_NAME
    COUNTRY_LANGUAGE
    WAL   Wales
    Welsh

  • Error while querying the external tables in 9i

    i am working on a project on Oracle 9iR2 on Linux AS 3.0, i am in urgent need to port my data in text files for using in the DB
    I have created an external table using the following script. While executing a query it gives the following error. Pls Hlp
    create table ap_info_ex
         (ser_no number(7),
         no_of_sps number(1),
         hpy_liq_mm number(2),
         rmp_rnk_cd number(1),
         ir number(3),
         dps_flg varchar2(1))
    organization external
    (type oracle_loader
         default directory aps_jul
         access parameters (records delimited by newline
                        fields terminated by ","
                        (sno char,
                        no_sps char,
                        hpy_mm char,
                        rmp_rnk char,
                        ir char,
                        dpsflg char))
    location ('info.txt'));
    Table has been created successfully
    but when i execute a query say
    select * from ap_info_ex;
    THIS IS THE ERROR MESSAGE I AM GETTING
    ERROR at line 1:
    ORA-29913: error in executing ODCIEXTTABLEOPEN callout
    ORA-29400: data cartridge error
    KUP-04063: unable to open log file AP_INFO_EX_6151.log
    OS error Permission denied
    ORA-06512: at "SYS.ORACLE_LOADER", line 14
    ORA-06512: at line 1
    hope you would help me. i am greateful for that.

    Arun,
    Here are the things you could do.
    1. You may want to specify a logfile in your access parameters using the command 'logfile'.
    For example,
    logfile 'info.log'. You could create the file in advance and provide appropriate permissions to the operating system user(In unix, I use the commands 'touch' and 'chmod').
    2. You could specify the command
    'NOLOGFILE' in your access parameters.
    3. Provide permissions for the user to create files in the folder associated with the directory object 'aps_jul'.

Maybe you are looking for

  • VI reference (error 1003) in executable

    Hello all, This is a branch-off from this thread. Thank you for your reply Rob, I also suspect that the problem is related to "second-tier" subVI calls made by the first-tier subVIs. Here are answers to the questions you asked in your post: -Yes, I a

  • WHY CAN"T I ADD ANYTHING BUT APPZ FROM THE APPS STORE TO ITUNES

    I'm starting to get ****** about this one ....I CANNOT ADD MUSIC MOVIES OR ANY OTHER TYPE OF FILE To Itunes...unless its from the Itunes Store ....YES I CHECK AND RESET THE PERMISSIONS ....YES I RAN DISK UTILITY AND REPAIRED THE VOLUME ....AND YES I

  • KIN TwoM - Any way to get games on this phone?

    I there any way to get games on this phone?  Haven't read any reviews on this topic and everything on the net about this topic is 6 months old.

  • I can,t hear YouTube videos on my ipad

    I can hear some things. I can see the videos posted on Facebook but I can't hear them all. It seems it's mostly YouTube that I can't hear. Any suggestions? BTW I can hear them on my iPhone.

  • Cannot install iLife '06

    I bought iLife 06 this weekend, but when I put the DVD in to run the install program I get a blank page icon where the iLife 06 install icon should be in the DVD window. I get the correct icon for installing the iWork trial on the iWork DVD, but it b