Temporary table already exists!

I am trying to use the oracle.spatial.rdf.client.BatchLoader to load the triples in a semantic model. I get the following stack trace:

Temporary table already exists!
java.sql.SQLException: ORA-00955: name is already used by an existing object
ORA-06512: at the 'MDSYS. SDO_RDF_INTERNAL', line 3326
ORA-06512: at the 'MDSYS. SDO_RDF_INTERNAL', line 3362
ORA-06512: at the 'MDSYS. RDF_APIS', line 786
ORA-06512: at line 1

at oracle.jdbc.driver.SQLStateMapping.newSQLException(SQLStateMapping.java:74)
at oracle.jdbc.driver.DatabaseError.newSQLException(DatabaseError.java:110)
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:171)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:455)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:413)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:1030)
at oracle.jdbc.driver.T4CCallableStatement.doOall8(T4CCallableStatement.java:191)
at oracle.jdbc.driver.T4CCallableStatement.executeForRows(T4CCallableStatement.java:944)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1222)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3381)
at oracle.jdbc.driver.OraclePreparedStatement.execute(OraclePreparedStatement.java:3482)
at oracle.jdbc.driver.OracleCallableStatement.execute(OracleCallableStatement.java:3839)
at oracle.jdbc.driver.OraclePreparedStatementWrapper.execute(OraclePreparedStatementWrapper.java:1085)
at oracle.spatial.rdf.client.NTripleConverter.loadNTriple(NTripleConverter.java:391)
at oracle.spatial.rdf.client.BatchLoader.main(BatchLoader.java:302)


Unfortunately, it doesn't give me the offending table name so I can let it go. I was able to load the triplets in this way until I had to interrupt a charge midway through. If I try to run sem_apis.cleanup_batch_load as a user MDSYS, however, I get the following:

ORA-13199: failed to load batch clean. ORA-00942: table or view does not exist
ORA-06512: at the 'MDSYS. MD", line 1723
ORA-06512: at the 'MDSYS. MDERR", line 17
ORA-06512: at the 'MDSYS. SDO_RDF', line 891
ORA-06512: at the 'MDSYS. SDO_RDF', line 897
ORA-06512: at line 1

Once again, I don't have not provided the offending table name. Can someone please give an idea as to how I can solve this problem?

PS: It would be useful if at least the code have not been obscured, so we could follow in these footsteps, especially given the lack of documentation and bugginess

The problem is caused by an unsuccessful previous batch loading. To solve it,

As MDSYS, drop the following table.
SQL > drop mdsys. RDF_LINK$ _TEMPBM$;

You can also use the batch charger in 2.0 adapter Jena. It will protect you from
This kind of problems.

About sem_apis.cleanup_batch_load, please cut & paste the command line
you have used.

Tags: Database

