Deletion of DDIC Table with Maintaince View

Hello,
I try to delete a  table with existing maintance dialog. So first I deleted the generated objects in SE54.
The corresponding funtion group is now no longer existing.
When I now try to delete the table in SE11 I got the message that it is still used. System said it is used
in an include of the deleted function group.
But this include does not exists. Can not be display in se38.
How can i delete this table.
Ralf

I think when you delete a table in SE11 that has a maintenance dialog, the system asks you if you want to delete the maintenance dialog as well, and in case it is the last one inside a function group, it will even offer to delete the entire function group.
So maybe your solution could be to recreate the maintenance dialog and function group, then delete the table via SE11 and let the system do the cleanup.
Thomas

Similar Messages

  • Table with tree view on master column

    Hi,
    I'm trying to generate a table with tree view on the master column and I get the table values from an RFC.
    The problem is that I need to control some properties like "expanded" or "isLeaf" and I can't add the value attributes to the model node to control the rows.
    Any ideia on how to overcome this (what i  think is a) problem?
    Thanks for the help.
    Pedro Barbosa

    Hi Subramanian,
    Maybe I didn't explain myself right. I also followed that tutorial with success but in this case i have on my custom controller:
    -MyNode (model node)
      - Output
        - MyTable
          - attribute 1 (model attribute)
    In my context/view controller the only way i can map that node is by using a model node referecing "MyTable" but this way i can't add any of my attributes to same level of the attributes (is that the ideia right?).
    I also tried to recreate the structure in the view with value nodes and value attributes with the same type as the model attributes and then bind them but i always get "Incompatible context element type".
    Am i missing something?
    Pedro Barbosa

  • How do you delete records from table with data in a select option

    how do you delete records from table with relevant to data in a select option..how to write coding

    Hi,
    Try
    if not s_select_option [ ] is initial.
    delete * from table
    where field in s_select_option.
    endif.
    commit work.
    Be careful though. If select option is emty, you will delete the entire table.
    Regards,
    Arek

  • Replacing a table with a view

    I have fact table in a subject area. Now due to some requirement we created a view for the same fact table and want to use the view in place of the table.Do we have a way to do it without redoing the whole process?

    Hi Tintin,
    yes, you can rename in the physical layer the table with the name of the view.
    Regards,
    Gianluca

  • Delete and internal table with not eqaul to fields

    Hi I have an internal table I want delete few records with fields not equal to the variable v_lifnr, v_name1 and v_city,
    structure of internal table has fields LIFNR, NAME1, CITY, TEXT1 and TEXT2.
    I dont want to go by deletin in loop.

    Hi ,
    i want to delete a internal table record based on the values which are NOT in the ranges ..
    I am facing a syntax error with not operation in some system s
    code looks like below !
    i am not facing this problem when there in  no not in ranges.
    Thanks .
    RANGES: RA_FFIDS FOR /VIRSA/ZFFUSERS-ZVIRFFID.
    data : BEGIN OF IZVIRFFTRANSLOG OCCURS 0.
            INCLUDE STRUCTURE /VIRSA/ZFFTNSLOG.
    DATA:   DESC LIKE RS38M-REPTI,
          END OF IZVIRFFTRANSLOG.
    data : IT_ZFlight_T LIKE IZVIRFFTRANSLOG OCCURS 0 WITH HEADER LINE.
    IF NOT IT_ZFlight_T_TCODE[] IS INITIAL.
        DELETE IT_ZFlight_T_TCODE WHERE ZVIRFFID NOT IN RA_FFIDS.
       DELETE IT_ZFlight_T WHERE ZVIRFFID NOT IN RA_FFIDS.
    ENDIF.

  • Updating base table with Materialized View's data

    Hi,
    In order to update base table with MVs data, I am trying real time data transfer between two databases. One is Oracle 8i and other is Oracle 9i. I have created an updatable MV in 9i on a base table using database link. The base table is in 8i. Materialized View log is created in 8i on base table. MV has to be associated to some replication group, but I am not able to create replication group in 9i to which MV has to be associated. The required packages are not installed.
    Replication packages are to be used to create replication group are :
    /*Create Materialized View replication group*/
    BEGIN
    DBMS_REPCAT.CREATE_MVIEW_REPGROUP (
    gname => 'TEST_MV_GRP',
    master => 'TEST_DATA_LINK',
    propagation_mode => 'ASYNCHRONOUS');
    END;
    But above block is giving error.
    Can anyone suggest how to resolve this, or are there any other approaches (by not using replication packages) to update base table with MVs data ?
    Thanks,
    Shailesh

    Yes, I created link between two databases and was able to update tables on 8i from 9i database using that link.
    The error I am getting while creating replication group is :
    ORA-06550
    PLS-00201 : identifier 'SYS.DBMS_REPCAT_UTL2@'TEST_DATA_LINK' must be declared
    ORA-06550
    PLS-00201 : identifier 'SYS.DBMS_REPCAT_UNTRUSTED@'TEST_DATA_LINK' must be declared
    ORA-06512 : at "SYS.DBMS_REPCAT_UTL", line 2394
    ORA-06512 : at "SYS.DBMS_REPCAT_SNA_UTL", line 1699
    ORA-06512 : at "SYS.DBMS_REPCAT_SNA", line 64
    ORA-06512 : at "SYS.DBMS_REPCAT", line 1262
    Is there any other approach which can be used to update base table with MVs data instead of using replication packages ?
    Thanks,
    Shailesh

  • How to transport the content of a DDIC table with FM TRINT_REQUEST_CHOICE

    Hi
    I have created a table and added some data rows in the table.
    I need to transport the added data rows of the table with FM TRINT_REQUEST_CHOICE.
    How can I do it?
    which type of request shall I use?  workbench request or customizing request?
    Thanks a lot!

    Hello Frank
    Assuming that you have not defined your Z-table as Customizing table but as application table (-> see delivery class) then I think a workbench request will do the job.
    However, you can do a quick smoke test:
    Create a workbench request and enter the transport object entry R3TR TABU <name of z-table> manually. If the system allows this you are on the safe side.
    Next enter key entry (e.g. 100* = all entries from client 100) and release the request.
    If you can see the selected entries in the export log of the request then everything is ok.
    Regards
      Uwe

  • Delete append of a table with dependend view

    Hi there,
    I would like to delete an append structure of a table. Therefore I deleted the appended Z structure in SE11.
    But I could not activate the table after wards because there is a database view which depends on that table and contains also the appended field. Is there a way to delete this field from the view or regenerate the view without registering the view as a modification?
    Thanks in advance,
    Martin

    Hi Fisher,
    First check the table where used list and check the Include structure fieds are used..
    if include structure fields are being used it will not allow you to delete if deleted forcl also the reports go to dump..
    when ever you alter the table or adding new field the mainatainance view will not work..
    so activate the databse in background --> through menu-->utilities--> data base utilities--> adjust the datase and activate..
    regards,
    Prabhudas

  • Problem with maintaince view

    Hi All,
    I have created a maintainance view for a custom table and attached that to a Tcode.
    I am calling the Tcode in my program.
    I am able to get the maintainance view where i can add, delete, etc for the table.
    But the tabs of the SAP standard toolbar is not working i.e back, leave, cancel etc.
    Clicking any of them i am going out of the program.
    Please help.
    Thanks
    Vivek

    Look at OSS [Note 167229 - Memory too small for screen load|https://service.sap.com/sap/support/notes/167229]
    You may (2 options)
    - Try to create one or more projection views with subsets of the field list depending on your actual requirement, then you group those views into a [view cluster|http://help.sap.com/erp2005_ehp_04/helpdata/EN/d0/999246b2aa11d1a5700000e82deaaa/frameset.htm]
    - Develop a specific maintenance program with tabs to display/update subset of the database fields.
    Regards

  • Weird behaviour: join of a table with a view

    Hello,
    I'm evaluating Oracle 10g for the migration of an application currently running on
    Oracle 8i and I found a query that doesn't work as expected on the new release.
    The query is very simple and uses a table "T_Programm" and a view "V_Adresse".
    The column "Id" is the primary key of "T_Programm" and of type number, the other
    columns are varchar2.
    First I tried this:
    SELECT P.Id, A.Schluessel, P.Absender
    FROM V_Adresse A,T_Programm P
    WHERE A.Schluessel=P.Absender;
    with the following expected result:
    ID SCHLUESSEL ABSENDER
    10020 BZV BZV
    10000 BZV BZV
    1 BZV BZV
    But with the follwing query there are no results:
    SELECT P.Id, A.Schluessel, P.Absender
    FROM V_Adresse A, T_Programm P
    WHERE A.Schluessel=P.Absender
    AND P.Id=10020;
    Just for fun I tried another query:
    SELECT P.Id, A.Schluessel, P.Absender
    FROM V_Adresse A, T_Programm P
    WHERE A.Schluessel=P.Absender
    AND P.Id>10019 AND P.Id<10021;
    and I got the expected result:
    ID SCHLUESSEL ABSENDER
    10020 BZV BZV
    On the Oracle 8i with the same data there was no problem.
    Maybe there is something wrong with the index or the query optimizer?!?
    Is there any idea?
    thank you in advance
    Stephan

    Hello,
    the column and table names are in german, I hope that's not a problem.
    best regards
    Stephan
    Here are the describes:
    Table T_Programm:
    Name Null? Typ
    ID NOT NULL NUMBER(12)
    JAHRID NUMBER(12)
    TITELID NUMBER(12)
    WAEHRUNGID NUMBER(12)
    TYP VARCHAR2(4)
    KREDITORENKONTO VARCHAR2(32)
    DEBITORENKONTO VARCHAR2(32)
    BANKNAME VARCHAR2(256)
    BANKLEITZAHL VARCHAR2(32)
    KONTONUMMER VARCHAR2(32)
    UNTERSCHRIFT1 VARCHAR2(1024)
    UNTERSCHRIFT2 VARCHAR2(1024)
    UNTERSCHRIFT3 VARCHAR2(1024)
    UNTERSCHRIFT4 VARCHAR2(1024)
    EMSATZ NUMBER(5,2)
    BMSATZ NUMBER(5,2)
    SZSATZ NUMBER(5,2)
    VEDATUM DATE
    VEBETRAG VARCHAR2(256)
    BRIEFKOPF VARCHAR2(256)
    GRUSSZEILE VARCHAR2(256)
    TITEL_KURZ VARCHAR2(256)
    TITEL_LANG VARCHAR2(1024)
    ABSENDER VARCHAR2(32)
    View V_Adresse:
    Name Null? Typ
    MANDANTID NUMBER
    SCHLUESSEL VARCHAR2(32)
    P_ANREDE1 VARCHAR2(16)
    P_ANREDE2A VARCHAR2(16)
    P_ANREDE2B VARCHAR2(16)
    P_POSITION VARCHAR2(32)
    P_TITEL VARCHAR2(32)
    P_VORNAME VARCHAR2(32)
    P_NACHNAME VARCHAR2(32)
    P_ABTEILUNG VARCHAR2(64)
    P_TELEFON VARCHAR2(32)
    P_TELEFAX VARCHAR2(32)
    P_EMAIL VARCHAR2(64)
    P_INTERNET VARCHAR2(64)
    P_ANMERKUNG VARCHAR2(1024)
    O_KUERZEL VARCHAR2(32)
    O_ARTIKELA VARCHAR2(16)
    O_ZEILE1A VARCHAR2(64)
    O_ARTIKELB VARCHAR2(16)
    O_ZEILE1B VARCHAR2(64)
    O_ZEILE1 VARCHAR2(64)
    O_ZEILE2 VARCHAR2(64)
    O_ZEILE3 VARCHAR2(64)
    O_POSTFACH VARCHAR2(16)
    O_PLZPOSTFACH VARCHAR2(16)
    O_STRASSE VARCHAR2(64)
    O_PLZSTRASSE VARCHAR2(16)
    O_ORT VARCHAR2(64)
    O_TELEFON VARCHAR2(32)
    O_TELEFAX VARCHAR2(32)
    O_EMAIL VARCHAR2(64)
    O_INTERNET VARCHAR2(64)
    Here is the view statement:
    CREATE VIEW V_Adresse AS
    SELECT
    1 AS MandantId,
    P.Name AS Schluessel,
    P.Anrede1 AS P_Anrede1,
    P.Anrede2a AS P_Anrede2a,
    P.Anrede2b AS P_Anrede2b,
    P.Position AS P_Position,
    P.Titel AS P_Titel,
    P.Vorname AS P_Vorname,
    P.Nachname AS P_Nachname,
    P.Abteilung AS P_Abteilung,
    P.Telefon AS P_Telefon,
    P.Telefax AS P_Telefax,
    P.Email AS P_Email,
    P.Internet AS P_Internet,
    P.Anmerkung AS P_Anmerkung,
    O.Name AS O_Kuerzel,
    O.Artikela AS O_Artikela,
    O.Zeile1a AS O_Zeile1a,
    O.Artikelb AS O_Artikelb,
    O.Zeile1b AS O_Zeile1b,
    O.Zeile1 AS O_Zeile1,
    O.Zeile2 AS O_Zeile2,
    O.Zeile3 AS O_Zeile3,
    O.Postfach AS O_Postfach,
    O.PLZPostfach AS O_PLZPostfach,
    O.Strasse AS O_Strasse,
    O.PLZStrasse AS O_PLZStrasse,
    O.Ort AS O_Ort,
    O.Telefon AS O_Telefon,
    O.Telefax AS O_Telefax,
    O.Email AS O_Email,
    O.Internet AS O_Internet
    FROM
    T_Organisation O,
    T_Person P
    WHERE
    O.Id=P.OrganisationId
    UNION
    SELECT
    1 AS MandantId,
    O.Name AS Schluessel,
    '' AS P_Anrede1,
    '' AS P_Anrede2a,
    '' AS P_Anrede2b,
    '' AS P_Position,
    '' AS P_Titel,
    '' AS P_Vorname,
    '' AS P_Nachname,
    '' AS P_Abteilung,
    '' AS P_Telefon,
    '' AS P_Telefax,
    '' AS P_Email,
    '' AS P_Internet,
    '' AS P_Anmerkung,
    O.Name AS O_Kuerzel,
    O.Artikela AS O_Artikela,
    O.Zeile1a AS O_Zeile1a,
    O.Artikelb AS O_Artikelb,
    O.Zeile1b AS O_Zeile1b,
    O.Zeile1 AS O_Zeile1,
    O.Zeile2 AS O_Zeile2,
    O.Zeile3 AS O_Zeile3,
    O.Postfach AS O_Postfach,
    O.PLZPostfach AS O_PLZPostfach,
    O.Strasse AS O_Strasse,
    O.PLZStrasse AS O_PLZStrasse,
    O.Ort AS O_Ort,
    O.Telefon AS O_Telefon,
    O.Telefax AS O_Telefax,
    O.Email AS O_Email,
    O.Internet AS O_Internet
    FROM
    T_Organisation O;

  • Slow delete on a table with one CLOB column

    Hi,
    I have a table which has one CLOB column and even if I delete one row from it, it takes approx. 16 seconds. Since UNDO isn't generated for CLOBs (at least not in the UNDO tablespace), I can't figure out why this is so? The CLOB has defined a RETENTION clause, so it depends upon UNDO_RETENTION which is set to 900. There wasn't any lock from another session present on this table.
    The table currently contains only 6 rows but it used to be bigger in the past, so I thought that maybe a full table scan is going on when deleting. But even if I limit the DELETE statement with an ROWID (to avoid a FTS), it doesn't help:
    SQL> select * from v$version;
    BANNER
    Oracle Database 11g Enterprise Edition Release 11.1.0.6.0 - Production
    PL/SQL Release 11.1.0.6.0 - Production
    CORE    11.1.0.6.0      Production
    TNS for 32-bit Windows: Version 11.1.0.6.0 - Production
    NLSRTL Version 11.1.0.6.0 - Production
    SQL> select count(*) from scott.packet;
      COUNT(*)
             6
    SQL> column segment_name format a30
    SQL> select segment_name
      2    from dba_lobs
      3  where owner = 'SCOTT'
      4     and table_name = 'PACKET';
    SEGMENT_NAME
    SYS_LOB0000081487C00002$$
    SQL>  select segment_name, bytes/1024/1024 MB
      2    from dba_segments
      3  where owner = 'SCOTT'
      4      and segment_name in ('PACKET', 'SYS_LOB0000081487C00002$$');
    SEGMENT_NAME                           MB
    PACKET                               ,4375
    SYS_LOB0000081487C00002$$             576
    SQL> -- packet_xml is the CLOB column
    SQL> select sum(dbms_lob.getlength (packet_xml))/1024/1024 MB from scott.packet;
            MB
    19,8279037
    SQL> column rowid new_value rid
    SQL> select rowid from scott.packet where rownum=1;
    ROWID
    AAAT5PAAEAAEEDHAAN
    SQL> set timing on
    SQL> delete from scott.packet where rowid = '&rid';
    old   1: delete from scott.packet where rowid = '&rid'
    new   1: delete from scott.packet where rowid = 'AAAT5PAAEAAEEDHAAN'
    1 row deleted.
    Elapsed: 00:00:15.64From another session I monitored v$session.event for the session performing the DELETE and the reported wait event was 'db file scattered read'.
    Someone asked Jonathan Lewis a similar looking question (under comment #5) here: http://jonathanlewis.wordpress.com/2007/05/11/lob-sizing/ but unfortunately I couldn't find if he wrote any answer/note about that.
    So if anyone has any suggestion, I'll appreciate it very much.
    Regards,
    Jure

    After reviewing the tkprof as suggested by user503699, I noticed that the DELETE itself is instantaneous. The problem is another statement:
    select /*+ all_rows */ count(1)
    from
    "SCOTT"."MESSAGES" where "PACKET_ID" = :1
    call     count       cpu    elapsed       disk      query    current        rows
    Parse        1      0.00       0.00          0          0          2           0
    Execute      1      0.00       0.00          0          0          0           0
    Fetch        1      1.40      16.93     125012     125128          0           1
    total        3      1.40      16.93     125012     125128          2           1
    Misses in library cache during parse: 1
    Misses in library cache during execute: 1
    Optimizer mode: ALL_ROWS
    Parsing user id: SYS   (recursive depth: 1)
    Rows     Row Source Operation
          1  SORT AGGREGATE (cr=125128 pr=125012 pw=125012 time=0 us)
          0   TABLE ACCESS FULL MESSAGES (cr=125128 pr=125012 pw=125012 time=0 us cost=32900 size=23056 card=5764)I checked if there was any "ON DELETE" trigger and since there wasn't, I suspected this might be a problem of unindexed foreign keys. As soon as I created an index on SCOTT.MESSAGES.PACKET_ID the DELETE executed immediately. The "funny" thing is that, the table SCOTT.MESSAGES is empty, but it has allocated 984MB of extents (since it wasn't truncated), so a time consuming full tablescan was occurring on it.
    Thanks for pointing me to the 10046 trace which solved the problem.
    Regards,
    Jure

  • Maintaince view creation for a cluster table

    Hi friends,
    I have created a maintaince view for a cluster table bseg and i have activated it its working fine..
    now my problem is i can create maintaince view for mutiple tables if other tables are linked with primary table using foriegn key relationship..
    Now can any one tell me is it possible to create maintance view for cluster table with multiple tables as i need a linked table with bseg which iam not able to get... ie : when i click on the relationship tab iam not getting the linked tables for bseg...
    now can i create a maintaince view with 2 linked cluster tables..
    if so can any one tell me how to create it.
    As sap says we can create projection view for cluster and pooled table and we cannot create database view for cluster and pooled tables , but it does not mentioned like that for maintaince view....
    I assume we can do it.... as iam trying to create a maintaince view with single cluster table then it shoudl allow me to create for multiple linked cluster tables.... and is it mandatory to maintain TMG for this maintaince view....?
    Regards
    KUMAR

    yes.. ur right inserting values into a cluster table other than standard sap tarnactions is dangerious....
    But sap didnot mentioned any where that we cannot maintain data for cluster tables using maintaince view... which it said for database view..that pooled and cluster table cannot be used for database view..
    Regards
    Kumar

  • Lookup table with a block based on a view

    Hi!
    My form contain one module component based on a view, one of the items of my block is a libelle that exist in one
    of the tables queried by the view.
    my question is :
    how can I have a LOV on this item in order that the user select a value for a query???
    or, can I make a lookup table with a view ????
    Thanks!

    You said you copied an existing item in the block, and then copied an existing item in the layout editor - is it possible you actually created 2 separate items? Remove the one in the layout editor, and set the canvas of the one in the block so it is displayed in the layout editor. That could be the problem.

  • X$  tables  Mapped with V_$ Views

    Hi,
    How X$  tables are mapped with V_$ views and  GV_ views?
    I need X$ table of  V_$LOGMNR_CONTENTS and  X$ table with other Views?
    Br,
    Raj

    Hi,
    I tried but confusing......
    select DBMS_METADATA.GET_DDL('SYNONYM','V$LOGMNR_CONTENTS','PUBLIC')  from dual;
    CREATE OR REPLACE PUBLIC SYNONYM "V$LOGMNR_CONTENTS" FOR "SYS"."V_$LOGMNR_CONTENTS"
    select DBMS_METADATA.GET_DDL('VIEW','V_$LOGMNR_CONTENTS','SYS')  from dual;
    CREATE OR REPLACE FORCE VIEW "SYS"."V_$LOGMNR_CONTENTS" ("SCN", "START_SCN", "
    COMMIT_SCN", "TIMESTAMP", "START_TIMESTAMP", "COMMIT_TIMESTAMP", "XIDUSN", "XIDS
    LT", "XIDSQN", "XID", "PXIDUSN", "PXIDSLT", "PXIDSQN", "PXID", "TX_NAME", "OPERA
    TION", "OPERATION_CODE", "ROLLBACK", "SEG_OWNER", "SEG_NAME", "TABLE_NAME", "SEG
    _TYPE", "SEG_TYPE_NAME", "TABLE_SPACE", "ROW_ID", "USERNAME", "OS_USERNAME", "MA
    CHINE_NAME", "AUDIT_SESSIONID", "SESSION#", "SERIAL#", "SESSION_INFO", "THREAD#"
    , "SEQUENCE#", "RBASQN", "RBABLK", "RBABYTE", "UBAFIL", "UBABLK", "UBAREC", "UBA
    SQN", "ABS_FILE#", "REL_FILE#", "DATA_BLK#", "DATA_OBJ#", "DATA_OBJV#", "DATA_OB
    JD#", "SQL_REDO", "SQL_UNDO", "RS_ID", "SSN", "CSF", "INFO", "STATUS", "REDO_VAL
    UE", "UNDO_VALUE", "SAFE_RESUME_SCN", "CSCN", "OBJECT_ID", "EDITION_NAME", "CLIE
    NT_ID") AS
      select "SCN","START_SCN","COMMIT_SCN","TIMESTAMP","START_TIMESTAMP","COMMIT_TI
    MESTAMP","XIDUSN","XIDSLT","XIDSQN","XID","PXIDUSN","PXIDSLT","PXIDSQN","PXID","
    TX_NAME","OPERATION","OPERATION_CODE","ROLLBACK","SEG_OWNER","SEG_NAME","TABLE_N
    AME","SEG_TYPE","SEG_TYPE_NAME","TABLE_SPACE","ROW_ID","USERNAME","OS_USERNAME",
    "MACHINE_NAME","AUDIT_SESSIONID","SESSION#","SERIAL#","SESSION_INFO","THREAD#","
    SEQUENCE#","RBASQN","RBABLK","RBABYTE","UBAFIL","UBABLK","UBAREC","UBASQN","ABS_
    FILE#","REL_FILE#","DATA_BLK#","DATA_OBJ#","DATA_OBJV#","DATA_OBJD#","SQL_REDO",
    "SQL_UNDO","RS_ID","SSN","CSF","INFO","STATUS","REDO_VALUE","UNDO_VALUE","SAFE_R
    ESUME_SCN","CSCN","OBJECT_ID","EDITION_NAME","CLIENT_ID" from V_$LOGMNR_CONTENTS
    Why does V_$LOGMNR_CONTENTS contains V_$LOGMNR_CONTENTS?
    Br,
    Raj

  • How to create a table with events in smartforms?

    How to create a table with events view in smartforms?
    It doesn't like general table with header, main area and footer.
    for example:
    in smartforms: LE_SHP_DELNOTE
    table name is TABLEITEM(Delivery items table)

    Vel wrote:
    I am creating XML file using DBMS_XMLGEN package. This XML file will contain data from two different database tables. So I am creating temporary table in the PL/SQL procedure to have the data from these different tables in a single temporary table.
    Please find the below Dynamic SQL statements that i'm using for create the temp table and inserting the data into it.
    Before insert the V_NAME filed, i will be appending a VARCHAR field to the original data.
    EXECUTE IMMEDIATE 'CREATE TABLE TEMP_TABLE (UNIQUE_KEY NUMBER , FILE_NAME VARCHAR2(1000), LAST_DATE DATE)';
    EXECUTE IMMEDIATE 'INSERT INTO TEMP_TABLE values (SEQUENCE.nextval,:1,:2)' USING V_NAME,vLastDate;What exactly i need is to eliminate the INSERT portion of it,Since i have to insert more 90,000 rows into it. Is there way to have the temp table created with data in it along with the sequence value as well.
    I'm using Oracle 10.2.0.4 version.
    Edited by: 903948 on Dec 22, 2011 10:58 PMWhat you need to do to eliminate the INSERT statement is to -- as already suggested by others - eliminate the temporary table. You don't need it. It is just necessary overhead. Please explain why you (apparently) believe that the suggestion of a view will not meet your requirements.

Maybe you are looking for

  • Poor rendering of 3d pdf on Mac Pro

    I'm in a limbo between Apple and Adobe. Although I find it hard to believe that I am the only one who uses 3d pdf diligently and try to do it on a fullgrown Mac. It started when I took my previous MacPro (Mid 2010) in use almost 4 years ago. All 3d-p

  • Apps won't sync from itunes to ipod

    Hi everyone, hopefully someone can help me with a frustrating problem! As it stands I can download apps (via my ipod) and use them with no problems. However, I cannot sync ANY apps currently stored on my computer to my ipod. Ipod + itunes are both up

  • HT204088 Is there anyway to download my Purchase history?

    Is there any way I can download my iTunes purchases, specificlly my in app purchases?  I have hundres of purchases, and need to copy some (maybe 150+) of the order numbers.  iTunes does not allow me to copy and paste the order number, and with the co

  • Account user

    I will keep it short. - Just a beginner on PHP, but understand it a little. - Here is the issue: I am trying to create when a user logs in, it goes to another page with there account info(including there username and password) That's it! I hope you c

  • What is the max distance recommended between xServe RAID and the host?

    I'm looking to relocate my rack to quieter spot, but I would like to keep my xServe RAID in the rack.  How far away can I keep my xServe RAID from it's host system?  I have it hooked up to my MacPro right now. Thanks