URGENT : Regarding External Table

Hi,
We have some external tables in our production environment. In unix level we have two users 1) ORACLE (Primary Group DBA, Secondary group RELEASE)
2) PROD (Primary Group RELEASE).
Now the log file directory of external table owned by PROD user and RELEASE group.
What minimum priviledges is reqire in unix level, so that ORACLE user can create log files for external tables there.
I have tried with 775, but it is trrowing the follwoing error :
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04063: unable to open log file log_flow.log
OS error Permission denied
ORA-06512: at "SYS.ORACLE_LOADER", line 19
ORA-06512: at line 1
Can any one suggest ASAP.
One more Issue I have facing with external tables. The follwoing select "select * from dba_directories" showing all the directories I have created (data,log,reject,error), but "select * from dba_external_locations" showing only the data file locations not showing the error,log and reject location, and when the DATABASE is bounced due to some other reason the DDL of external table get changed (error,log and reject file location was not there). Can any one suggest any work around.
Any body can call me up in any one of the following nos.
Ph(O) : (+44)1173024701
Ph(M) : (+44)7772341689
Thanks & Regards,
Koushik Chandra

Hi,
Have you try to create a file manually with oracle user ito this log directory ?
Have you check the good directory ?
dba_external_locations It describes the locations (data sources) of all external tables in the database.
Nicolas.
PS : you know, today is saturday, and in most of countries, saturday is the week-end - in other word not working -, since this forum is based on volunteers, you can wait some time an answer, if you have. If it's very urgent, contact your oracle support service.