Similar Questions

  • Change a temporary table: ORA-14452

    Hello

    I'm sitting in front of my APEX 4.0.1 and I have a temporary table that I would like to change.

    Current situation: 'MY_COLUMN' VARCHAR2 (30)
    I need: 'MY_COLUMN' VARCHAR2 (4000)

    I found a few threads about this problem, but they support only on the meaning of do it automatically in the code.
    So far, I promise: I want to only do once in manual mode! ;)

    Can someone give me a clue how change/remove a temporary table that is already in use?


    Code and error:
    alter table "MY_TABLE" modify ("MY_COLUMN" VARCHAR2(4000) NOT NULL) 
    / 
    
    ORA-14452: attempt to create, alter or drop an index on temporary table already in use

    Hello

    The only suggestion I've seen is to truncate the table first:

    TRUNCATE TABLE "MY_TABLE".

    I use no temporary tables, so can't say for sure if this will do the trick

    Andy

  • Retrieve the DDL for temporary Table existing global

    HI: I'm on 10.2.0.3.

    Anyone know how to recover the DDL for TWG? For an ordinary table, I select dbms_metadata.get_ddl ('TABLE', '< table_name >', '< OWNER >') of double;

    Does not work for GTT! TIA.

    Can you elaborate a bit on "does not work"? Are you an Oracle error, for example? If so, what is the error?

    Seems to work for me on 10.2.0.1

    SQL> select * from v$version;
    
    BANNER
    ----------------------------------------------------------------
    Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
    PL/SQL Release 10.2.0.1.0 - Production
    CORE    10.2.0.1.0      Production
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    
    SQL> create global temporary table gtt_foo (
      2  col1 number
      3  );
    
    Table created.
    
    SQL> select object_type from user_objects
      2  where object_name = 'GTT_FOO';
    
    OBJECT_TYPE
    -------------------
    TABLE
    
    SQL> select dbms_metadata.get_ddl( 'TABLE', 'GTT_FOO' )
      2    from dual;
    
    DBMS_METADATA.GET_DDL('TABLE','GTT_FOO')
    -----------------------------------------------------------
    
      CREATE GLOBAL TEMPORARY TABLE "SCOTT"."GTT_FOO"
       (    "COL1" NUMBER
       ) ON C
    

    Justin

  • Server 2008, XP roaming profiles and "cannot create a file when that file already exists"...

    Hi all

    I'm working on a Server 2008 domain with XP SP3 clients.  The question is: create a new user, their profile is \\server\profiles\%username% [where %nom user % is their new username!].  Security on the profile folder is set so that the administrators have full access and the user has read & execute, list folder content, read and write access.

    The user is able to login ok there is no problem with roaming profiles [otherwise, they would get a message on with a temporary profile loading] which suggests, but when they disconnect they get a message saying that some files could not be created [it varies], followed by "cannot create a file when that file already exists".

    Any help would be greatly appreciated!

    Hello

    Your question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the Windows server on TechNet forum. Please ask your question in the Forums in TechNet Windows Server.

  • Replace all "already exists them" object when you perform an import complete (impdp)

    Hello

    I'm doing a full import from a database to a different database.

    "I already exported (expdp) all subject to a database with no problems, but when I tried to import (impdp) to a different database, an error appeared, as ' ORA-31684:... by object type already exists.

    My question is how to replace already not exist (old to new) objects, so that it shows no error?

    If I use TABLE_EXISTS_ACTION = REPLACE, is not it has replaced only tables and no other objects? I tried already and there was always a mistake.

    Advice will be appreciated. Thanks in advance.

    Kind regards

    Jerry Antonius

    If I use TABLE_EXISTS_ACTION = REPLACE, is not it has replaced only tables and no other objects?

    Yes, it won't replace tables, there is no function to replace all items

    You may need to delete all the objects before import or get the DDL of user, drop user cascade and re-create the user and import again.

  • How to disable and enable fields already existing lines dynamically in the update page?

    Hi all

    I have a requirement where in detail RN (updated), I don't want the user to update the already existing line.

    In the area of retail, I have two columns, 1)-> existing supply must be read-only.

    -> Enabled 2) must be editable.

    For a newly added line (after clicking on add a line), offer both enabled column must be editable.

    For this model, I did table detail with text entry fields and set read only property: ${oa.offervo1.isOfferdis}-> offerDis is a transient (boolean) added in OfferVO.

    I should be able to field offers to read only to existing data.

    How can I set isOfferdis as true (aside from CO or AMimpl)

    and

    How do I set iaOfferdis as fake when add line button (I add line set up features)

    Thank you and best regards,

    Gauthier

    Hi AJ,.

    A surprise, I was able to reach the requirement,

    The code in RowImpl remains even as you suggested.

    However the default value of the transitional isOfferDis attribute as false (in VO).

    Then it works.

    I don't know why our code in AmImpl could not achieve this goal.  If you have any solution please share will try...

    Thank you and best regards,

    Gauthier

  • PLS-00357 on a global temporary table

    Oracle 11g R2

    I am using a dynamic SQL statement to delete rows. The WHERE THERE EXIST uses a global temporary table and it gives me

    PLS-00357: Table, view or reference sequence "TMPPRE_ARC" not allowed in this context

    Any ideas of a work around?

    create global temporary table tmppre_arc
      ( id number)
      ON COMMIT PRESERVE ROWS;
    
    
    CREATE OR REPLACE PROCEDURE test_del
    IS
       v_owner_tbl varchar2(61) := 'test_table'     ;
    BEGIN   /* DELETE_SOURCE */
            EXECUTE IMMEDIATE
                'DELETE FROM ' || v_owner_tbl || ' v ' || chr(10) ||
                'WHERE EXISTS ( SELECT    null '       || chr(10) ||
                'FROM      ' || tmppre_arc || ' r '  || chr(10) ||
                'WHERE       r.id     = v.id )' ;
    END test_del;
    /
    show errors
    
    
    LIsNE/COL ERROR
    -------- -----------------------------------------------------------------
    5/9      PL/SQL: Statement ignored
    8/29     PLS-00357: Table,View Or Sequence reference 'TMPPRE_ARC' not
    allowed in this contenxt
    
    
    
    
    
             allowed in this context
    

    This is false:

    'FROM ' | tmppre_arc | ' r '  || Chr (10) |

    Should be

    "OF tmppre_arc r | Chr (10) |

    SY.

  • Local temporary table

    Hi all

    Oracle version: 11g.

    I know how the global temporary table in Oracle. But I've never heard of local temporary tables. I e cam all over and I tried to create one by Googling. But could not create.

    The syntax I used is,

    DECLARE LOCAL TEMPORARY TABLE test_sk5 (col1 number, col2 NUMBER);
    

    Can you please shed some light on local temporary tables.

    THX & regards,.

    Shan.

    Everything you have found by Google (it would have been helpful if you showed us the real link) is not for Oracle.

    So I will throw the light: they do not exist

    Edit: when I google for 'local temporary table oracle', I found a thread on this same site where someone asked the same question with the same type of example and got the same answer, the additional information that the syntax is apparently from RDB.

  • Campus solution 9.0: engine Application parallel treatment of the Instances of the temporary Table

    People,


    Hello. I'm working on 9.0 Solution on a University Campus. I'm working on the module of Community Campus. I face a problem like below:


    Campus Community > personal information > add/update a person


    I can type in all the information for a person successfully and save it with success. But what research, it does not return anything to PS user
    This is because the security of access to demographic data is not granted to the user. So, I put security as below:


    Step 1:

    Set Up AWAR > Security > Secure Student Administration > permissions list > access to demographic data: I have select permission list HCPPALL and EOEI9200 for the PS user

    Step 2:

    Set Up SACRED > Security > Secure Student Administration > process > access to demographics: the process to initialize the authorization indicates to the user PS process program is the Application Engine. The process name is MSK_CFG. The process is not successful and returns an error as below:

    Table or view does not exist. Has no SQL statement: Truncate Table USER.PS_MSK_CFG_TAO4.


    The above error is that of the motor parallel processing Application on instances of the temporary table. There are 2 modes: online and batch. I run it in 2 modes as below:

    Online mode:

    Step 1: Navigator PeopleTools > Public Services > Administration > PeopleTools Options: I change 3 to 4 for the Instance of the Temp Table total and online.
    Step 2: Create a new control ID Temp1 and execute processes on Navigator SetUp > Security > Secure Student Administration > process > process of demographic data. The MSK_CFG process runs successfully, but the output file contains the message:

    ATTENTION: Application request engine is not active! Suspended treatment!


    So I run of steps 3, 4 and 5 in Batch mode as below:

    Step 3: Navigator PeopleTools > Application Engine > application Application Engine > engine Application request Page > add a new control ID Temp1.
    Step 4: Run the MSK_CFG with Temp1 process again and get the error:

    Table or view does not exist: Truncate table USER.PS_MSK_CFG_TAO5.

    Step 5: I change 4 to 5 navigator PeopleTools > Public Services > Administration > page PeopleTools Option for the Instance of the Temp Table total and online.

    Re-run the MSK_CFG process and get the error:

    Table or view does not exist: Truncate table USER.PS_MSK_CFG_TAO6.

    I have increase by 5-6 for the temporary Table instance and re-run the MSK_CFG process and get the same error with incremental number:
    Table or view does not exist: Truncate table USER.PS_MSK_CFG_TAO7.

    I have increase by 6 to 7 and re-run the MSK_CFG process and get the same error:
    Table or view does not exist: Truncate table USER.PS_MSK_CFG_TAO8.

    The maximum is 99, I continue to adding 1 to the Temp table instances and run the MSK_CFG process. But get the same error with differentials 1 as below:

    Table or view does not exist: Truncate table USER.PS_MSK_CFG_TAO9.
    Table or view does not exist: Truncate table USER.PS_MSK_CFG_TAO10.
    ... ...

    Table or view does not exist: Truncate table USER.PS_MSK_CFG_TAO99
    Table or view does not exist: Truncate table USER.PS_MSK_CFG_TAO.

    My question is:

    Because the engine of the application is not active with a new control ID Temp1 in online mode, I add the new control ID Temp1 in the Application engine page request but get the error above.  How to solve the error above to begin the process of MSK_CFG?

    Thanks in advance.

    People,

    Hello. The problem is solved by myself.

    The thing is that we need to open the MSK_CFG_TAO of the temporary Table in the application designer and build. After construction, the table PS_MSK_CFG_TAO and PS_MSK_CFG_TAO1 come in the database.

    MSK_CFG process runs correctly now. Personal information of search returns data successfully. Thank you.

  • Custom form - APP-FND-01206: this folder already exists.

    Hello

    We get the error when you try to create a record in a custom below form. This error atleast was not made up to 3 days back.

    APP-FND-01206: this folder already exists. You have entered a duplicate value or a sequence of values that must be unique for each record.

    Tables and Forms Design

    ------------------------------------

    -> tables 4A, b, c and d

    one has a primary key and the tab header (header, which is a single record) form

    b has a foreign key to one and lines are tab of the form (tab lines-> Multi lines in a block tab)

    c has a foreign key to one and 'Packaging' tab of the form (package-a a master d c and detail tab)

    d is a child of c, and in the 3rd tab.

    When we create a file, the above error is coming. Don't know what has changed.

    Can you please provide pointers right to solve this problem as soon as POSSIBLE

    We followed the steps described in the Sub URL, it does not work well

    https://community.Oracle.com/thread/646366?TSTART=0

    https://community.Oracle.com/thread/968894?start=0 & tstart = 0

    Concerning

    Patches have been applied the your system?  A new version of the custom form has been released?  The order got out of sync somehow?  Is it in Production or in a Dev environment or test?  It is a difficult question to troublshoot... but here are a few questions I would ask first if I had to solve the problem.

    The second link you listed - you run the Dr FUND?  What was the results?  Have you ever read a log file of the DRA?  The best way to read it is to find errors, or in your APP - FND case and then work backwards from there to see what happened before the notification of the error.

    Craig...

  • Global temporary table in PL/SQL with XML

    Hello

    I have the impression that it is something strange or maybe I'm missing something basic.

    Step 1: Create a global Temp table that should not be specific transaction.

    create a global temporary table Temp01

    (

    NUMBER OF TICKET_ID

    , Varchar2 (10) of the REGION

    NUMBER OF THE YEAR

    , CO_ID VARCHAR2 (10)

    ) ON COMMIT DELETE ROWS.

    Step 2:

    My XML that goes as a parameter to a new function.

    < TICKET >

    < TICKET_ID > 38498051 < / TICKET_ID >

    the USA < REGION > < / REGION >

    < YEAR > 2014 < / YEAR >

    XYZ123 < CO_ID > < / CO_ID >

    < / TICKET >

    Step 3: Create a Stand Alone function:

    -drop function aagarwal.wr_creation;

    create or replace FUNCTION XML_FUNC

    (

    ret_msg out varchar2,.

    p_xmlval IN varchar2

    )

    RETURN varchar2

    is

    l_xmlval varchar2 (4000): = p_xmlval;

    V_CO_ID VARCHAR2 (10);

    V_CODE VARCHAR2 (10);

    BEGIN

    BEGIN

    INSERT INTO Temp01

    (

    TICKET_ID,

    REGION,

    BLEACHED,

    CO_ID

    )

    SELECT

    EXTRACTVALUE (XmlType (p_xmlval), "/ TICKET/TICKET_ID ') ID,.

    EXTRACTVALUE (XmlType (p_xmlval), "/ TICKET/REGION") REGION.

    EXTRACTVALUE (XmlType (p_xmlval), "/ TICKET per YEAR"),.

    EXTRACTVALUE (XmlType (p_xmlval), "/ TICKET/CO_ID ') CO_ID

    FROM DUAL;

    ret_msg: = 'SUCCESS';

    -SELECT CO_ID IN V_CO_ID of aagarwal. TEMP_STAGE_WR;

    -return ret_msg;

    EXCEPTION

    WHILE OTHERS THEN

    ret_msg: = sqlerrm;

    Return ret_msg;

    END;

    BEGIN

    SELECT CO_ID INTO V_CO_ID FROM Temp01;

    / * MERGE IN the site is

    With the HELP of aagarwal. TEMP01 T

    WE (T.co_id = se.code AND se.type_nm = ' TYPE' and se.src_nm = T.region)

    WHEN NOT MATCHED THEN

    INSERT (ID, SRCNM, CODE, TYPENM)

    VALUES (SHARED_SEQ. NEXTVAL, T.region, T.co_id, 'TYPE');

    -commit; */

    return ret_msg | "ACE" | v_co_id;

    END;

    END;

    /

    Fact - created function.

    NOTE: MERGE statement is blocked and if the function was created in sweetness.

    Step 4: Call the function

    declare

    l_out varchar2 (50);

    l_outr varchar2 (50);

    p_xml XMLTYPE.

    Start

    l_outr: = XML_FUNC (l_out, ' < TICKET >)

    < TICKET_ID > 38498051 < / TICKET_ID >

    the USA < REGION > < / REGION >

    < YEAR > 2014 < / YEAR >

    XYZ123 < CO_ID > < / CO_ID >

    (< / TICKET > ');

    dbms_output.put_line (l_outr);

    end;

    /


    Step 5: Check the value being inserted into the temporary Table:


    Select * from temp01;


    So far so good.

    THE PROBLEM:

    Now I want to tweek the XML_FUNC function above by uncommenting MERGE statement, which brings me to an error that is not differentiable:

    I.e. PL/SQL: ORA-00942: table or view does not exist in line on MERGE pointing to Temp01 statement.

    NOTE: I tested this Merge statement explicitly (as long as the execution of Stand Alone and also by calling via anonymous block PLSQL) and its absolutely perfect work. And SITE table exist.

    PS: I would be grateful, if there is a better way to write this code? I'm not a regular PLSQL developer and so badly can write the code of practice.

    Kind regards

    AAG.

    Using 11.2.0.3:

    Owner of all these three objects is DBA.

    Are you sure?

    After the release of:

    Select object_name, object_type

    of object

    where object_name in ('TEMP01', 'SITE', 'XML_FUNC');

    You must grant the explicit right to select on the table for the owner of the function if the owners are different.

    This works as expected for me (user DEV has all 3 items):

    Connected to Oracle Database 11g Enterprise Edition Release 11.2.0.3.0

    Logged in as dev

    SQL >

    SQL > create a global temporary table Temp01)

    NUMBER OF TICKET_ID 2

    3, Varchar2 (10) of the REGION

    4, NUMBER OF THE YEAR

    5, CO_ID VARCHAR2 (10)

    6)

    7. ON COMMIT DELETE ROWS.

    Table created

    SQL >

    SQL > create table site)

    Identification number 2

    3, srcnm varchar2 (10)

    4, code varchar2 (10)

    5, typenm varchar2 (10)

    6  );

    Table created

    SQL > create the sequence shared_seq;

    Order of creation

    SQL >

    SQL >

    SQL > create or replace FUNCTION XML_FUNC)

    2 p_xmlval IN varchar2

    3)

    4 RETURN varchar2

    5 is

    6 l_xmlval xmltype: = xmltype (p_xmlval);

    7. START

    8

    9 INSERT INTO Temp01

    (10)

    TICKET_ID 11,

    REGION 12,

    13 YEARS,

    CO_ID 14

    15)

    16. SELECT ID EXTRACTVALUE(l_xmlval, '/TICKET/TICKET_ID'),

    17 EXTRACTVALUE(l_xmlval, '/TICKET/REGION') REGION,

    18 EXTRACTVALUE (l_xmlval, ' / TICKET per YEAR ') YEAR.

    19 EXTRACTVALUE(l_xmlval, '/TICKET/CO_ID') CO_ID

    20 FROM DUAL;

    21

    22. MERGE IN site

    23. WITH THE HELP OF TEMP01 T

    (24)

    25 T.co_id = se.code

    26 AND se.typenm = 'TYPE '.

    27 and se.srcnm = T.region

    28)

    29 WHEN NOT MATCHED THEN

    30 INSERT (ID, SRCNM, CODE, TYPENM)

    31 VALUES (SHARED_SEQ. NEXTVAL, T.region, T.co_id, 'TYPE');

    32

    33 return "SUCCESS";

    34

    35 END;

    36.

    Feature created

    SQL >

    SQL >

    SQL > set serveroutput on

    SQL >

    SQL >

    SQL > declare

    2

    3 l_outr varchar2 (50);

    4

    5. start

    6

    7 l_outr: = XML_FUNC (')

    8 38498051

    9 USA

    10 2014

    11 XYZ123

    12    ');

    13

    14 dbms_output.put_line (l_outr);

    15

    16 end;

    17.

    SUCCESS

    PL/SQL procedure successfully completed

    SQL > select * from site;

    ID CODE TYPENM SRCNM

    ---------- ---------- ---------- ----------

    TYPE 1 USA XYZ123

  • Assign already exist several UO Site provider

    Hello

    Is there an API that allows to assign already existing provider Site to multiple OUS.

    Thank you.

    Best regards / Prasanth

    Hello

    Welcome to the communities.

    Please review these notes.

    R12: What are the new related tables/Packages/programs provider. Support for the API (Doc ID 812918.1)

    The Open Interface Import provider lets update the vendor Records? (Doc ID 330885.1)

    Updated collective provider Information Site how? (Doc ID 1542661.1)

    R12:API AP_VENDOR_PUB_PKG LAST_UPDATE_DATE of updates for all Sites (Doc ID 1337744.1)

    Impossible to update provider Site tax information via an Api (Doc ID 1604569.1)

    Obligation to update provider Via an API (Doc ID 415065.1) Sites

    Is there an Api public update of sellers in 11.5.9 (Doc ID 255024.1)

    How update the supplier and the supplier of R12 site? (Doc ID 1574292.1)

    Thank you

    George

  • Possible to Exchange temporary table with composite range-hash partitioned table?

    Hello

    Using oracle 11.2.0.3

    We want to clean up the data in some of our existing partitioned table.

    Afetr updates check spped that is too slow for us.

    Current table is partitioned the inetrval compoiste range-hash table.  Also it is compressed - enabled for compression of basis as well

    An interval of 1 month and 1 partition by month and 4 secondary partitions in the partition of ecah.

    You want to create tenp table with the data of celan and exchange the data in this table in the 'dirty' uisng existing partitions partition exchnage.

    Is this possible?

    The plan is

    1) create temporary table containing data for 1 partition (1 month worth of data)

    (2) clean the data here

    (3) create new temporary table with these specific data which compressed and discovered partitioned with 4 secondary partitions

    (4) table 3 for swap partition dirty using partition excahnge.

    Thaks

    I think that this can be done with a combination of Exchange and Split partition partitions. Prior to Oracle 11 g, only way of redefining tables online was DBMS_REDEFINITION package. Now, you can redefine the use of partitions for Exchange & Split. Check

    http://www.Oracle-base.com/articles/Misc/partitioning-an-existing-table-using-Exchange-partition.php

    Maintenance of Partitions

    Kind regards

  • Temporary Tables vs. two multidimensional arrays

    Dear gurus,

    We have an obligation to perform a loop on a few thousand lines and do some calculations complex (to do in PL/SQL cannot be through simple SQL). These lines came out of a long running query dealing with millions of rows.

    Now the question - our team is to have a confusion if we need to use a temporary table or tables in two dimensions.

    We tried both ways and right now, there seems to have not much of a difference in processing times. (I know it's not good to be based solely on the processing time, especially when it is just a test environment - not as much data as in production, diiferent server,...)

    Could you gurus please thow shed some light on this? The use of memory other resources the same in both cases?

    Thanks in advance.

    884476 wrote:

    TWG is also private, no data?

    Definition of static, private data. Like object class which is public, and all objects instantiated from this class exist in the code that builds the object.

    Where should it be stored? In the files of data - or PGA?

    No PGA. Oracle will use the temp space (shareable) database.

  • declare a global temporary table

    Hello
    can I use the declare global temporary table (...) ststement of pl/sql, I need a temporary table for the current session.


    If not, what should be the alternative?

    Thank you...

    Published by: Amoeba on 23 August 2012 13:39

    Published by: Amoeba on 23 August 2012 13:41

    Hello

    >
    can I use declare global temporary table (...) as ststement of pl/sql, like I need a temporary table for the current session.

    If not, what should be the alternative?

    Thank you...
    >
    This query actually belongs to SQL and PL/SQL Forum. Please take care and post in the correct forum.

    In any case...
    CREATE TABLE TEMPORARY global is a DDL command. Once created TWGS will exist until he FELL. Try to create a TWG with the same name will fail. just like any table, view, etc. See http://docs.oracle.com/cd/B28359_01/server.111/b28310/tables003.htm#i1006400

    a: you can create a TWG once and use/re-use it anywhere in your code.
    (b) as it is a DDL you can not use in the DECLARE section. You can use BEGIN and EXCEPTION.

    See you soon,.

Maybe you are looking for

  • HP Probook 6550 b: Hp 6550 b graphics card

    Hello, I have a Hp Probook 6550 b , and I want to update my graphics so I can to upgrade this laptop graphic card and made this laptop support external graphics card? And if yes well want their name too. Concerning Rizwan Jamil

  • HP Officejet 6600 Guard giving the message there is a problem with the printer or the ink

    HP Officejet 6600 Guard giving the message there is a problem with the printer or ink. We have already tried to turn off then, have you tried unpluging and nothing works

  • Impossible to compile the FPGA in project

    Hello I get the following error when I am trying to compile an FPGA VI on a Compact Rio 9022, I missing something on my stand in? Everyone has seen this before and know what is happening? An internal software error occurred. Please contact National I

  • Samsung SEE II Android Smartphone

    Is it possible to synchronize the phone numbers AND addresses on this phone to your computer? Whenever I move my SIM card from one phone to another, I lose the address because the SIM card keeps only the numbers...

  • 0x800706be error code

    reason of not not downloading a branch identified that could allow a tie remote no authenticated understand your system and take control etc, but when I returned to day I don't see this update are displayed