How do I CREATE IF NOT EXISTS Temp table in PLSQL?

hello, how do I CREATE IF NOT EXISTS Temp table in PLSQL? The following table is to be created in FIRST call inside a recursive function (which you'll see in QUESTION 2).
QUESTION 1:
CREATE GLOBAL TEMPORARY TABLE TmpHierarchyMap
                              Id numeric(19,0) NOT NULL,
                              ParentId numeric(19,0) NOT NULL,
                              ChildId numeric(19,0) NOT NULL,
... more ...
                         ) on commit delete rows');
QUESTION 2: How to return a temp table from a function?
For example, this is how I'm doing it at the moment, using Nested Table.
EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE TmpHierarchyMapObjType AS OBJECT
               Id numeric(19,0) ,
               ParentId numeric(19,0),
               ChildId numeric(19,0),
... more ...
     EXECUTE IMMEDIATE 'CREATE OR REPLACE TYPE TmpHierarchyMapTableType AS TABLE OF TmpHierarchyMapObjType;';
CREATE OR REPLACE FUNCTION fnGetParentsTable
ObjectId number,
ObjectClassifier varchar2
RETURN TmpHierarchyMapTableType
IS
TmpHierarchyMap TmpHierarchyMapTableType := TmpHierarchyMapTableType();
ThisTempId varchar2(32);
CURSOR spGetParents_cursor IS
SELECT
Id,
ParentId,
ChildId,
FROM TMP_HIERARCHYMAP
WHERE TempId = ThisTempId;
BEGIN
SELECT sys_guid() INTO ThisTempId FROM dual;
spRecursiveGetParents(ObjectId, ObjectClassifier, ThisTempId);
FOR oMap in spGetParents_cursor LOOP
TmpHierarchyMap.Extend();
TmpHierarchyMap(TmpHierarchyMap.Count) := TmpHierarchyMapObjType( oMap.Id
, oMap.ParentId
, oMap.ChildId
END LOOP;
DELETE FROM TMP_HIERARCHYMAP WHERE TempId = ThisTempId;
RETURN TmpHierarchyMap;
END fnGetParentsTable;
QUESTION 3: what does the word GLOBAL means? I read that temp table is visible only to a particular database connection/session and will be dropped automatically on termination of the session. i can only find this information in some forum discussion but failed to locate this in Oracle doc, can someone point me in right direction please?
Many thanks!
REF:
http://stackoverflow.com/questions/221822/sybase-developer-asks-how-to-create-a-temporary-table-in-oracle
http://www.oracle-base.com/articles/8i/TemporaryTables.php

devvvy wrote:
so if I CREATE GLOBAL TEMPORARY TABLE twice on second pass of my recursive function what then...?You don't create it inside your function.
You create the GTT once on your database outside of the function and then just leave it there and use it.
Tables should not be dynamically created and dropped.
Only other database engines such as SQL Server use the concept of creating temporary tables during the execution of code. Oracle uses a "create once, use whenever" methodology.

Similar Messages

  • I want to make a note and put in a folder like we just place a notepad by right clicking in windows,how should I create a note in a folder in mac pro ...?

    I want to make a note and put in a folder like we just place a notepad by right clicking in windows,how should I create a note in a folder in mac pro ...?

    There's no "New File" shortcut in Finder on Macs, so you have to launch the application you want (eg TextEdit), create your document, and save it there. There are workarounds using Terminal (the touch command), AppleScript/Automator, and using third-party launch programs like Quicksilver, but natively, it can't be done.
    Matt

  • How to update zero to a column value when record does not exist in table but should display the column value when it exists in table?

    Hello Everyone,
    How to update zero to a column value when record does not exist in table  but should display the column value when it exists in table
    Regards
    Regards Gautam S

    As per my understanding...
    You Would like to see this 
    Code:
    SELECT COALESCE(Salary,0) from Employee;
    Regards
    Shivaprasad S
    Please mark as answer if helpful
    Shiv

  • How can I get rid of Global Temp Table

    Hello,
    I've been writing PL/SQL stored proc for creating reports on VB.NET front end. Until now, I've been using session specific global temp table to store intermediate results and at the end I pass the result set to .NET via reference cursor. The reports are created by simply binding the ref cursor result sets to .NET grids. It's been working fine, but I am kind of bothered by the temp tables. I looked on other options, but couldn't really come up with one.
    Can somebody suggest me how I can get rid of those temp tables? Thanks,

    Tubby, that's exactly I was trying to do. I think that table type has to be defined in database, not within PL/SQL. How can I create that table of user defined record type? I tried that, but it doesn't allow me. I think I am missing something. For example,
    create type group_t is record
    (A varchar2,
    B number,
    C number)
    now inside sp, i have something like:
    type my_group is table of group_t index by binary_integer
    now I have sp cursor as
    cursor cur_test IS 'ABC' as A, 1 as B, 5 as C
    now i do something like this. My original queries are longer and much more complicated so please don't suggest you can directly open ref cursor for this query.
    FETCH cur_test BULK COLLECT INTO my_group;
    Then I do all the processing, calculations, totals, sub-totals, and insert into temp table and return via ref cursor.
    My problem is I can't directly fetch into the above table you mentioned. How should I go about in this situation?
    Maybe I should STOP thinking about this approach and just do whatever I've been doing or solve it through pure SQL. However, there are tons of problems with pure SQL approach.

  • Position does not exist in table T528

    I have transported from Dev to QAS.
    I am trying to hire an employee using PA40 and when i select position it is giving an error saying does not exist in table T528

    Hello,
    I have created a entire new org. structure in QA including the positions.
    When I am trying to assign the positions I am getting the same error as entry does not exist in table T528B.
    I have checked the table and there are no entires for my positions.
    What I need to do now?
    Kindly reply.
    Thank you

  • Argument does not exist in Table?

    Hi,
    I'm trying to create Planned Independent Requirements using the BAPI_REQUIREMENTS_CREATE.
    Getting the error "Argument does not exist in Table".
    I'm passing the following parameters.
    REQUIREMENTS_ITEM
          MATERIAL    = '000000000000015197'.
          PLANT         = 'ABC1'.
          REQU_TYPE= 'TEST'.
          VERSION    = '00'.
          VERS_ACTIV = 'X'.
          REQ_NUMBER = ''.
    REQUIREMENTS_SCHEDULE_IN
    DATE_TYPE = '2'.
    REQ_DATE  = '20101001'.
    REQ_QTY   =  50.
    PROD_VES  = '0010'.
    REQUIREMENT_PARAM
          STATUS  = ''.
          TRTYP   = 'X'.
          DELKZ   = SPACE.
          SYNCRON = 'X'.
    Did I miss any parameters?
    Why I'm getting this error?
    Thanks
    Thruna

    Ryan,
    Are you passing all the parameters like below?
      SSHDIN-DATE_TYPE = '2'.
      SSHDIN-REQ_DATE  = '20100101'.
      SSHDIN-REQ_QTY   =  100.
      APPEND SSHDIN.
          ITEM-MATERIAL    = '00000000000012345'.
          ITEM-PLANT         = 'ABC1'.
          ITEM-REQU_TYPE  = 'TEST'.
          ITEM-VERSION    = '00'.
          ITEM-VERS_ACTIV = 'X'.
          ITEM-REQ_NUMBER = ''.
          ITEM-MRP-AREA = 'ABC1'.
          PARAM-STATUS  = 'X'.
          PARAM-TRTYP   = 'X'.
          PARAM-DELKZ   = SPACE.
          PARAM-SYNCRON = 'X'.
          CALL FUNCTION 'BAPI_REQUIREMENTS_CREATE'
               EXPORTING
                    REQUIREMENTS_ITEM        = ITEM
                    REQUIREMENT_PARAM        = PARAM
               IMPORTING
                    MATERIAL                 = BAPI_MATNR
                    PLANT                    = BAPI_WERKS
                    REQUIREMENTSTYPE         = BAPI_BEDAE
                    VERSION                  = BAPI_VERSB
                    REQMTSPLANNUMBER         = BAPI_PBDNR
               TABLES
                    REQUIREMENTS_SCHEDULE_IN = SSHDIN
                    RETURN                   = RETURN1
               EXCEPTIONS
                    OTHERS                   = 1.
    Thanks
    Thruna

  • Release strategy: Tx CL20N Error: Entry 01 does not exist in table T16FS

    Dear MM Gurus,
    I was designing new release strategy for PR and PO, so I deleted all the previous entries(SPRO) available in SAP. I created my new entries but in the transaction CL20N I got the above mentioned error: "Entry 01 does not exist in table T16FS-Check your entry" . I checked the table T16FS, where the entries were available. It also showed the previous entries I deleted from SPRO.
    Refering the SAP note 365604 (version 29, valid from 08.10.2008), I created the deleted entries again so that I could delete them in the required sequence
    1. release strategies
    2. release indicators
    3. release codes
    4. release groups
    5. class
    After deleting the entries in the above mentioned sequence also I am getting the same error in CL20N.
    I ran report RCCLZUOB, it shows the entries does not exist.
    Please help.
    Edited by: Akshay Kurhe on Mar 2, 2009 6:02 AM

    hi
    check this setting
    Distribution Using Object Classes -->Maintain Class Types & Maintain Classes

  • Entry DE  does not exist in table T005E

    Dear all
    I create Plan ( module PP ) when i input values in field Country " DE "  is error . " Entry DE does not exist in table T005E " .Plz help me
      Thanks and Regard ,
       Lan nguyen

    Dear,
    Please check the entry of DE
    In SPRO -> SAP NetWeaver-> General Settings-> Set Countries-> Insert Regions
    In this table we maintain the regions for the Country.
    Please refer the OSS Notes : 107588, 122292, 161359
    Regards,
    R.Brahmankar

  • Record Z2 SP09 does not exist in table T133D

    Hi Guru,
    I want to configure the screen Material Master using
    IMG->Logistics-General->Material Master->Configuring the Material Master->Define Structure of Data Screens of Each Screen Sequence and
    Screen sequence : create Z1 
    Data screen Z1 : scrn 07 (Basic Data) and scrn 14(Purchasing)
    subscreen for : scrn 07(basic data ) 1002, 2001, 2561,2005 and
                           scrn14(Purchasing) 1005,2301,2701,2302
    When I create a Material it's ok, but if I switch from basic data to purchasing by clicking the tab sheet, I got an error : Record Z1 SP09 does not exists in table T133D ? When I saw at table T133D, SP09 did not there for sceen seq Z1
    (I saw for 01 / standard SAP) it's there.
    Anybody can help what wrong ?
    Thank's

    Cabe,
    I am pretty sure this is a bug with your IDES system. Basically, SP09 (note that it could be say SP02 etc depending on the number of screens defined in your Z screen sequence) is the function code that is associated with the pushbutton (or tab) for the purchasing screen (screen no. 14) in the material master.
    So, there should be an entry corresponding to function code (say SP09) and successor screen (say purchasing screen no. 14) in table T133D. If there is none, then message M3748 will be issued in function module T133D_SINGLE_READ_FCODE.
    I have tested this in my system and I don't get the error ME748. So, there must a bug or an OSS note missing in your IDES system which is causing an incorrect update of table T133D.
    I would suggest you to post the question in the ABAP forum if you need a better technical explanation of PAI events and reading function codes.
    Hope this helps.
    H Narayan

  • "Municipality key municipality name not existing in table T5ITM4 on date

    Hello
    We are having a issue with assigning a municipality key for employees in Italy under IT0002 in ECC 6.0, all the municipalities are existing with the right dates but when we are getting the following message when assigning.
    "Municipality key <municipality name> not existing in table T5ITM4 on date
    Thanks

    ensure the client that you have the entries is same as the client that you test. When i was checking the note, we were already in the support pack required by the note. what we noticed are the entries were available in Client 000 but I was tetsing in a different client which didnt have the same entries.
    So i requested my basis folks to copy to the table entries and it worked.
    I came across an old note 589011 pointing to a report RPUCMNI0 which can also do the trick for you.
    both OSS Notes helps you load customizing required for Italy Master data and Payroll data. In my case, I was interested only in MasterData(T5ITM4, T5ITMX).

  • How to mapping Entity beans to existing database tables.

    dear all
    how can i mapping Entity beans to existing database tables and not to create new table in Orion.
    thanks for any input.
    seabin

    * You define the name of the table that an Entity EJB maps to in orion-ejb-jar.xml. For eg:<entity-deployment name="MyEntityEJB" data-source="MyDS" table="MY_DB_TABLE" ...>* If you don't want to let Orion create the tables for your EJBs, have the following entry in either of the files given below:<orion-application autocreate-tables="false" ...>1) <orion-home>/j2ee/home/config/application.xml (global effect)
    2) orion-application.xml file of that particular application (application specific)
    HTH.

  • PLSQL script not collecting temp table fields - variables problem?

    I've 'written' a script to extract data from a temp table and load it directly into the associated Oracle tables via HRMS's
    API packages.. but when I put the DBMS_OUTPUT.PUT_LINE's in I see that although it seems to read first API OK it doesn't collect the information from their relevant fields in the temp table.. Can anyone help please please..?
    ======================== code ==========================
    SET serveroutput ON SIZE 1000000
    SET verify OFF
    SET feedback OFF
    DECLARE
    -- Debugging/error handling
    v_err_seq NUMBER := 0;
    v_err_num VARCHAR2 (30);
    v_err_msg VARCHAR2 (250);
    v_err_line VARCHAR2 (350);
    -- Work variables
    p_hire_date DATE;
    p_business_group_id NUMBER := 0;
    p_person_id NUMBER := 0;
    p_address_line1 VARCHAR2 (240);
    p_date_of_birth VARCHAR2 (35);
    p_address_line2 VARCHAR2 (240);
    employee_number VARCHAR2 (14);
    p_employee_number VARCHAR2 (14);
    emp_number VARCHAR2 (14);
    p_email_address VARCHAR2 (240);
    p_address_line3 VARCHAR2 (240);
    p_first_name VARCHAR2 (150);
    p_address_line4 VARCHAR2 (240);
    p_middle_names VARCHAR2 (30);
    p_post_code VARCHAR2 (30);
    p_last_name VARCHAR2 (150);
    p_nationality VARCHAR2 (30);
    p_sex VARCHAR2 (30);
    p_national_identifier VARCHAR2 (30);
    p_title VARCHAR2 (30);
    v_rec_cnt NUMBER := 0;
    insert_flag VARCHAR2 (8);
    -- ip_p_address_id NUMBER;
    ip_p_address_id per_addresses.address_id%TYPE;
    ip_p_object_version_number NUMBER;
    ip_p_party_id per_addresses.party_id%TYPE;
    l_person_id per_all_people_f.person_id%TYPE;
    l_employee_number VARCHAR2 (35);
    l_validate BOOLEAN DEFAULT FALSE;
    l_assignment_id NUMBER;
    l_per_object_version_number NUMBER;
    l_asg_object_version_number NUMBER;
    l_per_effective_start_date DATE;
    l_per_effective_end_date DATE;
    l_full_name VARCHAR2 (240);
    l_per_comment_id NUMBER;
    l_assignment_sequence NUMBER;
    l_assignment_number VARCHAR2 (100);
    l_name_combination_warning BOOLEAN;
    l_assign_payroll_warning BOOLEAN;
    l_address_id NUMBER;
    l_object_version_number NUMBER;
    return_code NUMBER;
    return_message VARCHAR2 (2000);
    command_prin VARCHAR2 (4000);
    -- Get employee details info from work table
    CURSOR get_employee_details
    IS
    SELECT p_person_id, p_validate, p_hire_date, p_business_group_id,
    p_last_name, p_sex, p_date_of_birth, p_email_address,
    p_employee_number, p_first_name, p_marital_status,
    p_middle_names, p_nationality, p_title, p_national_identifier,
    p_address_line1, p_address_line2, p_address_line3,
    p_address_line4, p_post_code
    FROM SU_TEMPLOYEE_DETAILS;
    -- checks employee details info from PER_ALL_PEOPLE_F table
    -- v_err_seq := 1;
    CURSOR c_check_employee (emp_number VARCHAR2)
    IS
    SELECT per.person_id, per.business_group_id, per.last_name,
    per.start_date, per.date_of_birth, per.email_address,
    per.employee_number, per.first_name, per.marital_status,
    per.middle_names, per.nationality, per.national_identifier,
    per.sex, per.title, padd.address_id, padd.primary_flag,
    padd.address_line1, padd.address_line2, padd.address_line3,
    padd.town_or_city, padd.postal_code, padd.telephone_number_1,
    padd.object_version_number
    FROM per_all_people_f per, per_addresses padd
    WHERE per.employee_number = emp_number
    AND per.person_id = padd.person_id;
    emp_rec c_check_employee%ROWTYPE;
    BEGIN
    --v_err_seq := 2;
    command_prin := SQLERRM;
    LOOP
    -- Process each record in the work table
    FOR v_emp IN get_employee_details
    LOOP
    v_rec_cnt := v_rec_cnt + 1;
    -- determine whether customer already exists
    OPEN c_check_employee (v_emp.p_employee_number);
    FETCH c_check_employee
    INTO emp_rec;
    IF c_check_employee%NOTFOUND
    THEN
    insert_flag := 'I';
    ELSE
    insert_flag := 'X';
    END IF;
    IF insert_flag = 'I'
    THEN
    -- RETURN 'Employee does not exist, continue import..';
    DBMS_OUTPUT.PUT_LINE ('Employee does not exist, continue import..');
    ELSE
    DBMS_OUTPUT.PUT_LINE ('Employee found - record cannot be imported.');
    END IF;
    CLOSE c_check_employee;
    -- v_err_seq := 3;
    -- Create new PER_ALL_PEOPLE_F and PER_ADDRESSES record from
    -- info in table record
    IF insert_flag = 'I'
    THEN
    BEGIN -- Importing Employee Procedure --
    DBMS_OUTPUT.PUT_LINE ('          ');
    DBMS_OUTPUT.PUT_LINE ('Importing employees....Hold On.......!     ');
         DBMS_OUTPUT.PUT_LINE ('          ');
    BEGIN
    Hr_Employee_Api.create_gb_employee
    (p_validate => l_validate, --FALSE,
    p_hire_date => p_hire_date,
    p_business_group_id => p_business_group_id,
    p_date_of_birth => p_date_of_birth,
    p_email_address => p_email_address,
    p_first_name => p_first_name,
    p_middle_names => p_middle_names,
    p_last_name => p_last_name,
    p_sex => p_sex,
    p_ni_number => p_national_identifier,
    p_employee_number => l_employee_number,
    p_person_id => l_person_id,
    p_title => p_title,
    p_assignment_id => l_assignment_id,
    p_per_object_version_number => l_per_object_version_number,
    p_asg_object_version_number => l_asg_object_version_number,
    p_per_effective_start_date => l_per_effective_start_date,
    p_per_effective_end_date => l_per_effective_end_date,
    p_full_name => l_full_name,
    p_per_comment_id => l_per_comment_id,
    p_assignment_sequence => l_assignment_sequence,
    p_assignment_number => l_assignment_number,
    p_name_combination_warning => l_name_combination_warning,
    p_assign_payroll_warning => l_assign_payroll_warning
    DBMS_OUTPUT.PUT_LINE
    ('..employee record updated succesfully..');
    DBMS_OUTPUT.PUT_LINE ('          ');
    DBMS_OUTPUT.PUT_LINE ('          ');
    EXCEPTION
    WHEN OTHERS
    THEN
    DBMS_OUTPUT.PUT_LINE ('..SQLCodeErrors:- ' || SQLCODE);
         DBMS_OUTPUT.PUT_LINE (' ');
    DBMS_OUTPUT.PUT_LINE ('Person ID:-' || p_person_id || l_person_id);
    DBMS_OUTPUT.PUT_LINE ('Assignmnt Seq - '|| l_assignment_sequence);
    DBMS_OUTPUT.PUT_LINE ('l_ass_no - ' ||l_assignment_number);
    -- DBMS_OUTPUT.PUT_LINE ('Record failed to load.. ' || SQLERRM);
    DBMS_OUTPUT.PUT_LINE (SUBSTR (command_prin, 1, 250));
    END;
    BEGIN -- Importing Associated Address Procedure --
    DBMS_OUTPUT.PUT_LINE ('          ');
    -- ('..and the associated employee address....');
    Hr_Person_Address_Api.create_person_address
    (p_validate => l_validate,
    -- p_effective_date => p_hire_date,
    p_effective_date => SYSDATE,
    p_pradd_ovlapval_override => NULL,
    p_validate_county => NULL,
    p_person_id => l_person_id,
    p_primary_flag => 'Y',
    p_style => 'GB_GLB',
    -- p_date_from => p_hire_date,
    p_date_from => SYSDATE,
    p_date_to => NULL,
    p_address_type => NULL,
    p_comments => NULL,
    p_address_line1 => p_address_line1,
    p_address_line2 => p_address_line2,
    p_address_line3 => p_address_line3,
    p_town_or_city => p_address_line4,
    p_region_1 => NULL,
    p_region_2 => NULL,
    p_region_3 => NULL,
    p_postal_code => p_post_code,
    p_country => p_nationality,
    p_telephone_number_1 => NULL,
    p_telephone_number_2 => NULL,
    p_telephone_number_3 => NULL,
    p_addr_attribute_category => NULL,
    p_addr_attribute1 => NULL,
    p_addr_attribute2 => NULL,
    p_addr_attribute3 => NULL,
    p_addr_attribute4 => NULL,
    p_addr_attribute5 => NULL,
    p_addr_attribute6 => NULL,
    p_addr_attribute7 => NULL,
    p_addr_attribute8 => NULL,
    p_addr_attribute9 => NULL,
    p_addr_attribute10 => NULL,
    p_addr_attribute11 => NULL,
    p_addr_attribute12 => NULL,
    p_addr_attribute13 => NULL,
    p_addr_attribute14 => NULL,
    p_addr_attribute15 => NULL,
    p_addr_attribute16 => NULL,
    p_addr_attribute17 => NULL,
    p_addr_attribute18 => NULL,
    p_addr_attribute19 => NULL,
    p_addr_attribute20 => NULL,
    p_add_information13 => NULL,
    p_add_information14 => NULL,
    p_add_information15 => NULL,
    p_add_information16 => NULL,
    p_add_information17 => NULL,
    p_add_information18 => NULL,
    p_add_information19 => NULL,
    p_add_information20 => NULL,
    -- p_party_id => NULL,
    p_party_id => ip_p_party_id,
    p_address_id => ip_p_address_id,
    p_object_version_number => ip_p_object_version_number
    DBMS_OUTPUT.PUT_LINE ('Address Updation/Insertion has been successful!');
    EXIT WHEN command_prin IS NULL;
    command_prin := SUBSTR (command_prin, 251);
    END;
    END;
    -- v_err_seq := 4;
    -- End of customer related details
    END IF;
    END LOOP;
    -- DBMS_OUTPUT.PUT_LINE ('Records read : ' || v_rec_cnt);
    -- v_err_seq := 5;
    --EXCEPTION
    -- WHEN OTHERS THEN
    -- ROLLBACK;
    -- Output Error Message
    -- v_err_num := TO_CHAR(SQLCODE);
    -- v_err_msg := SUBSTR(SQLERRM,1,250);
    -- v_err_line := 'Oracle error (seqno=' || v_err_seq || ') ' ||
    -- v_err_num ||' occurred processing record '||
    -- TO_CHAR(v_rec_cnt + 1) ||' : '||v_err_msg;
    -- DBMS_OUTPUT.PUT_LINE(v_err_line);
    END LOOP;
    COMMIT;
    END;
    --END;
    EXIT;
    ======================================================
    many thanks to all...
    Steven

    Ive just sussed it - I had'nt put the 'v_emp' at the front of the fields from the temp table to pick then up! we continue..

  • How can you create a layer under a table?

    If anyone knows how- or can send me a linkon how to create a
    layer under a table.
    Great help!!
    ty

    Except that z-index of 2 will appear HIGHER in the
    z-coordinate than a
    z-index of 1. But we still don't know if that's what OP meant
    by "under".
    Murray --- ICQ 71997575
    Adobe Community Expert
    (If you *MUST* email me, don't LAUGH when you do so!)
    ==================
    http://www.dreamweavermx-templates.com
    - Template Triage!
    http://www.projectseven.com/go
    - DW FAQs, Tutorials & Resources
    http://www.dwfaq.com - DW FAQs,
    Tutorials & Resources
    http://www.macromedia.com/support/search/
    - Macromedia (MM) Technotes
    ==================
    "L. Simon" <[email protected]> wrote in
    message
    news:fbpj5r$89p$[email protected]..
    > This would be my first attempt:
    >
    quote:
    > <div style="z-index:1">
    > .... table content...
    > </div>
    >
    > <div id="stuffunderatable" style="z-index:2">
    > ... whatever you want under the table>
    > </div>
    >
    > <style type="text/css">
    > #stuffunderatable {
    > position:absolute;
    > top:45px;
    > left:45px;}
    > </style>
    >
    > Note that the 45px numbers are out of thin air, and
    you'll need to adjust
    > it
    > to get the layer to appear where you want on your page.
    >

  • DAC, ETL failed due to Post-Etl Script not exist and table not exist.

    When execute the ETL in DAC, it failed when execute the "Change Capture For Siebel OLTP"
    encounterred the following two type errors.
    how to fix these errors?
    The first is the table not exist:
    ======================================================================
    MESSAGE:::Could not truncate table 'S_ETL_I_IMG_38' because this table does not exist in database 'OLTP_SIA'.
    EXCEPTION CLASS::: com.microsoft.sqlserver.jdbc.SQLServerException
    com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDatabaseError(Unknown Source)
    ======================================================================
    The second is the Post-Etl not exist.
    I have copied the Copy Source Files and Lookup Files. What else should I do? What script it not find? have no idea.
    ======================================================================
    Jan 20, 2009 4:11:06 PM com.siebel.etl.etlmanager.EtlExecutionManager finishEtl
    SEVERE: Incorrectly specified Post-Etl Script/Executable. The file either does n
    ot exist, or is not readable
    UNREGISTERING: com.siebel.etl.engine.bore.FixedFailedNodesFacility
    686 SEVERE Tue Jan 20 16:11:06 CST 2009
    END OF ETL
    687 SEVERE Tue Jan 20 16:11:06 CST 2009 Incorrectly specified Post-Etl Script
    /Executable. The file either does not exist, or is not readable
    UNREGISTERING: com.siebel.etl.engine.core.SessionHandler
    UNREGISTERING: com.siebel.etl.engine.bore.ServerTokenPool
    UNREGISTERING: com.siebel.etl.engine.core.TableIndexHandler
    UNREGISTERING: com.siebel.etl.engine.bore.NewDispatcher
    Stopping EtlParameters 9550256
    UNREGISTERING: com.siebel.etl.engine.bore.EtlParameters
    UNREGISTERING: com.siebel.etl.engine.bore.ExternalTaskTokenPool
    UNREGISTERING: com.siebel.analytics.etl.execution.RefreshDateHandler

    Hi tigger,
    ad scripts:
    http://download.oracle.com/docs/cd/E12102_01/books/AnyInstAdm784/AnyInstAdmFunctionalRef9.html#wp1005877
    http://download.oracle.com/docs/cd/E12102_01/books/AnyInstAdm784/AnyInstAdmFunctionalRef8.html
    ad tables:
    Without data change capture tables nothing will work. Have you looked at the actual documentaiotn? It contains everythign step by step.
    http://www.oracle.com/technology/documentation/bi_apps.html
    --> Oracle Business Intelligence Applications Fusion Edition Installation and Configuration Guide -> 4.15.3 How to Update Siebel Transactional Database Schema Definitions

  • What object it colud be? column/field does not exists in table but shows values?

    Hi,
    I have a typical problem. Where is this column comming from??
    Below is the actual table column description where I don't have a field called "3rd_party_driver_home_phone"
    But when I run the query as select 3rd_party_driver_home_phone from
    additional_vehicle damage; it shows records with some value 3 for each of its row,
    This field is acting like a regular column but when I try to drop that
    column(Oracle 8.1.5) It says column doesn't exist.
    why this problem is occuring?
    Thanks,
    Ramana
    Table Description is as follows :
    SQL> desc additional_vehicle_damage;
    Name Null? Type
    AD_VEH_ID NOT NULL NUMBER(38)
    AD_ADJ_CLAIM_NU VARCHAR2(20)
    AD_ADJ_FNAME VARCHAR2(40)
    AD_ADJ_LNAME VARCHAR2(40)
    PARTY3RD_DRIV_HOME_PHONE VARCHAR2(30)
    null

    APC,
    Actually, Oracle objects can start with a number, but it's a really bad idea. When you create the object you just have to enclose it in double quotes, which also makes it case sensitive:
    "3rd_party_driver_home_phone"
    Your guess about the query sounds likely.
    Ramana,
    Did you figure it out yet? Was the query like APC suggested? If not, have you searched the user_objects table in the same manner as the user_synonyms table?
    Barbara
    null

Maybe you are looking for