Similar Messages

  • Slight oversight in the Concepts guide regarding external tables

    Taking a look at the section in the Concepts guide on external tables
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14220/schema.htm#sthref777
    The line "External tables are read only; therefore, no DML operations are possible" is not strictly correct in 10.2, since you can insert into ORACLE_DATAPUMP external tables as the document goes on to discuss: "Oracle also provides the ORACLE_DATAPUMP type, which lets you unload data (that is, read data from a table in the database and insert it into an external table) and then reload it into an Oracle database." I assume the read only restriction is mentioned here because it was true in 9i and did not get corrected when Oracle introduced the ORACLE_DATAPUMP option in 10g.
    Justin

    Hello again. Development replies that the documentation is technically correct. We do not allow DML operations (insert, update, delete, merge) on external tables. For ORACLE_DATAPUMP, we do allow a "CREATE EXTERNAL TABLE ... AS SELECT ..." operation, but, this is DDL, not DML. This operation just populates the external table with data initially. No DML operations are allowed to modify the data, and indexes cannot be created on an external table.
    If you agree that this is the case, then I'll get the documentation clarified along these lines. If you have experience (test cases) that contradict this, please let me know, and I'll follow up further.
    Regards,
    Diana

  • Query regarding External tables

    DECLARE
    FileIn UTL_FILE.FILE_TYPE;
    v_sql VARCHAR2 (1000);
    BEGIN
    FileIn := UTL_FILE.FOPEN ('DIR_TEMP', 'test_file_out.txt', 'R');
    IF UTL_FILE.IS_OPEN(FileIn) THEN
    LOOP
    BEGIN
    UTL_FILE.GET_LINE (FileIn, v_sql);
    dbms_output.put_line(v_sql);
    EXCEPTION
    WHEN NO_DATA_FOUND THEN
    EXIT;
    END;
    END LOOP;
    END IF;
    UTL_FILE.FCLOSE (FileIn);
    END;
    above mentioned is the procedure to read from a flat file.
    I would like to know the procedure to load flat file data into table using external tables:
    i have tried using this code but it displays errors:
    CREATE TABLE EXT_EMP
    ( EMPNO NUMBER(4), ENAME VARCHAR2(10), JOB VARCHAR2(9),
    MGR NUMBER(4), HIREDATE DATE, SAL NUMBER(7,2), COMM NUMBER(7,2), DEPTNO NUMBER(2))
    ORGANIZATION EXTERNAL (
    TYPE ORACLE_LOADER
    DEFAULT DIRECTORY DIR_TEMP
    ACCESS PARAMETERS(
    RECORDS DELIMETED BY newline
    FIELDS TERMINATED BY ','
    MISSING FIELD VALUES ARE NULL(COMM NUMBER(7,2))
    LOCATION ('test_file_out.txt')
    PARALLEL
    REJECT LIMIT UNLIMITED;
    db: Oracle 11g , OS: windows vista

    the query works fine as table is created.
    but:
    select * from ext_emp;
    o/p: no rows.
    ext.bad :
    7369,SMITH,CLERK,7902,17-DEC-80,800,,20
    7499,ALLEN,SALESMAN,7698,20-FEB-81,1600,300,30
    7521,WARD,SALESMAN,7698,22-FEB-81,1250,500,30
    7566,JONES,MANAGER,7839,02-APR-81,2975,,20
    7654,MARTIN,SALESMAN,7698,28-SEP-81,1250,1400,30
    7698,BLAKE,MANAGER,7839,01-MAY-81,2850,,30
    7782,CLARK,MANAGER,7839,09-JUN-81,2450,,10
    7788,SCOTT,ANALYST,7566,19-APR-87,3000,,20
    7839,KING,PRESIDENT,,17-NOV-81,5000,,10
    7844,TURNER,SALESMAN,7698,08-SEP-81,1500,0,30
    7876,ADAMS,CLERK,7788,23-MAY-87,1100,,20
    7900,JAMES,CLERK,7698,03-DEC-81,950,,30
    7902,FORD,ANALYST,7566,03-DEC-81,3000,,20
    7934,MILLER,CLERK,7782,23-JAN-82,1300,,10
    ext.log:
    LOG file opened at 04/01/09 02:13:13
    Field Definitions for table EXT_EMP
    Record format DELIMITED BY NEWLINE
    Data in file has same endianness as the platform
    Rows with all null fields are accepted
    Fields in Data Source:
    EMPNO Integer (4)
    Record position (+0, +4)
    Terminated by ","
    Trim whitespace same as SQL Loader
    ENAME CHAR (255)
    Terminated by ","
    Trim whitespace same as SQL Loader
    JOB CHAR (255)
    Terminated by ","
    Trim whitespace same as SQL Loader
    MGR Integer (4)
    Record position (+0, +4)
    Terminated by ","
    Trim whitespace same as SQL Loader
    HIREDATE CHAR (9)
    Date datatype DATE, date mask DD-MON-YY
    Terminated by ","
    Trim whitespace same as SQL Loader
    SAL Integer (4)
    Record position (+0, +4)
    Terminated by ","
    Trim whitespace same as SQL Loader
    COMM Integer (4)
    Record position (+0, +4)
    Terminated by ","
    Trim whitespace same as SQL Loader
    DEPTNO Integer (4)
    Record position (+0, +4)
    Terminated by ","
    Trim whitespace same as SQL Loader
    error processing column HIREDATE in row 1 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column HIREDATE in row 2 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column HIREDATE in row 3 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column HIREDATE in row 4 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column HIREDATE in row 5 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column HIREDATE in row 6 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column HIREDATE in row 7 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column HIREDATE in row 8 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column HIREDATE in row 9 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column HIREDATE in row 10 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column HIREDATE in row 11 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column HIREDATE in row 12 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column HIREDATE in row 13 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    error processing column HIREDATE in row 14 for datafile c:\temp\test_file_out.txt
    ORA-01858: a non-numeric character was found where a numeric was expected
    " I tried changing hiredate "dd-mm-yy" to hiredate "dd-mon-yy" but there is no difference.

  • Regarding external table error

    Hi,
    I have created a csv file using excel as source, then I creaed a flat file module and imported the source.
    Next I have created a external table for that file.
    By using ssh I copied my source file (.csv file) to the server location ( By drag and drop method)
    In the server it shows the file name as Income Source.csv file.
    I deployed the external table.
    When I am trying to opening the table it shows the message like
    file not found in that location.
    When I view the generated SQL of external table
    in that query : the location the file name as Income_Source not Income Sourcce.csv ( I am thinking this might be the problem)
    Please give me the suggestions.
    Thanks,
    Venkat

    user642615 wrote:
    Hi,
    I have created a csv file using excel as source, then I creaed a flat file module and imported the source.
    Next I have created a external table for that file.
    By using ssh I copied my source file (.csv file) to the server location ( By drag and drop method)
    In the server it shows the file name as Income Source.csv file.
    I deployed the external table.
    When I am trying to opening the table it shows the message like
    file not found in that location.
    When I view the generated SQL of external table
    in that query : the location the file name as Income_Source not Income Sourcce.csv ( I am thinking this might be the problem)
    Please give me the suggestions.
    Thanks,
    VenkatFile name should be exactly same as the filename in the directory.
    Its a good practise to use filename as one string or have some char such as " _" to seperate two strings rather than have space such as INCOME SOURCE
    i presume you have given permissions on the directory for owb to read the file.
    Edited by: Darthvader-647181 on Mar 31, 2009 2:42 AM

  • URGENT : Regarding routing tables

    hi,
    i want to know which are the tables used in the routing?

    hi,
    actualy my requirement is in CA03 there is a field called base quantity and i want to know where this is come from bcoz in this tcode it is specifying a structure and i want to know which transparent table is used to store this field?
    plzz help me out as help will be definately rewarded.
    waiting for ur response.

  • EXTERNAL TABLE PARALLEL (DEGREE DEFAULT)

    Ask you if in external table the clause SKIP 1 used with PARALLEL (DEGREE 4)
    skip the first record for each session in parallel . Where i could set the the parallel parameter ?
    Thanks

    Default value have a sense during insertion. Since you cannot insert into an external table (with some Slight oversight in the Concepts guide regarding external tables with datapump table), what will the target to have such feature ?
    Nicolas.

  • 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:\

  • External tables (Urgent)

    I can not use External tables as it has restriction of 1000 columns...My File has more then 3000 fields
    So I am Using Multiple tables.But the way sql loader control file is written , For one record in Datafile it creates 1 record in one table but multiple records in other table...So there one to many relationship in two tables...
    So I don't know how to use external tables if Its NOT 1-1 realtion ship....
    and it is 1-Many relationship
    Example
    Flat File Structure
    LAST FIRST AGE SKILL-1 SKILL-2 SKILL-3 SKILL-4 SKILL-5 --Upto 3000 Fields
    JOHN INTERPID 23 COMPUTER MECHANICAL CHEMICAL ELECTRICAL CIVIL
    SMITH GREAT 31 ELECTRINICS MECHANICAL CIVIL CHEMICAL
    ......Upto 200,000 records
    Table1_DEMOGRAPHIC
    LAST_NAME FIRST_NAME AGE
    JOHN INTERPID 23
    SMITH GREAT 31
    Table2
    LAST_NAME FIRST_NAME SKILL
    JOHN INTERPID COMPUTER
    JOHN INTERPID MECHANICAL
    JOHN INTERPID CHEMICAL
    JOHN INTERPID ELECTRICAL
    JOHN INTERPID CIVIL
    SMITH GREAT ELECTRINICS
    SMITH GREAT MECHANICAL
    SMITH GREAT CIVIL
    SMITH GREAT CHEMICAL

    That's what I mean: use 3 different external tables that read the file. And then use SQL to query the external tables within your pl/sql procedure
    So if you're file looks like:
    NR, column1, column2, ...., column1001, column1002, ... column2001, column1002,...
    , where NR is a column that uniquely identifies the row, you would have an external table to read
    NR, column1, column2,..., column999
    And one that would read
    NR, column1000, column1001,..., column1999
    And one that would read
    NR, column2000, column2001,..., column2999
    etc.
    Then you could join those tables using plain SQL based on the NR column and process it in a PL/Sql procedure.
    Regards,
    Martien

  • Regarding Reading External Table into ADC

    Hi ,
    I was trying to read external table inmto ADC using Plans(tech Notes). I have completed the steps sucessfully.ADC has been generated without flaw. IF i am not wrong , one can use plans to update the ADC Dataobject from the database tables.
    The problem i face is , if the database is updated , this change is not reflecting in the ADC.I followed the instruction given in Technotes,after plan creation, have changed plan settings,done request plan setting check, and restarted Plan moitoring service.I would really appreciate if anyone could let me know what should be done in order to get the updates in the ADC.
    Expecting a reply soon.
    Regards,
    Lathika.

    Hi Sanjay,
    Many thanks for your reply.
    Yes i have set the plan to run contuinuously .I have used BAM update Sink.YEs the source date is different.There is no error in the log....But still the change is not getting reflected in ADC object...
    Is there any other solution to resolve this problem??
    Regards,
    Lathika

  • Regarding the Usage of oracle external tables.

    HI All,
    I am using POI API for generating Oracle external tables. If that excel sheet is having empty sheets then its throwing null pointer exception. Can anybody help me out in resolving this problem.
    Thanks and Regards,
    Venky

    Do you use the technique described by Casimir Saternos in this OTN article?
    Generate External Tables from an Excel Spreadsheet Using Apache Jakarta POI
    http://www.oracle.com/technology/pub/articles/saternos_tables.html

  • External table not able to drop--Urgent Please

    hi all
    I created external table asd in my schema
    but now asd not able to drop
    giving error table or view does not exist ?
    Regards

    Hi Rob
    I was using plsql developer and i created table like lower case 'asd'
    It can drop from tode but not from plsql developer
    but i i created table Upper ASD now can drop from plsql developer
    Is this the bug of Plsql developer or what ?
    Regards

  • 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?

  • Error while accessing External table.

    Hi All,
    While accessing oracle external table. I created the table with the following query.
    CREATE OR REPLACE DIRECTORY load_dir AS '\\oraaps\Exceldata\'
    CREATE TABLE my_sheet
    DEPTNO NUMBER,
    DNAME VARCHAR2(14),
    LOC VARCHAR2(13)
    ORGANIZATION EXTERNAL
    TYPE oracle_loader
    DEFAULT DIRECTORY load_dir
    ACCESS PARAMETERS
    RECORDS DELIMITED BY NEWLINE
    badfile load_dir:'my_sheet.bad'
    logfile load_dir:'my_sheet.log'
    FIELDS TERMINATED BY ','
    MISSING FIELD VALUES ARE NULL
    DEPTNO,
    DNAME,
    LOC
    LOCATION ('my_sheet.csv')
    )REJECT LIMIT UNLIMITED;
    I am sure that the table and the directory got created because i can see the table in the SQL developer. But whenever i say select * from my_sheet i'm getting the following error in the log file.
    LOG file opened at 10/16/06 14:48:21
    Field Definitions for table mysheet
    Record format DELIMITED BY NEWLINE
    Data in file has same endianness as the platform
    Rows with all null fields are accepted
    Fields in Data Source:
    DEPTNO NUMBER Terminated by ","
    Trim whitespace same as SQL Loader
    DNAME VARCHAR2(14),
    Terminated by ","
    Trim whitespace same as SQL Loader
    LOC VARCHAR2(13)
    Terminated by ","
    Trim whitespace same as SQL Loader
    KUP-04001: error opening file \\oraaps\Exceldata\mysheet.csv
    KUP-04017: OS message: The data is invalid.
    Please do reply..Its urgent from my project deliverable point of view.
    Any help appreciated.
    Thanks and Regards.
    V.Venkateswara Rao

    It is not an Oracle error/problem. The error message is quite specific ito the actual root cause of the problem:
    KUP-04001: error opening file \\oraaps\Exceldata\mysheet.csv
    KUP-04017: OS message: The data is invalid.
    These are operating system errors. The operating system cannot access/open/read the specific UNC and/or file.
    Fix it at o/s level and it will work when Oracle needs to make that o/s call.

  • 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'.

  • DATE fields and LOG files  in context with external tables

    I am facing two problems when dealing with the external tables feature in Oracle 9i.
    I created an External Table with some fileds with the DATE data type . There were no issues during the creation part. But when i query the table, the DATE fields are not properly selected though the data is there in the files. Is there any ideas to deal with this ?
    My next question is regarding the log files. The contents in the log file seems to be growing when querying the external tables. Is there a way to control this behaviour?
    Suggestions / Advices on the above two issues are welcome.
    Thanks
    Lakshminarayanan

    Hi
    If you have date datatypes than:
    select
    greatest(TABCASER1.CASERRECIEVEDDATE, EVCASERS.FINALEVDATES, EVCASERS.PUBLICATIONDATE, EVCASERS.PUBLICATIONDATE, TABCASER.COMPAREACCEPDATE)
    from TABCASER, TABCASER1, EVCASERS
    where ...-- join and other conditions
    1. greatest is good enough
    2. to_date creates date dataype from string with the format of format string ('mm/dd/yyyy')
    3. decode(a, b, c, d) is a function: if a = b than return c else d. NULL means that there is no data in the cell of the table.
    6. to format the date for display use to_char function with format modell as in the to_date function.
    Ott Karesz
    http://www.trendo-kft.hu

Maybe you are looking for

  • How to check the table existence in JPA

    1) is there a way I can check for existence of the table using JPA, before I read the rows. 2) If I want to create two tables with same columns (name, time), Should I create two entity objects to insert? is there a way to use one enity class and spec

  • Find in the filename of the jsp page that is included

    i have a main.jsp that includes a menu.jsp page dynamically : if (request.getParameter("view")!=null){                include_h_menu_page = request.getParameter("view); <jsp:include page="<%= include_h_menu_page%>"/> now i am in the menu.jsp and here

  • Ugly Fonts in Firefox

    http://carnager.dyndns.org/font.png just have a look... compared to opera it looks plain ugly.. and suggestions how to change this?

  • Can't modify selection that says "Mixed Appearance"

    In older versions of Illustrator, I used to be able to make a selection of multiple objects and give them a stroke or other attribute. Now it says "Mixed Appearance" and I can't do anything to the selection. How do I modify a multi-selection if it sa

  • Opening After Effects CC

    Hi, I have downladed After Effects CC for 30 day trail and when trying to open I get the message - 'You can't use the version of the application with this version of OS X' - I have been on iTunes and downloaded the latest version OS X 10.9.2 and look