Oracle Temporary/Memory table

Hi Friends,
Can oracle provides any facility that we can create temporary table in memory? Pls provides me idea about it.
- Hiren Modi

http://www.oracle-base.com/articles/8i/TemporaryTables.php
http://www.dba-oracle.com/t_temporary_tables_sql.htm
http://download.oracle.com/docs/cd/B19306_01/server.102/b14231/tables.htm#i1006400
You can search the oracle documentation for this as well.

Similar Messages

  • TopLink, use of Oracle Temporary tables

    A project using TopLink has the following questions. Could someone help answer them?
    Does TopLink support the use of Oracle Temporary tables?
    Is there any recommendation regarding the two possible ways of setting them up, see below:
    ON COMMIT Setting Description DELETE ROWS This creates a temporary table that is transaction specific. A session becomes bound to the temporary table with a transactions first insert into the table. The binding goes away at the end of the transaction. The database truncates the table (delete all rows) after each commit.
    PRESERVE ROWS This creates a temporary table that is session specific. A session gets bound to the temporary table with the first insert into the table in the session. This binding goes away at the end of the session or by issuing a TRUNCATE of the table in the session. The database truncates the table when you terminate the session.
    We appreciate your assistance.
    Haiwei

    Haiwei,
    TopLink has no explicit support for temporary tables but it should be possible. It is tough to answer your question since it really depends upon connection and transaction management for either case. What is your planned configuration TopLink with respect to external versus internal connection pooling as well as the JTA TX management.
    I believe you are deploying your applications within WebSphere but would just like to confirm that you are using WAS data sources and transaction management.
    Doug

  • Oracle temporary tables

    Hi ,
    we have a application for transfering data approx 1 million records from one schema to another. the data is first inserted into a table temporarily and after all the data is transfered the data is manually deleted from this table.
    we are planning to replace this table with Oracle Temporary table. Can you please let us know if this would increase the performance and why???
    Thanks & Regards
    Saroj

    In theory it should, but you won't know whether the difference is going to be noticeable until you try.
    Oracle has to do much less work with global temporary tables. It knows no other sessions will be using the data so it does not need to bother with rollback segments or locks. It also does not bother with redo because there will not be a need to recover.

  • Oracle Database all table structure

    Hi
    I want donwload Oracle Database all table structure , any one please explain where i can download the structure in text format
    regards

    SQL> desc user_tables;
    Name Null? Type
    TABLE_NAME NOT NULL VARCHAR2(30)
    TABLESPACE_NAME VARCHAR2(30)
    CLUSTER_NAME VARCHAR2(30)
    IOT_NAME VARCHAR2(30)
    STATUS VARCHAR2(8)
    PCT_FREE NUMBER
    PCT_USED NUMBER
    INI_TRANS NUMBER
    MAX_TRANS NUMBER
    INITIAL_EXTENT NUMBER
    NEXT_EXTENT NUMBER
    MIN_EXTENTS NUMBER
    MAX_EXTENTS NUMBER
    PCT_INCREASE NUMBER
    FREELISTS NUMBER
    FREELIST_GROUPS NUMBER
    LOGGING VARCHAR2(3)
    BACKED_UP VARCHAR2(1)
    NUM_ROWS NUMBER
    BLOCKS NUMBER
    EMPTY_BLOCKS NUMBER
    AVG_SPACE NUMBER
    CHAIN_CNT NUMBER
    AVG_ROW_LEN NUMBER
    AVG_SPACE_FREELIST_BLOCKS NUMBER
    NUM_FREELIST_BLOCKS NUMBER
    DEGREE VARCHAR2(10)
    INSTANCES VARCHAR2(10)
    CACHE VARCHAR2(5)
    TABLE_LOCK VARCHAR2(8)
    SAMPLE_SIZE NUMBER
    LAST_ANALYZED DATE
    PARTITIONED VARCHAR2(3)
    IOT_TYPE VARCHAR2(12)
    TEMPORARY VARCHAR2(1)
    SECONDARY VARCHAR2(1)
    NESTED VARCHAR2(3)
    BUFFER_POOL VARCHAR2(7)
    FLASH_CACHE VARCHAR2(7)
    CELL_FLASH_CACHE VARCHAR2(7)
    ROW_MOVEMENT VARCHAR2(8)
    GLOBAL_STATS VARCHAR2(3)
    USER_STATS VARCHAR2(3)
    DURATION VARCHAR2(15)
    SKIP_CORRUPT VARCHAR2(8)
    MONITORING VARCHAR2(3)
    CLUSTER_OWNER VARCHAR2(30)
    DEPENDENCIES VARCHAR2(8)
    COMPRESSION VARCHAR2(8)
    COMPRESS_FOR VARCHAR2(12)
    DROPPED VARCHAR2(3)
    READ_ONLY VARCHAR2(3)
    SEGMENT_CREATED VARCHAR2(3)
    RESULT_CACHE VARCHAR2(7)
    SQL>

  • WTF:   ORA-04030 .... (callheap,temporary memory)

    I got a nice laugh from this today, so I thought I would share it.
    A developer complains, "I get this error when my code is running".
    ORA-04030: out of process memory when trying to allocate 31994720 bytes (callheap,temporary memory)
    I say show me the code.
    She says:
    SELECT ......
    FROM x,y,z
    WHERE
    AND ( x.col1 ,y.col1)
    NOT IN ( (100006119,0002),(100006003,0003),(100006003,0003),(100006003,0003),(100003700,0002),(100003700,0002),(100004761,0006),(100004761,0006),(100004760,0004),(100004760,0001),(100004760,0004),(100004760,0001),(100002513,0005),(100002513,0006),(100002513,0004),(100002513,0005),(100002513,0004),(100002513,0006),(100002517,0001),(100002517,0001),(100004798,0009),(100004798,0009),(100004798,0009),(100004798,0012),(100004798,0009),(100004800,0010),(100004800,0010),(100004800,0010),(100004800,0010),(100004791,0021),(100004791,0017),(100004791,0001),(100004791,0006),(100004791,0022),(100004791,0024),(100004791,0004),(100004791,0016),(100004791,0021),(100004791,0002),(100004791,0002),(100004791,0008),(100004791,0008),(100004791,0017),(100004791,0006),(100004791,0024),(100004791,0022),(100004791,0016),(100004791,0004),(100004791,0001),(100004791,0021),(100004791,0008),(100004791,0017),(100004791,0002),(100004791,0001),(100004791,0006),(100004791,0024),(100004791,0022),(100004791,0004),(100004791,0016),(100004791,0017),(100004791,0008),(100004791,0003),(100004791,0007),(100004791,0001),(100004791,0006),(100004791,0020),(100004791,0022),(100004791,0024),(100004791,0004),(100004791,0016),(100004791,0002),(100004791,0021),(100003191,0009),(100003191,0013),(100003191,0006),(100003191,0007),(100003191,0012),(100003191,0010),(100003191,0011),(100003191,0016),(100003191,0008),(100003191,0009),(100003191,0013),(100003191,0006),(100003191,0007),(100003191,0010),(100003191,0011),(100003191,0012),(100003191,0016),(100003191,0008),(100003191,0014),(100003191,0013),(100003191,0010),(100003191,0011),(100003191,0008),(100003191,0009),(100003191,0006),(100003191,0007),(100003191,0002),(100003191,0016),(100003191,0012),(100003191,0015),(100005459,0005),(100005459,0006),(100005459,0011),(100005459,0002),(100005459,0001),(100005459,0009),(100005459,0007),(100005459,0008),(100005459,0010),(100005459,0012),(100005459,0003),(100005459,0004),(100005459,0007),(100005459,0008),(100005459,0002),(100005459,0003),(100005459,0004),(100005459,0005),(100005459,0006),(100005459,0012),(100005459,0001),(100005459,0009),(100005457,0002),(100005457,0001),(100005457,0002),(100005457,0001),(100005457,0002),(100005457,0001),(100006108,0001),(100006108,0001),(100005500,0001),(100005500,0001),(100004695,0002),(100004695,0003),(100004695,0003),(100004695,0002),(100002796,0007),(100002796,0004),(100002796,0005),(100002796,0003),(100002796,0004),(100002796,0007),(100002796,0005),(100002796,0003),(100002800,0001),(100002800,0002),(100002800,0001),(100002800,0002),(100006165,0003),(100006165,0002),(100006165,0004),(100006165,0005),(100006165,0004),(100006165,0003),(100006165,0002),(100006165,0005),(100006166,0001),(100006166,0001),(100003378,0004),(100003378,0004),(100003444,0002),(100003444,0002),(100003441,0005),(100003454,0002),(100003454,0001),(100003454,0002),(100003454,0001),(100004681,0001),(100004681,0001),(100004681,0001),(100004681,0001),(100002426,0025),(100002426,0008),(100002426,0007),(100002426,0010),(100002426,0009),(100002426,0024),(100002426,0025),(100002426,0009),(100002426,0007),(100002426,0010),(100002426,0008),(100002426,0024),(100002426,0025),(100002426,0024),(100002427,0030),(100002427,0015),(100002427,0020),(100002427,0029),(100002427,0001),(100002427,0002),(100002427,0030),(100002427,0001),(100002427,0002),(100002427,0015),(100002427,0020),(100002427,0029),(100002427,0030),(100002427,0020),(100002427,0029),(100002427,0001),(100002427,0002),(100002429,0003),(100002429,0005),(100002429,0006),(100002429,0004),(100002429,0026),(100002429,0031),(100002429,0004),(100002429,0003),(100002429,0005),(100002429,0006),(100002429,0026),(100002429,0001),(100002429,0005),(100002429,0003),(100002429,0006),(100002429,0004),(100002429,0026),(100002429,0031),(100002429,0001),(100002783,0004),(100002783,0003),(100004846,0001),(100004846,0001),(100004846,0001),(100002489,0006),(100002489,0005),(100002489,0007),(100002489,0004),(100002489,0008),(100002489,0002),(100002489,0006),(100002489,0007),(100002489,0002),(100002489,0004),(100002489,0005),(100002489,0008),(100005504,0001),(100005504,0001),(100005504,0001),(100003045,0002),(100003045,0001),(100003045,0011),(100003045,0008),(100003045,0009),(100003045,0001),(100003045,0011),(100003045,0008),(100003045,0009),(100005107,0003),(100005107,0003),(100004918,0001),(100004918,0001),(100003151,0010),(100003151,0007),(100003151,0006),(100003151,0007),(100003151,0010),(100003151,0006),(100003786,0003),(100003786,0003),(100005502,0003),(100005502,0004),(100004856,0002),(100004856,0003),(100004856,0001),(100004856,0003),(100004856,0001),(100004856,0002),(100002498,0003),(100002498,0002),(100002498,0001),(100002498,0002),(100002498,0003),(100002498,0001),(100002498,0003),(100002498,0002),(100002498,0001),(100005323,0001),(100005323,0001),(100005834,0009),(100005834,0006),(100005834,0007),(100005834,0002),(100005834,0001),(100005834,0005),(100005834,0008),(100005834,0006),(100005834,0005),(100005834,0001),(100005834,0008),(100005834,0002),(100005834,0007),(100005834,0009),(100005834,0006),(100005834,0005),(100005834,0001),(100005834,0002),(100005834,0007),(100005834,0009),(100005834,0008),(100004544,0001),(100004544,0003),(100004544,0002),(100004544,0002),(100004544,0003),(100004544,0001),(100004607,0003),(100004607,0003),(100004607,0003),(100005301,0002),(100005301,0002),(100005301,0002),(100005887,0003),(100005887,0001),(100005887,0003),(100005887,0001),(100004327,0004),(100004327,0001),(100004327,0005),(100004327,0003),(100004327,0002),(100004327,0001),(100004327,0005),(100004327,0004),(100004327,0003),(100004327,0002),(100004499,0002),(100004499,0005),(100004499,0001),(100004499,0002),(100004499,0004),(100004499,0003),(100004499,0006),(100004499,0001),(100004529,0002),(100004529,0007),(100004529,0003),(100004529,0001),(100004529,0006),(100004529,0005),(100004529,0004),(100004529,0003),(100004529,0007),(100004529,0005),(100004529,0006),(100004529,0001),(100004529,0002),(100004529,0004),(100003329,0004),(100003329,0004),(100003331,0002),(100003331,0003),(100003331,0002),(100003331,0003),(100003890,0003),(100003890,0002),(100003890,0001),(100003890,0001),(100003890,0003),(100003890,0002),(100003890,0003),(100003890,0001),(100003890,0002),(100002967,0005),(100002967,0004),(100002967,0006),(100002967,0003),(100002967,0007),(100002967,0001),(100002967,0002),(100002967,0005),(100002967,0007),(100002967,0002),(100002967,0003),(100002967,0001),(100002967,0006),(100002967,0004),(100006168,0004),(100006168,0005),(100006168,0001),(100006168,0002),(100006168,0003),(100006168,0001),(100006168,0005),(100006168,0002),(100006168,0004),(100006168,0003),(100006168,0001),(100006168,0004),(100006168,0002),(100006168,0005),(100006168,0003),(100005079,0001),(100005079,0002),(100005079,0001),(100005079,0002),(100006218,0001),(100006218,0001),(100006218,0001),(100004489,0004),(100004489,0003),(100004489,0001),(100004489,0002),(100004489,0001),(100004489,0003),(100004489,0004),(100004489,0002),(100004056,0003),(100004056,0003),(100004779,0001),(100004779,0001),(100006055,0002),(100006055,0002),(100004564,0001),(100004564,0001),(100004814,0001),(100004814,0001),(100004694,0001),(100004694,0001),(100005014,0001),(100005014,0001),(100005302,0001),(100005302,0001),(100004169,0003),(100004169,0002),(100004169,0005),(100004169,0001),(100004169,0004),(100004169,0002),(100004169,0004),(100004169,0001),(100004169,0005),(100004169,0003),(100005434,0002),(100005434,0003),(100005434,0004),(100005434,0003),(100005434,0002),(100005434,0001),(100004584,0001),(100004584,0003),(100004584,0005),(100004584,0004),(100004584,0002),(100004584,0001),(100004584,0004),(100004584,0003),(100004584,0005),(100004584,0002),(100005454,0006),(100005454,0004),(100005454,0002),(100005454,0003),(100005454,0001),(100005454,0003),(100005454,0001),(100005454,0004),(100005454,0006),(100005454,0002),(100004251,0002),(100004251,0003),(100004251,0001),(100004251,0003),(100004251,0002),(100004251,0001),(100004988,0002),(100004988,0003),(100004988,0001),(100004988,0002),(100004988,0003),(100004988,0001),(100004926,0003),(100004926,0002),(100004926,0001),(100004926,0002),(100004926,0004),(100004926,0001),(100004926,0003),(100004926,0005),(100003345,0001),(100003345,0002),(100003345,0001),(100003345,0002),(100004388,0001),(100004388,0002),(100004388,0001),(100004388,0002),(100002485,0002),(100002485,0001),(100002485,0003),(100002485,0002),(100002485,0006),(100002491,0003),(100002491,0001),(100002491,0002),(100002491,0001),(100002491,0002),(100002491,0003),(100002491,0003),(100002491,0001),(100002491,0002),(100004543,0004),(100004543,0002),(100004543,0003),(100004543,0005),(100004543,0001),(100004543,0002),(100004543,0001),(100004543,0005),(100004543,0003),(100004543,0004),(100005085,0002),(100005085,0001),(100005085,0003),(100005085,0003),(100005085,0001),(100005085,0002),(100005132,0001),(100005132,0003),(100005132,0004),(100005132,0002),(100005132,0002),(100005132,0004),(100005132,0001),(100005132,0003),(100005132,0003),(100005132,0001),(100005132,0004),(100005132,0002),(100004984,0003),(100004984,0004),(100004984,0001),(100004984,0002),(100004984,0001),(100004984,0003),(100004984,0004),(100004984,0002),(100003952,0001),(100003952,0002),(100003952,0001),(100003952,0002),(100003952,0001),(100004061,0001),(100004061,0001),(100004061,0003),(100004061,0004),(100004061,0001),(100005499,0002),(100005499,0001),(100005499,0002),(100005499,0001),(100004802,0002),(100004802,0003),(100004802,0001),(100004802,0001),(100004802,0002),(100004802,0003),(100004785,0002),(100004785,0003),(100004785,0001),(100004785,0002),(100004785,0001),(100004998,0003),(100004998,0002),(100004998,0001),(100004998,0002),(100004998,0001),(100004300,0002),(100004300,0001),(100004300,0002),(100004300,0001),(100004550,0002),(100004550,0001),(100004550,0002),(100004550,0001),(100005273,0002),(100005273,0001),(100005273,0002),(100005273,0001),(100003956,0001),(100003956,0002),(100003956,0001),(100003956,0002),(100006276,0001),(100006276,0001),(100006277,0003),(100006277,0003),(100005560,0002),(100005560,0002),(100006275,0002),(100006275,0004),(100006275,0004),(100006275,0002),(100004786,0001),(100004786,0001),(100004560,0001),(100004560,0001),(100005327,0001),(100005327,0002),(100005327,0005),(100005327,0004),(100005327,0003),(100005327,0001),(100005327,0002),(100005327,0005),(100005327,0004),(100004605,0002),(100004605,0003),(100004605,0001),(100004605,0005),(100004605,0001),(100004605,0004),(100004605,0003),(100004605,0002),(100004958,0001),(100004958,0001),(100004958,0001),(100004317,0001),(100004317,0003),(100004317,0002),(100004815,0002),(100004815,0001),(100004815,0003),(100004815,0002),(100004815,0001),(100004815,0003),(100002486,0002),(100002486,0002),(100004215,0003),(100004215,0004),(100004215,0002),(100004215,0001),(100004215,0003),(100004215,0004),(100004215,0002),(100004215,0001),(100005397,0001),(100005397,0001),(100005397,0001),(100004379,0003),(100004379,0001),(100004379,0002),(100004379,0004),(100004379,0005),(100004379,0005),(100004379,0003),(100004379,0002),(100004379,0004),(100004379,0001),(100004315,0003),(100004315,0002),(100004315,0002),(100004315,0003),(100004315,0004),(100004315,0001),(100005522,0001),(100005522,0001),(100004438,0003),(100004438,0001),(100004438,0002),(100004438,0001),(100004438,0003),(100004438,0002),(100004438,0001),(100004438,0003),(100004438,0007),(100004438,0006),(100004438,0002),(100004438,0001),(100004438,0003),(100004438,0002),(100005299,0001),(100005299,0001),(100004495,0003),(100004495,0002),(100004495,0001),(100004495,0003),(100004495,0002),(100004495,0001),(100004323,0003),(100004323,0005),(100004323,0001),(100004323,0004),(100004323,0002),(100004323,0003),(100004323,0005),(100004323,0001),(100004323,0004),(100004323,0002),(100004936,0005),(100004936,0001),(100004936,0003),(100004936,0004),(100004936,0002),(100004936,0003),(100004936,0004),(100004936,0001),(100004936,0005),(100004936,0002),(100004937,0006),(100004937,0006),(100004454,0001),(100004454,0003),(100004454,0016),(100004454,0006),(100004454,0001),(100004454,0004),(100004454,0013),(100004454,0009),(100004454,0010),(100004454,0011),(100004454,0017),(100004454,0007),(100004454,0008),(100004454,0003),(100005216,0002),(100005216,0001),(100005216,0002),(100005216,0003),(100005216,0001),(100004975,0002),(100004975,0006),(100004975,0003),(100004975,0004),(100004975,0005),(100004975,0001),(100004975,0006),(100004975,0002),(100004975,0004),(100004975,0003),(100004975,0001),(100005894,0002),(100005894,0002),(100005303,0002),(100005303,0003),(100005303,0001),(100005303,0003),(100005303,0002),(100005303,0001),(100005328,0001),(100005328,0001),(100004810,0001),(100004810,0001),(100005505,0001),(100005505,0001),(100006164,0004),(100006164,0004),(100006164,0004),(100004878,0002),(100004878,0002),(100004878,0002),(100004878,0004),(100004878,0002),(100004878,0004),(100004878,0002),(100004878,0004),(100004878,0002),(100004878,0004),(100004878,0002),(100004878,0002),(100004881,0003),(100004881,0003),(100004881,0003),(100004881,0003),(100004880,0001),(100004880,0001),(100004880,0001),(100004880,0001),(100005269,0001),(100005269,0001),(100004788,0001),(100004788,0001),(100004250,0001),(100004250,0002),(100004250,0003),(100004250,0001),(100004250,0002),(100003701,0009),(100003701,0010),(100003701,0003),(100003701,0008),(100003701,0004),(100003701,0007),(100003701,0005),(100003701,0006),(100003701,0004),(100003701,0007),(100003701,0005),(100003701,0006),(100003701,0010),(100003701,0009),(100003701,0008),(100003701,0003),(100004507,0007),(100004507,0001),(100004507,0003),(100004507,0005),(100004507,0009),(100004507,0010),(100004507,0002),(100004507,0008),(100004507,0004),(100004507,0006),(100004507,0006),(100004507,0001),(100004507,0010),(100004507,0004),(100004507,0008),(100004507,0003),(100004507,0005),(100004507,0009),(100004507,0002),(100004507,0007),(100004680,0001),(100004680,0001),(100004680,0001),(100004680,0001),(100002171,0002),(100002171,0015),(100002171,0007),(100002171,0010),(100002171,0002),(100002171,0015),(100002171,0007),(100002171,0010),(100002171,0007),(100002171,0002),(100002171,0015),(100002171,0010),(100002171,0007),(100002171,0002),(100002171,0015),(100002171,0010),(100002171,0007),(100002171,0015),(100002171,0002),(100002195,0012),(100002195,0012),(100002195,0012),(100002195,0012),(100002195,0012),(100002194,0001),(100003974,0005),(100003974,0005),(100003971,0004),(100003971,0004),(100002258,0011),(100002258,0011),(100002258,0011),(100002258,0011),(100002258,0011),(100002512,0003),(100002512,0003),(100005334,0002),(100005334,0002),(100005333,0003),(100005333,0003),(100005496,0001),(100005496,0001),(100005329,0002),(100005329,0003),(100005329,0002),(100005329,0002),(100005329,0003),(100005048,0001),(100005048,0001),(100005048,0001),(100005048,0001),(100005046,0006),(100005046,0004),(100005046,0003),(100005046,0003),(100005046,0006),(100005046,0004),(100005046,0004),(100005046,0006),(100005046,0003),(100005046,0006),(100005046,0004),(100005046,0003),(100005326,0002),(100005326,0004),(100005326,0001),(100005326,0003),(100005326,0004),(100005326,0002),(100005326,0001),(100005326,0003),(100005326,0002),(100005326,0004),(100005326,0001),(100005326,0003),(100005391,0003),(100005391,0002),(100005391,0003),(100005391,0002),(100005511,0009),(100005511,0004),(100005511,0006),(100005511,0006),(100005511,0004),(100005511,0009),(100006052,0004),(100006052,0005),(100006052,0001),(100006052,0002),(100006052,0001),(100006052,0005),(100006052,0004),(100003383,0005),(100003383,0006),(100003383,0004),(100003383,0015),(100003383,0013),(100003383,0011),(100003383,0009),(100003383,0007),(100003383,0010),(100003383,0012),(100003383,0014),(100003383,0008),(100003383,0014),(100003383,0013),(100003383,0011),(100003383,0006),(100003383,0008),(100003383,0004),(100003383,0009),(100003383,0007),(100003383,0005),(100003383,0015),(100003383,0010),(100003383,0012),(100002882,0014),(100002882,0010),(100002882,0023),(100002882,0002),(100002882,0018),(100002882,0025),(100002882,0021),(100002882,0020),(100002882,0004),(100002882,0014),(100002882,0010),(100002882,0004),(100002882,0002),(100002882,0020),(100002882,0023),(100002882,0025),(100002882,0021),(100002882,0018),(100002882,0004),(100002882,0020),(100002882,0023),(100002882,0018),(100002882,0025),(100002882,0021),(100002882,0002),(100002882,0016),(100002882,0014),(100002882,0010),(100002882,0002),(100002882,0020),(100002882,0018),(100002882,0004),(100002882,0010),(100002882,0014),(100002882,0025),(100002882,0021),(100003031,0006),(100003031,0006),(100003031,0006),(100003031,0006),(100003032,0030),(100003032,0030),(100003032,0030),(100003032,0030),(100003028,0007),(100003028,0007),(100003028,0007),(100003028,0007),(100003029,0001),(100003029,0001),(100003029,0001),(100003029,0001),(100004678,0001),(100004678,0001),(100003918,0004),(100003918,0002),(100003918,0002),(100003918,0008),(100003918,0004),(100004874,0003),(100004874,0002),(100004874,0001),(100004874,0005),(100004874,0003),(100004874,0004),(100004874,0002),(100004874,0001),(100004683,0002),(100004683,0002),(100004684,0003),(100004684,0003),(100004686,0004),(100004686,0004),(100004682,0001),(100004682,0001),(100004276,0001),(100004276,0001),(100005247,0005),(100005247,0015),(100005247,0014),(100005247,0008),(100005247,0006),(100005247,0009),(100005247,0007),(100005247,0014),(100005247,0015),(100005247,0007),(100004929,0001),(100004929,0001),(100003699,0001),(100003699,0001),(100003696,0002),(100003696,0002),(100004723,0001),(100004723,0001),(100004723,0001),(100002501,0004),(100002501,0004),(100002501,0004),(100002501,0004),(100006278,0001),(100006278,0002),(100006278,0004),(100006278,0004),(100006278,0002),(100006278,0001),(100005126,0002),(100005126,0002),(100005083,0001),(100005083,0001),(100005083,0001),(100003386,0002),(100003386,0002),(100006174,0001),(100006174,0001),(100005222,0002),(100005222,0002),(100002504,0002),(100002504,0002),(100003060,0001),(100003060,0001),(100005156,0002),(100005156,0002),(100005156,0002),(100006279,0003),(100006284,0005),(100006284,0005),(100006285,0001),(100006285,0001),(100004743,0001),(100004743,0001),(100004743,0001),(100004743,0001),(100004743,0001),(100005279,0002),(100005279,0002),(100005279,0003),(100005279,0002),(100005279,0003),(100005279,0003),(100005279,0002),(100005279,0002),(100005279,0003),(100005279,0003),(100005279,0003),(100005279,0002),(100004995,0001),(100004995,0001),(100004994,0004),(100004994,0004),(100003417,0001),(100003417,0001),(100003415,0002),(100003415,0002),(100005832,0003),(100005832,0004),(100005832,0002),(100005832,0003),(100005832,0004),(100005832,0002),(100006930,0001),(100005384,0002),(100005384,0002),(100004172,0002),(100004172,0001),(100004172,0002),(100004172,0001),(100004172,0001),(100004172,0002),(100004172,0002),(100004172,0001),(100003919,0006),(100003919,0005),(100003919,0007),(100003919,0006),(100003919,0005),(100003919,0007),(100002505,0001),(100002505,0001),(100005136,0001),(100003920,0003),(100003920,0001),(100004212,0001),(100004365,0001),(100003828,0001),(100006866,0001),(100006862,0001),(100005029,0002),(100005029,0005),(100005029,0007),(100005029,0008),(100004042,0001),(100005092,0005),(100005092,0001),(100005092,0004),(100005092,0006),(100005476,0001),(100004730,0003),(100002979,0004),(100002979,0003),(100002980,0007),(100005431,0001),(100002436,0011),(100002436,0010),(100002436,0012),(100002436,0013),(100005524,0002),(100005524,0002),(100004534,0001),(100004021,0001),(100006171,0001),(100006524,0001),(100006676,0001),(100004915,0001),(100004915,0001),(100003993,0001),(100005562,0002),(100005562,0003),(100005562,0004),(100005452,0001),(100004690,0001),(100004031,0001),(100004164,0001),(100004165,0002),(100004163,0003),(100005381,0001),(100005381,0002),(100004137,0001),(100004472,0001),(100004263,0001),(100004338,0001),(100004213,0001),(100004787,0001),(100005359,0003),(100005358,0002),(100002841,0002),(100002841,0006),(100002841,0007),(100002841,0004),(100002841,0003),(100002841,0005),(100004112,0003),(100004112,0002),(100005400,0003),(100005400,0007),(100005400,0006),(100005400,0005),(100004210,0002),(100004210,0001),(100004210,0003),(100004210,0004),(100005220,0001),(100005220,0002),(100004855,0001),(100004855,0002),(100004855,0001),(100002771,0001),(100004116,0001),(100004922,0003),(100004922,0001),(100004792,0015),(100004793,0005),(100004170,0001),(100004372,0001),(100004372,0002),(100004371,0003),(100005458,0001),(100004084,0001),(100004173,0002),(100004173,0001),(100004701,0001),(100004117,0001),(100004117,0001),(100005128,0004),(100005106,0002),(100005106,0001),(100002493,0007),(100002493,0008),(100002493,0006),(100002493,0003),(100002493,0005),(100002493,0002),(100002493,0001),(100002493,0004),(100004366,0001),(100004366,0001),(100005084,0001),(100004457,0001),(100004442,0001),(100004442,0002),(100004442,0004),(100004442,0003),(100005563,0009),(100005563,0004),(100005563,0001),(100005563,0011),(100005563,0002),(100005086,0003),(100004942,0001),(100004866,0001),(100003962,0001),(100004413,0001),(100004433,0001),(100004358,0001),(100004358,0001),(100004367,0001),(100004423,0001),(100004015,0001),(100004428,0001),(100002496,0002),(100002496,0001),(100002496,0003),(100003893,0001),(100004377,0001),(100004377,0004),(100004377,0002),(100004377,0003),(100005192,0001),(100005192,0002),(100005192,0003),(100004435,0003),(100004435,0004),(100004435,0001),(100004435,0002),(100004329,0002),(100004329,0004),(100004329,0001),(100004329,0003),(100004589,0002),(100004589,0001),(100004589,0003),(100004589,0004),(100003994,0003),(100003994,0002),(100003994,0001),(100002487,0001),(100002487,0002),(100002487,0003),(100004378,0001),(100004378,0002),(100004378,0003),(100005526,0001),(100004565,0001),(100004565,0002),(100005275,0002),(100005275,0001),(100004558,0004),(100004558,0002),(100004558,0003),(100004558,0001),(100005830,0006),(100005830,0011),(100005830,0001),(100005830,0005),(100005830,0002),(100005830,0003),(100005829,0004),(100005444,0003),(100005445,0001),(100005443,0002),(100004804,0003),(100004804,0005),(100002514,0002),(100004861,0001),(100004585,0001),(100004004,0003),(100004134,0001),(100003814,0001),(100004340,0001),(100004908,0001),(100002428,0008),(100002428,0010),(100002428,0009),(100002428,0007),(100003054,0001),(100002430,0016),(100005892,0001),(100004811,0002),(100004811,0003),(100004811,0001),(100005995,0002),(100005995,0001),(100005995,0003),(100004869,0001),(100004551,0001),(100004057,0002),(100004057,0001),(100005390,0001),(100005390,0001),(100004921,0001),(100004374,0001),(100004001,0001),(100004422,0001),(100004008,0001),(100004370,0001),(100004528,0001),(100004376,0001),(100003881,0001),(100004133,0001),(100004252,0001),(100004672,0002),(100005385,0002),(100005385,0003),(100004139,0001),(100003937,0001),(100004090,0001),(100004535,0001),(100004547,0001),(100005188,0001),(100003998,0001),(100006169,0002),(100006169,0001),(100003960,0001),(100004062,0001),(100004582,0001),(100003837,0001),(100003795,0001),(100004278,0001),(100004160,0003),(100004160,0001),(100004160,0002),(100004735,0002),(100004281,0001),(100004415,0001),(100005941,0001),(100005941,0001),(100006054,0006),(100006054,0002),(100006054,0004),(100006054,0005),(100006054,0001),(100004909,0002),(100004909,0001),(100004909,0003),(100004909,0004),(100003852,0001),(100002918,0001),(100005402,0002),(100005401,0001),(100004229,0002),(100004209,0001),(100004581,0001),(100003866,0007),(100003866,0003),(100003866,0006),(100003866,0002),(100003866,0005),(100003866,0001),(100003866,0004),(100005491,0011),(100005491,0002),(100005492,0003),(100005455,0008),(100005827,0001),(100005510,0001),(100005509,0002),(100004051,0001),(100006116,0002),(100006116,0004),(100006116,0001),(100006116,0003),(100004982,0001),(100004982,0004),(100004982,0003),(100004982,0002),(100004487,0003),(100004487,0001),(100004487,0002),(100004024,0002),(100004024,0001),(100004024,0003),(100005472,0003),(100005520,0001),(100005520,0002),(100004636,0001),(100005468,0001),(100004432,0001),(100004432,0003),(100004432,0002),(100004050,0003),(100004050,0001),(100004050,0002),(100005883,0015),(100005883,0014),(100004161,0001),(100004494,0001),(100004494,0003),(100004494,0002),(100003845,0010),(100003845,0003),(100003847,0005),(100003848,0012),(100004412,0001),(100004412,0001),(100005838,0013),(100005838,0012),(100005882,0001),(100005882,0009),(100005882,0008),(100005882,0007),(100005882,0003),(100005418,0002),(100004443,0001),(100004592,0001),(100006342,0010),(100006342,0009),(100005110,0001),(100005946,0001),(100004275,0001),(100005408,0002),(100003823,0002),(100003823,0001),(100003823,0003),(100003995,0004),(100005249,0002),(100005249,0001),(100005356,0001),(100002490,0003),(100002490,0002),(100005080,0001),(100004498,0002),(100004498,0001),(100004498,0003),(100004498,0004),(100004089,0001),(100004259,0001),(100005240,0001),(100004545,0001),(100004545,0002),(100004227,0003),(100004227,0002),(100004227,0005),(100004227,0009),(100004227,0007),(100004227,0006),(100004227,0008),(100004227,0004),(100003943,0002),(100003943,0001),(100002531,0001),(100005473,0005),(100005474,0007),(100004865,0002),(100004865,0001),(100003112,0005),(100003125,0003),(100003110,0004),(100003102,0002),(100003997,0001),(100003812,0001),(100005300,0002),(100005300,0001),(100004493,0001),(100004493,0002),(100004220,0002),(100004220,0002),(100004219,0004),(100004219,0003),(100004219,0003),(100004219,0004),(100005155,0006),(100005155,0004),(100005155,0003),(100005155,0005),(100005155,0002),(100005155,0001),(100004978,0002),(100004978,0003),(100004978,0004),(100004978,0005),(100004978,0006),(100004978,0007),(100004978,0001),(100004978,0008),(100005133,0001),(100005133,0003),(100005133,0002),(100003838,0001),(100003838,0001),(100004781,0001),(100005306,0001),(100004941,0001),(100004941,0001),(100004082,0001),(100004082,0001),(100004469,0001),(100004469,0001),(100005130,0001),(100004914,0001),(100004914,0001),(100004140,0001),(100004140,0001),(100005043,0005),(100005043,0003),(100005043,0002),(100005043,0004),(100005043,0001),(100004159,0002),(100004159,0003),(100004159,0004),(100004159,0005),(100004159,0001),(100004280,0001),(100004280,0001),(100004395,0001),(100004080,0001),(100005183,0001),(100004642,0001),(100004642,0001),(100004142,0001),(100005131,0001),(100005131,0001),(100004020,0001),(100002966,0005),(100002966,0006),(100002257,0001),(100002257,0014),(100002178,0009),(100002981,0001),(100002981,0005),(100002981,0002),(100002981,0003),(100003849,0001),(100003849,0002),(100005998,0003),(100004973,0001))

    I hope not.
    Create temporary table and insert those values and use join condition.

  • What are the LOV fileds in Oracle HRMS Shared Tables?

    Hi All,
    I want to prepare interface from third party HRMs software to Oracle HRMS shared tables. I need to know what are the important tables needs data to fullfill all requirements like Approval Hierarichy setup configurations. And also want to know the coulmns in tables which need further regular maintenence.
    Need Help
    Neeraj Bhtia

    Hi Avneesh,
    Thanks for you quick response.
    Ail has recommended only for per_all_People_F, but does it sufficient to cover to setup all type of approval hirearchy like, I-Expense, Po Approval, AR-Collectore, AR -Salesperson selection etc.
    Does it need any other table like, PER_ALL_assignment_F?
    Regards,
    Neeraj Bhatia

  • How to use complex function as condition in Oracle Rule Decision Table?

    How to use complex function as condition in Oracle Rule Decision Table?
    We want to compare an incoming date range with the date defined in the rules. This date comparison is based on the input date in the fact & the date as defined for each rule. Can this be done in a decision table?

    I see a couple of problems here.
    First, what you posted below is not a syntactically valid query. It seems to be part of a larger query, specifically, this looks to be only the GROUP BY clause of a query.
    Prabu ammaiappan wrote:
    Hi,
    I Have a group function in the Query. Below is the Query i have used it,
    GROUP BY S.FREIGHTCLASS,
    R.CONTAINERKEY,
    S.SKU,
    S.DESCR ||S.DESCRIPTION2,
    S.PVTYPE,
    RD.LOTTABLE06,
    R.WAREHOUSEREFERENCE,
    RD.TOLOC,
    R.ADDWHO,
    R.TYPE,
    S.CWFLAG,
    S.STDNETWGT,
    S.ORDERUOM,
    R.ADDDATE,
    C.DESCRIPTION,
    (CASE WHEN P.POKEY LIKE '%PUR%' THEN 'NULL' ELSE to_char(P.PODATE,'dd/mm/yyyy') END),
    NVL((CASE WHEN R.ADDWHO='BOOMI' THEN RDD.SUPPLIERNAME END),SS.COMPANY),
    RDD.BRAND,
    S.NAPA,
    RD.RECEIPTKEY,
    R.SUSR4,
    P.POKEY,
    RDD.SUSR1,
    r.STATUS, DECODE(RDD.SUSR2,' ',0,'',0,RDD.SUSR2),
    rd.SUSR3Second, the answer to your primary question, "How do I add a predicate with with a MAX() function to my where clause?" is that you don't. As you discovered, if you attempt to do so, you'll find it doesn't work. If you stop and think about how SQL is processed, it should make sense to you why the SQL is not valid.
    If you want to apply a filter condition such as:
    trunc(max(RD.DATERECEIVED)) BETWEEN TO_DATE('01/08/2011','DD/MM/YYYY') AND TO_DATE('01/08/2011','DD/MM/YYYY')you should do it in a HAVING clause, not a where clause:
    select ....
      from ....
    where ....
    group by ....
    having max(some_date) between this_date and that_date;Hope that helps,
    -Mark

  • Is any difference in oracle 11i and oracle 12 interfaces tables

    Dear All,
    Can someone tells me .. Is any difference in oracle 11i and oracle R12 interface tables?? My company want to upgrade Oracle 11i to EBS R12
    PS
    Edited by: PS on Jul 13, 2012 3:07 PM

    Please also see:
    Identifying Data Model Changes Between EBS 12.1.3 and Prior EBS Releases
    https://blogs.oracle.com/stevenChan/entry/ebs_data_model_1213
    EBS File Comparison Report Now Available
    https://blogs.oracle.com/stevenChan/entry/ebs_file_comparison_report_now
    EBS Seed Data Comparison Reports Now Available
    https://blogs.oracle.com/stevenChan/entry/ebs_seed_data_comparison_reports
    Thanks,
    Hussein

  • Oracle UCM DB Tables List

    Hi,
    Is there any documentation on Oracle UCM database tables .(Whatz functionality of DB tables).
    Thanks in Advance

    Take a look here: http://docs.oracle.com/cd/E10316_01/cs/cs_doc_10/admin/troubleshooting/wwhelp/wwhimpl/js/html/wwhelp.htm
    (click the link Understanding the database)
    It's a 10g version, but most of the tables have the same meaning even in 11g. Not sure if/where 11g version is.

  • Oracle 11g - External Table/SQL Developer Issue?

    Oracle 11g - External Table/SQL Developer Issue?
    ==============================
    I hope this is the right forum for this issue, if not let me, where to go.
    We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
    We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
    ======================
    Date1,date2,Political party,Name, ROLE
    20-Jan-66,22-Nov-69,Democratic,"John ", MMM
    22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
    20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
    9-Aug-72,20-Jan-75,Republican,Henry,MMM
    ------ ALL NULL -- record
    20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
    ======================
    Our Expernal table structures is as follows
    CREATE TABLE P_LOAD
    DATE1 VARCHAR2(10),
    DATE2 VARCHAR2(10),
    POL_PRTY VARCHAR2(30),
    P_NAME VARCHAR2(30),
    P_ROLE VARCHAR2(5)
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY P_EXT_TAB_D
    ACCESS PARAMETERS (
    RECORDS DELIMITED by NEWLINE
    SKIP 1
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
    REJECT ROWS WITH ALL NULL FIELDS
    MISSING FIELD VALUES ARE NULL
    DATE1 CHAR (10) Terminated by "," ,
    DATE2 CHAR (10) Terminated by "," ,
    POL_PRTY CHAR (30) Terminated by "," ,
    P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
    P_ROLE CHAR (5) Terminated by ","
    LOCATION ('Input.dat')
    REJECT LIMIT UNLIMITED;
         It created successfully using SQL Developer
    Here is the issue.
    It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
    It is loading all NULL value record (Rec # 6)     
    *** If we remove the '"' from input data, it loads all records including all NULL records
    Log file has
    KUP-04021: field formatting error for field P_NAME
    KUP-04036: second enclosing delimiter not found
    KUP-04101: record 2 rejected in file ....
    Our questions
    Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
    Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
    Any idea?
    Thanks in helping.

    I don't think this is a SQLDeveloper issue. You will get better answers in the Database - General or perhaps SQL and PL/SQL forums.

  • Oracle 11g - External Table/Remote File Issue?

    Oracle 11g - External Table/Remote File Issue?
    =============================
    I hope this is the right forum for this issue, if not let me, where to go.
    We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
    We are not allowed to put files on the CSV file system (Server A), where DB instance is running. We are able place CSV files on another server(Server B), where DB instance is not running.
    We are trying to use oracle external table to load text files in .CSV format.
    How do we create a Directory (Create Directory) on Server A DB to point to File system of Server B?
    Is it feasible?
    Any idea?
    Thanks in helping.

    The Solaris DBA should be able to mount the filesystem for you. Either that or you have to get creative transferring the file like this;
    http://www.linkedin.com/groups/Getting-creative-external-table-preprocessor-140609.S.50474382?qid=ba673ce4-c4bb-40c5-8367-52bd2a2dfc80&trk=group_search_item_list-0-b-ttl&goback=%2Egmp_140609
    Cheers
    David

  • Oracle 11g - External Table Issue SQL - PL/SQL?

    Oracle 11g - External Table Issue?
    =====================
    I hope this is the right forum for this issue, if not let me, where to go.
    We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
    We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
    ======================
    Date1,date2,Political party,Name, ROLE
    20-Jan-66,22-Nov-69,Democratic,"John ", MMM
    22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
    20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
    9-Aug-72,20-Jan-75,Republican,Henry,MMM
    ALL NULL -- record
    20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
    ======================
    Our Expernal table structures is as follows
    CREATE TABLE P_LOAD
    DATE1 VARCHAR2(10),
    DATE2 VARCHAR2(10),
    POL_PRTY VARCHAR2(30),
    P_NAME VARCHAR2(30),
    P_ROLE VARCHAR2(5)
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY P_EXT_TAB_D
    ACCESS PARAMETERS (
    RECORDS DELIMITED by NEWLINE
    SKIP 1
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
    REJECT ROWS WITH ALL NULL FIELDS
    MISSING FIELD VALUES ARE NULL
    DATE1 CHAR (10) Terminated by "," ,
    DATE2 CHAR (10) Terminated by "," ,
    POL_PRTY CHAR (30) Terminated by "," ,
    P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
    P_ROLE CHAR (5) Terminated by ","
    LOCATION ('Input.dat')
    REJECT LIMIT UNLIMITED;
    It created successfully using SQL Developer
    Here is the issue.
    It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
    It is loading all NULL value record (Rec # 6)
    *** If we remove the '"' from input data, it loads all records including all NULL records
    Log file has
    KUP-04021: field formatting error for field P_NAME
    KUP-04036: second enclosing delimiter not found
    KUP-04101: record 2 rejected in file ....
    Our questions
    Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
    Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
    Any idea?
    Thanks in helping.
    Edited by: qwe16235 on Jun 11, 2011 11:31 AM

    I'm not sure, but maybe you should get rid of the redundancy that you have in your CREATE TABLE statement.
    This line covers all fields:
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"'
    {code}
    So I would change the field list to:
    {code}
    DATE1 CHAR (10),
    DATE2 CHAR (10),
    POL_PRTY CHAR (30),
    P_NAME CHAR (30),
    P_ROLE CHAR (5)
    {code}
    It worked on my installation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Oracle 11g - External Table Issue?

    Oracle 11g - External Table Issue?
    =====================
    I hope this is the right forum for this issue, if not let me, where to go.
    We are using Oracle 11g (11.2.0.1.0) on (Platform : solaris[tm] oe (64-bit)), Sql Developer 3.0.04
    We are trying to use oracle external table to load text files in .csv format. Here is our data look like.
    ======================
    Date1,date2,Political party,Name, ROLE
    20-Jan-66,22-Nov-69,Democratic,"John ", MMM
    22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
    20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
    9-Aug-72,20-Jan-75,Republican,Henry,MMM
    ------ ALL NULL -- record
    20-Jan-80,20-Jan-89,Democratic,"Donald Smith",MMM
    ======================
    Our Expernal table structures is as follows
    CREATE TABLE P_LOAD
    DATE1 VARCHAR2(10),
    DATE2 VARCHAR2(10),
    POL_PRTY VARCHAR2(30),
    P_NAME VARCHAR2(30),
    P_ROLE VARCHAR2(5)
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY P_EXT_TAB_D
    ACCESS PARAMETERS (
    RECORDS DELIMITED by NEWLINE
    SKIP 1
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
    REJECT ROWS WITH ALL NULL FIELDS
    MISSING FIELD VALUES ARE NULL
    DATE1 CHAR (10) Terminated by "," ,
    DATE2 CHAR (10) Terminated by "," ,
    POL_PRTY CHAR (30) Terminated by "," ,
    P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
    P_ROLE CHAR (5) Terminated by ","
    LOCATION ('Input.dat')
    REJECT LIMIT UNLIMITED;
         It created successfully using SQL Developer
    Here is the issue.
    It is not loading the records, where fields are enclosed in '"' (Rec # 2,3,4,7)
    It is loading all NULL value record (Rec # 6)     
    *** If we remove the '"' from input data, it loads all records including all NULL records
    Log file has
    KUP-04021: field formatting error for field P_NAME
    KUP-04036: second enclosing delimiter not found
    KUP-04101: record 2 rejected in file ....
    Our questions
    Why did "REJECT ROWS WITH ALL NULL FIELDS" not working?
    Why did Terminated by "," OPTIONALLY ENCLOSED BY '"' not working?
    Any idea?
    Thanks in helping.
    Edited by: qwe16235 on Jun 10, 2011 2:16 PM

    The following worked for me:
    drop table p_load;
    CREATE TABLE P_LOAD
    DATE1 VARCHAR2(10),
    DATE2 VARCHAR2(10),
    POL_PRTY VARCHAR2(30),
    P_NAME VARCHAR2(30),
    P_ROLE VARCHAR2(5)
    ORGANIZATION EXTERNAL
    (TYPE ORACLE_LOADER
    DEFAULT DIRECTORY scott_def_dir1
    ACCESS PARAMETERS (
    RECORDS DELIMITED by NEWLINE
    badfile scott_def_dir2:'p_load_%a_%p.bad'
    logfile scott_def_dir2:'p_load_%a_%p.log'
    SKIP 1
    FIELDS TERMINATED BY "," OPTIONALLY ENCLOSED BY '"' LDRTRIM
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL NULL FIELDS
    DATE1 CHAR (10) Terminated by "," ,
    DATE2 CHAR (10) Terminated by "," ,
    POL_PRTY CHAR (30) Terminated by "," ,
    P_NAME CHAR (30) Terminated by "," OPTIONALLY ENCLOSED BY '"' ,
    P_ROLE CHAR (5) Terminated by ","
    LOCATION ('Input.dat')
    REJECT LIMIT UNLIMITED;
    Note that I had to interchange the two lines:
    MISSING FIELD VALUES ARE NULL
    REJECT ROWS WITH ALL NULL FIELDS
    Just to get the access parameters to parse correctly.
    I added two empty lines, one in the middle and one at the end - both were rejected.
    In the log file, you will see the rejectiions:
    $ cat p_load_000_9219.log
    LOG file opened at 07/08/11 19:47:23
    Field Definitions for table P_LOAD
    Record format DELIMITED BY NEWLINE
    Data in file has same endianness as the platform
    Reject rows with all null fields
    Fields in Data Source:
    DATE1 CHAR (10)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    DATE2 CHAR (10)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    POL_PRTY CHAR (30)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    P_NAME CHAR (30)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    P_ROLE CHAR (5)
    Terminated by ","
    Enclosed by """ and """
    Trim whitespace same as SQL Loader
    KUP-04073: record ignored because all referenced fields are null for a record
    KUP-04073: record ignored because all referenced fields are null for a record
    Input Data:
    Date1,date2,Political party,Name, ROLE
    20-Jan-66,22-Nov-69,Democratic,"John ", MMM
    22-Nov-70,20-Jan-71,Democratic,"John Jr.",MMM
    20-Jan-68,9-Aug-70,Republican,"Rick Ford Sr.", MMM
    9-Aug-72,20-Jan-75,Republican,Henry,MMM
    4-Aug-70,20-Jan-75,Independent
    Result:
    SQL> select * from p_load;
    DATE1 DATE2 POL_PRTY P_NAME P_ROL
    20-Jan-66 22-Nov-69 Democratic John MMM
    22-Nov-70 20-Jan-71 Democratic John Jr. MMM
    20-Jan-68 9-Aug-70 Republican Rick Ford Sr. MMM
    9-Aug-72 20-Jan-75 Republican Henry MMM
    Regards,
    - Allen

  • Cannot create a temporary column table in HANA SP8 console

    Hi All,
    We upgraded the HANA to SP8 version this week, and found there are some issues when creating a temporary table.
    Here is the sql:
    CREATE TYPE TT_CONF AS TABLE(ID INTEGER, NAME VARCHAR(32))
    CREATE LOCAL TEMPORARY COLUMN TABLE #CONF LIKE TT_CONF;
    And then got the error message like below:
    Could not execute 'CREATE LOCAL TEMPORARY COLUMN TABLE #CONF LIKE TT_CONF' in 220 ms 419 µs .
    SAP DBTech JDBC: [598]: failed to execute the external statement: InvalidHostNameException at Communication.cpp(01174):
      message: the hostname could not be resolved
      info:    host unknown
      param:  
    Is this a new constraints or just a bug? Does anybody have this issue?

    Hi, queena
    I also encounter the same problem in XS service. Now we import '/sap/hana/xs/libs/dbutils/procedures.xsjslib' into our project. But it will throw errors when one of the procedure's parameters is a temporary table.
    Then we debug it, then we find errors come from following statement : connection.prepareStatement('CREATE LOCAL TEMPORARY COLUMN TABLE "' + localschema + '"."' + localtemp + '" LIKE "' + schema_name + '"."' + table_name + '"').execute();
    So we try to delete COLUMN in the lib, then everything seems okay.

  • Raw pointer access to in-memory tables

    Hello, I realize this is quite an odd question, but I was wondering if it's possible to obtain raw pointers to rows stored in an in-memory table introduced in SQL Server 2014.
    What I am trying to do is to use AMD Kaveri APU in conjunction with SQL Server 2014. The APU has 500+ shader cores that can perform an operation on a piece of memory in parallel, and since SQL Server 2014 already keeps these tables in memory, I was hoping
    there is a way to reference these tables directly via pointers that can be used by APU cores (I could create wrapper code in CLR if needed) rather than taking data out of the database and creating in-memory arrays. All data types I am interested in are fixed
    length (doubles) and tables can be locked in the "read-only" state while read operations take place.
    Is it possible to access in-memory tables via raw pointers?

    Hi Popsovy,
    Thank you for your question. I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated. 
    Thank you for your understanding and support.
    If you have any feedback on our support, please click
    here.
    Elvis Long
    TechNet Community Support

Maybe you are looking for

  • Optical Drive works FINE but WONT EJECT

    Hello all I have white macbook that I bought approximately about a year and half ago, and I sadly dropped it one day (fell asleep watching something and fell off my bed). Anyway since then the optical drive will accept and play dvd/cd's fine and will

  • File Host Scan for MAC

    Hello, Any guidance or help is appreciated. Looking at performing a File Host Scan/Check for MACs and have not seen any exemples for file path. Windows file check is easy and straightforward. In a MAC, let's say we create a text file and place that i

  • How to add password to nokia 5230 mobile?

    Hello, I have recently bought my nokia 5230. But i dont know how to make my mobile password protected, without using any external software.  Please provide me the steps the do it. Thank you 

  • Disable the CTRL+ALT+DELETE when log in xp T60

    I have T60 and i just installed lenovo xp again, and every time i log in XP i need to press CTRL+ALT+DELETE, how i can get this uncomfortable think off? I just want to sing by my fingerprint

  • The solution is simple - we as consumers have the control - read to see how

    I find the solution to the price cut easy: Tell everyone you know that the iPhone *****. Seriously. Think about it. Especially if you are in NYC. Just be honest - tell everyone you know how AT&T is a joke and that the phone is a smudgy mess. We have