Insert rows in the PL/SQl table

Hello
I have a PL/SQl table that I filled through bulk collect and now I'm trying to loop through the table (actually quite a few nested loops)... Now in one of my curls, I might need to insert a new row by splitting the field in the existing row in the table. Can I insert the line in the pl/sql table in the loop without affecting the "FOR i IN tab.first... Tab.Last' loop?
Also, what would be the index of such a line inserted into the table. Can I access it with tab.last + 1 (doesn't look like it can be done if I insert into various levels of loops).
OR
If I insert the lines insde loops nested, then I can access the new lines as soon as I close all the loops and open a new loop? The new lines will be at the last table.

Any help will be appreciated...

The expression v_arr. LAST gives the index of the last entry, so you can refer to this element as

v_arr(v_arr.LAST)

Then the attributes of this element will be

v_arr(v_arr.LAST).attr

for example

DECLARE
    TYPE table_defs_tt IS TABLE OF user_tables%ROWTYPE INDEX BY PLS_INTEGER;
    v_mytables table_defs_tt;
BEGIN
    SELECT * BULK COLLECT INTO v_mytables
    FROM   user_tables
    WHERE  ROWNUM <= 100;

    DBMS_OUTPUT.PUT_LINE(v_mytables(v_mytables.LAST).table_name);
END;

Tags: Database

Similar Questions

  • Add more than 2 lines for a select statement without inserting rows in the base table

    Hi all

    I have a below a simple select statement that is querying a table.

    Select * from STUDY_SCHED_INTERVAL_TEMP
    where STUDY_KEY = 1063;

    but here's the situation. As you can see its return 7 ranks. But I must add
    2 rows more... with everything else, default or what exist... except the adding more than 2 lines.
    I can't insert in the base table. I want my results to end incrementing by 2 days in
    measurement_date_Taken on 01-APR-09... so big measurement_date_taken expected to
    end at study_end_Date...



    IS IT STILL POSSIBLE WITHOUT INSERT ROWS IN THE TABLE AND PLAYIHY ALL AROUND WITH
    THE SELECT STATEMENT?

    Sorry if this is confusing... I'm on 10.2.0.3

    Published by: S2K on August 13, 2009 14:19

    Well, I don't know if this request is as beautiful as my lawn, but seems to work even when ;)
    I used the "simplified" version, but the principle should work for your table, S2K.
    As Frank has already pointed out (and I fell on it while clunging): simply select your already existing lines and union them with the 'missing documents', you calculate the number of days that you are "missing" based on the study_end_date:

    MHO%xe> alter session set nls_date_language='AMERICAN';
    
    Sessie is gewijzigd.
    
    Verstreken: 00:00:00.01
    MHO%xe> with t as ( -- generating your data here, simplified by me due to cat and lawn
      2  select 1063 study_key
      3  ,      to_date('01-MAR-09', 'dd-mon-rr') phase_start_date
      4  ,      to_date('02-MAR-09', 'dd-mon-rr') measurement_date_taken
      5  ,      to_date('01-APR-09', 'dd-mon-rr') study_end_date
      6  from dual union all
      7  select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('04-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
      8  select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('09-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
      9  select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('14-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
     10  select 1063, to_date('03-MAR-09', 'dd-mon-rr') , to_date('19-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
     11  select 1063, to_date('22-MAR-09', 'dd-mon-rr') , to_date('23-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual union all
     12  select 1063, to_date('22-MAR-09', 'dd-mon-rr') , to_date('30-MAR-09', 'dd-mon-rr') , to_date('01-APR-09', 'dd-mon-rr') from dual
     13  ) -- actual query:
     14  select study_key
     15  ,      phase_start_date
     16  ,      measurement_date_taken
     17  ,      study_end_date
     18  from   t
     19  union all
     20  select study_key
     21  ,      phase_start_date
     22  ,      measurement_date_taken + level -- or rownum
     23  ,      study_end_date
     24  from ( select study_key
     25         ,      phase_start_date
     26         ,      measurement_date_taken
     27         ,      study_end_date
     28         ,      add_up
     29         from (
     30                select study_key
     31                ,      phase_start_date
     32                ,      measurement_date_taken
     33                ,      study_end_date
     34                ,      study_end_date - max(measurement_date_taken) over (partition by study_key
     35                                                                          order by measurement_date_taken ) add_up
     36                ,      lead(measurement_date_taken) over (partition by study_key
     37                                                          order by measurement_date_taken ) last_rec
     38                from   t
     39              )
     40         where last_rec is null
     41       )
     42  where rownum <= add_up
     43  connect by level <= add_up;
    
     STUDY_KEY PHASE_START_DATE    MEASUREMENT_DATE_TA STUDY_END_DATE
    ---------- ------------------- ------------------- -------------------
          1063 01-03-2009 00:00:00 02-03-2009 00:00:00 01-04-2009 00:00:00
          1063 03-03-2009 00:00:00 04-03-2009 00:00:00 01-04-2009 00:00:00
          1063 03-03-2009 00:00:00 09-03-2009 00:00:00 01-04-2009 00:00:00
          1063 03-03-2009 00:00:00 14-03-2009 00:00:00 01-04-2009 00:00:00
          1063 03-03-2009 00:00:00 19-03-2009 00:00:00 01-04-2009 00:00:00
          1063 22-03-2009 00:00:00 23-03-2009 00:00:00 01-04-2009 00:00:00
          1063 22-03-2009 00:00:00 30-03-2009 00:00:00 01-04-2009 00:00:00
          1063 22-03-2009 00:00:00 31-03-2009 00:00:00 01-04-2009 00:00:00
          1063 22-03-2009 00:00:00 01-04-2009 00:00:00 01-04-2009 00:00:00
    
    9 rijen zijn geselecteerd.
    

    Is there a simpler way (in SQL), I hope that others join, and share their ideas/example/thoughts.
    I feel that it is using more resources there.
    But I have to cut the daisies before now, they interfere my 'grass-green-ess";)

  • Impossible to insert rows in the table

    My insert statement below is not correct, when I try to run, his encoutering error "table or view does not exist.

    Basically what I'm doing here collects the table name in THE variable that stores the name of the table in this variable. This variable, I use as a table. I know that's not the right way, please let me how can I insert rows in the complete table with the following code.

    DROP TABLE TEMP;
    CREATE TABLE TEMP AS SELECT * FROM model WHERE 1 = 2;
    DECLARE
    I HAVE INTEGER DEFAULT 1;
    S VARCHAR2 (50);
    Start
    for C (select TABLE_NAME IN s from USER_TABLES where TABLE_NAME like '% of the CABLE' and TABLE_NAME NOT like '% OLD' and the order of 0 > Num_ROWS by TABLE_NAME) loop
    INSERT INTO TEMP SELECT * FROM c.TABLE_NAME;

    dbms_output.put_line (c.table_name);
    end loop;
    end;



    The insert statement above is not correct. How can I write good way.

    Thank you.

    Best regards
    Arshad

    user13360241 wrote:
    My insert statement below is not correct, when I try to run, his encoutering error "table or view does not exist.

    Basically what I'm doing here collects the table name in THE variable that stores the name of the table in this variable. This variable, I use as a table. I know that's not the right way, please let me how can I insert rows in the complete table with the following code.

    DROP TABLE TEMP;
    CREATE TABLE TEMP AS SELECT * FROM model WHERE 1 = 2;
    DECLARE
    I HAVE INTEGER DEFAULT 1;
    S VARCHAR2 (50);
    Start
    for C (select TABLE_NAME IN s from USER_TABLES where TABLE_NAME like '% of the CABLE' and TABLE_NAME NOT like '% OLD' and order > 0 Num_ROWS of TABLE_NAME) loop
    INSERT INTO TEMP SELECT * FROM c.TABLE_NAME;

    dbms_output.put_line (c.table_name);
    end loop;
    end;

    The insert statement above is not correct. How can I write good way.

    Thank you.

    Best regards
    Arshad

    STMT: = "INSERT INTO TEMP SELECT * FROM ';"

    STMT: = STMT. S;
    IMMEDIATELY EXECUTE STMT;

  • Inserting rows through the procedure of database

    Hello!
    I have a small dilemma. I have to insert rows in the database through pl/sql procedure table. I can't use entity objects, because the insertion is very specific, so it must be done through the procedure of database.
    What is the workflow for my case? Use view object with transient attributes the right way? I have to show form insertion (with entries for the database parameters), and then call my procedure to fill the db table. Where can I find more information on that? Everyone had similar cases? Any info?
    Best regards, Marko

    [Url http://download.oracle.com/docs/cd/E21764_01/web.1111/b31974/bcadveo.htm#sm0328] does help?

    John

  • Rows affected the dynamic SQL


    Hello

    VERSION - Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64 bit Production

    I want the number of rows affected by SQL dynamic, as shown below in the code where insert statement will be repeated for each record in the CURSOR.

    for rec in c1
    loop


    ABC: =' insert into test
    Select a.*,' | recomm. OP_ID |', "' | recomm. OP_NAME | " 'of BL_testI' | recomm. OP_ID: ' where START_DATE > = trunc(sysdate-2) and START_DATE < trunc(sysdate-1)';

    insert into str_test values (abc);

    immediately run abc;

    commit;

    When exit c1% notfound;
    end loop;

    In a normal query I would do it spontaneously SQL COUNT but cannot use it here.

    Thnx in advance

    Just use SQL % ROWCOUNT. What is the problem with that?

    Here is an example.

    SQL > declare
    l_sql 2 varchar2 (4000);
    3. start
    4 l_sql: = ' insert into t select * from emp';
    5. immediately run l_sql;
    6 dbms_output.put_line(l_sql ||) ': Number of inserted rows = ' | to_char(SQL%RowCount));)
    7 end;
    8.

    insert into t select * from EMP: number of inserted rows = 11

    PL/SQL procedure successfully completed.

    SQL >

  • Inserting data in the form SQL database

    I'm sure this question has been asked before, but during my research, I couldn't find an answer.

    I have a field of file download a form where users can download a separator: excel file, which is inserted into the SQL tab. This method works correctly. In the same form, I have a couple of text entry boxes in which I want the data that the user entered to be inserted in every row in the database SQL - in conjunction with the excel data entries. I hope I explained this correctly. Let me give a Visual. Here are the fields of the form:

    FILE LOCATION: [] Browse...
    [TAIL:]
    [INSTALLATION:]
    [DOWNLOAD DATE:]
    [ENTRY DATE:]

    The user has access to their file and inserts the rest of form fields. In the background, Coldfusion downloads the file and it then inserts into the SQL database. I need to take the rest of the data entered by the user (TAIL, INSTALLATION, DOWNLOAD DATE, DATE of ENTRY) and add/update on the same lines as the data of the file upload (excel sheet).

    I am sure that this would imply a sort of < cfloop >, but not quite sure how to code correctly. Please notify.

    Found the solution. I have a will insert my excel data in a line at a time. I went ahead and added the 4 forms of the insert fields and it looped through each line while adding the values in the form. Thanks for your help anyway Westside, much appreciated.

  • How to remove duplicates from the PL - SQL table?

    Hi gurus,

    I have a PL - SQL table with the following structure
    Authors (SR_NO, Auth_Code, Change_Date, cost)

    This table is filled using a slider. However, this table can have a few lines in double (for column (Auth_Code)
    for example
    SR_NO      Auth_Code       Change_Date                       Cost
    1               A1             14-FEB-09 08.18.47 AM          11.00
    2               A2             14-FEB-09 08.18.56 AM       2839.00
    3               A1             15-FEB-09 08.00.02 AM      1299.00
    4               A1             15-FEB-09 07.00.00 AM        789.00
    5               A3             14-FEB-09 08.18.56 AM        312.00
    6               A4             14-FEB-09 08.19.02 AM        233.00
    I need to get the above result set select the separate lines of Auth_Code including the Change_Date is maximum (and store in another PL - SQL table for treatment later or even the removal of this table will be also!)

    of the data A1 is duplicated and a maximum Change_Date above = 15 February 09 08.00.02 AM.
    Where my PL - SQL Table that results must have given below
    SR_NO      Auth_Code       Change_Date                       Cost
    2               A2             14-FEB-09 08.18.56 AM       2839.00
    3               A1             15-FEB-09 08.00.02 AM      1299.00
    5               A3             14-FEB-09 08.18.56 AM        312.00
    6               A4             14-FEB-09 08.19.02 AM        233.00
    I'm not very aware of the PL - SQL tables and there is no chance to change the existing cursor that fills the data in this table PL - SQL.
    I guess that I need to compare each record of PL - SQL table with others, but do not know how to do this.

    Could you please help?

    Hello

    Like this?:

    Connected to Oracle Database 10g Express Edition Release 10.2.0.1.0
    Connected as hr
    
    SQL>
    SQL> with data as(
      2  select 1 as SR_NO, 'A1' as Auth_Code, to_date('14-FEB-09 08.18.47', 'dd-mon-yy hh24:mi:ss') as change_date,    11.00 as cost from dual union all
      3  select 2 as SR_NO, 'A2' as Auth_Code, to_date('14-FEB-09 08.18.56', 'dd-mon-yy hh24:mi:ss') as change_date,  2839.00 as cost from dual union all
      4  select 3 as SR_NO, 'A1' as Auth_Code, to_date('15-FEB-09 08.00.02', 'dd-mon-yy hh24:mi:ss') as change_date,  1299.00 as cost from dual union all
      5  select 4 as SR_NO, 'A1' as Auth_Code, to_date('15-FEB-09 07.00.00', 'dd-mon-yy hh24:mi:ss') as change_date,   789.00 as cost from dual union all
      6  select 5 as SR_NO, 'A3' as Auth_Code, to_date('14-FEB-09 08.18.56', 'dd-mon-yy hh24:mi:ss') as change_date,   312.00 as cost from dual union all
      7  select 6 as SR_NO, 'A4' as Auth_Code, to_date('14-FEB-09 08.19.02', 'dd-mon-yy hh24:mi:ss') as change_date,   233.00 as cost from dual)
      8  select * from data d where change_date = (select max(change_date) from data d2 where d.auth_code = d2.auth_code);
    
         SR_NO AUTH_CODE CHANGE_DATE       COST
    ---------- --------- ----------- ----------
             2 A2        14/02/2009        2839
             3 A1        15/02/2009        1299
             5 A3        14/02/2009         312
             6 A4        14/02/2009         233
    
    SQL>
    

    Kind regards

  • Need help to insert rows in the table to a custom table area

    Hi all

    I have a requirement as below.

    I have a page of the i invoke a popup search page and displaying the table data in the area of the table, this table I select lines and pressing the button and given in the basic page in the region of the table being filled, of data, I need to insert these lines into a custom table. Please help me how to achieve this. Basically, I need to insert rows from one table to a custom table region.

    Thnaks

    Hello

    Review the link, below, may be it will help you:

    https://forums.Oracle.com/thread/953885

    https://forums.Oracle.com/thread/2151775

    Please share your solution here, it will help others.

    Concerning

    Mahesh

  • Inserted row is the same as the deleted row

    Hello

    I have another weird behavior with ADF I don't understand... When I delete a line in an af:table and then I insert a line, the insert row is identical to the deleted row. Here is what I do

    1. Go to the page, the table is loaded with a record from the database
    2. Remove the line, using a button that triggers the delete of the iterator method in links
    3. Insert a new line using a method defined in the Application module implementation java class. He defines himself as a methodAction in links
      1. The insert in my interface button calls a method in my java bean

    public void insertNewVariableScheduleRow(ActionEvent ae) {
            insertNewVariableScheduleRow((DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry());   
    }
    
    private Row insertNewVariableScheduleRow(DCBindingContainer bindings) {
            OperationBinding        method = bindings.getOperationBinding("insertNewVariableScheduleRow");          
            Map                     paramsMap;
            Row                     newRow;
    
            paramsMap = method.getParamsMap();  
            paramsMap.put("defaultValues", scheduleDefaultValues.toArray());
            method.execute();
            
            logger.log("(method.getErrors().size(): " +(method.getErrors().size()));
            
            newRow = (Row)method.getResult();
            
            return newRow;
    }
    

    The method in the * class AMImpl do:

    public Row insertNewVariableScheduleRow(int scheduleNo, int scheduleVersion, String declId, String[] defaultValues) {
            ViewObject  vo          = this.getDeclSchedCellUpdView();
            int         displOrder  = getVariableScheduleNextDisplayOrder();
            Row         row         = vo.createRow();
            
            row.setAttribute("DisplOrder",  displOrder);        
            row.setAttribute("DeclId",      declId +"");
            row.setAttribute("SchedVrsnNo", scheduleVersion +"");
            row.setAttribute("ScheduleNo",  scheduleNo +"");
            
            for(int i=0; i<defaultValues.length; i++) {
                    if(defaultValues[i] != null) {
                            row.setAttribute("Col" +String.format("%03d", i+1) +"Value", defaultValues[i]);
                    }
            }
    
            vo.insertRow(row);
            
            return row;
    }
    

    I use JDev 11.1.1.7

    Thank you for all your help

    What is property changeEventPolicy on the iterator parameters in your pageDef? (try to define this 'None')

    In addition, you can try to run the managed bean delete operation and then reset the State of the component with:

    RicheTableau yourTable =...

    yourTable.resetStampState ();

    AdfFacesContext.getCurrentInstance () .addPartialTarget (yourTable);

    Dario

  • Cannot perform the insert/update on the form of tables, due to the dynamic action

    Hi all

    I created a dynamic action that calculates multiple cells in a table.

    This feature works well, when I change the value of the associated cell then the computed value is changed by the dynamic action.

    But I am not able to insert or update the line in a table when the dynamic action is enabled. When I put the condition 'Never', then the line is inserted or updated without any problems.

    All guess where is the problem?

    Apex version: 4.1.1.00.23

    Jiri

    Nina wrote:

    I don't know why the 123,40 value (or other) is set to the next item in line (f09, fsc, etc.)
    >

    What is hidden and generated Apex elements are always included in the last cell (td) of the line. Thus, it has nothing to do with the next item, only the last cell.
    If you see the last cell of the 888 Page you will see probably the same type = "hidden" entries here also.

    Your problem is not related to the HTML fragment to the last cell in the row showing all those extra items, it's somewhere else.

    Oh, here comes the jQuery selector:

    var clickedRow = $(this.triggeringElement).closest('tr');
    
    $(clickedRow).children('td[headers="SAL"]').find("input").val(myCalculatedTotal);
    

    SAL, COMM, w/e. here you will find the TD with headers = "COMM" and all the input fields and the value of all the entries in total calculated. Your selection is not precise enough in this case.
    So, target the specific entry.
    With the code example:

    
    
    
    
    
    
    
    
    

    change the switch on

    $(clickedRow).children('td[headers="SAL"]').find('input[name="f08"]').val(myCalculatedTotal);
    
  • How to insert rows in the table dynamically?

    I have a table with 18 ranks. Each of the first 17 rows have text read-only (mandatory activities) in a text field in the first column; the last line is a blank line with an Add button so that the user can add a new activity to the bottom of the table.

    I was invited to allow users to insert a new activity at any location in the table (by example, to insert a new 7 row after row 6), instead of just at the end of the table. (Of course this requires also remove the text in the text box of the activity and to change to the entry by the user, as well as a few other household activities, which should not be a problem if I can get just the line darn insert!)

    I searched the forums and looked at some of the examples ensure dynamics. From what I've seen, this should be fairly simple... but it does not work.

    Or rather, it works very well on the first line, several times even. I have a message box displays the indices of current and new line properly for each line. But in any other line as the first, insertInstance() gives me an error "index value is out of range" even when the message box displays the correct clues.

    Given the structure and the following code in each button an ActivityAdd line, can someone tell me what I'm doing wrong? Thank you!!!

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

    tableStructure.png

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

    T_Activities.R_Activity [0]. T_AddRemove.R_Add.B_ActivityAdd::click - (JavaScript, client)

    var vNewRowIndex = this.parent.parent.parent.index + 1;

    xfa.host.messageBox ("the index of this line:" + this.parent.parent.parent.index + ".") Index of the new row: "+ vNewRowIndex +". ");"

    T_Activities.R_Activity.instanceManager.insertInstance (vNewRowIndex, 1);

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

    FWIW, I've seen the warnings about the instance manager and features underscores in names of object... for better or worse, * all * of my names object * all * of my forms use underscores like this, and to the best of my knowledge I have never had a problem. So which proves to be the problem here, I'll gladly change the names in the table.

    Did you use java or formcalc when you got the error? I've recreated your table and the code works in formcalc.

    Concerning the insertIndex working in the first line, I think that maybe it's because you always refer to the first line (R_Activity).

  • Select DataSet from the pl/sql table

    Hi Experts,

    I need to create a metric of OEM 12 c extensions. I must create a pl/sql code that can return results to OEM.

    The following code works in OEM. But the problem is that I need to create a permanent table for this case.

    Could you please tell any other option available to do this without creating additional objects at the database level?

    Based on the requirement of the OEM, the end of the script, I have to do something like ' open: 1 to select in the <>' to return the results in a table.

    Thank you.

    ###########################################################################################

    DECLARE

    TYPE cur_type IS REF CURSOR;

    CURSOR c1 IS

    SELECT distinct (owner: '.) ' || queue_table) as queue_table FROM dba_queues;

    l_cur_string VARCHAR2 (200);

    C2 cur_type;

    v_queue VARCHAR2 (128);

    number of v_ready;

    BEGIN

    run immediately "remove sys.testing";

    FOR v_queue_table IN c1 LOOP

    l_cur_string: ='select q_name, count (*) from ' | v_queue_table.queue_table | ' where State = 0 or (State = 1 and sysdate > nvl (delay, enq_time)) q_name group ';

    OPEN c2 FOR l_cur_string;

    LOOP

    C2-FETCH INTO v_queue, v_ready;

    OUTPUT WHEN c2% NOTFOUND;

    run immediately ' insert into sys.testing values (: v_queue,: v_ready) "using v_queue, v_ready;"

    OPEN: 1 for select * from sys.testing;

    commit;

    END LOOP;

    CLOSE C2;

    END LOOP;

    END;

    ###################################################################################

    In addition, committing inside of cursor loops are false.  You should never engage at the end of a business logic operation, NEVER in cursor loops.

    Something along these lines (untested) is probably what you want:

    var refcursor rc;

    declare

    SQL varchar2 (32767).

    Start

    SQL: = q'[select

    table_name,

    TO_NUMBER)

    ExtractValue)

    XmlType)

    dbms_xmlgen. GetXml ("select count (*) c to ' |") table_name | ((' where State = 0 or (State = 1 and sysdate > nvl (delay, enq_time)) q_name group '))

    (("/ LINES/LINES/C ')) County

    from (select distinct owner |'.) ' || queue_table as table_name dba_queues)]';

    Open: rc for sql.

    end;

    /

    print rc;

  • Element in the pl/sql table

    Hi all

    I have an array of integers that contains thousands of values such as 100,200,300,400,5000.

    Now, I want to know whether the table contains the value of 377. What should be my corner.

    There is doesn't work here because it only works with the item number. Here, I have only the content.

    Concerning

    Rajat

    Types can be defined in SQL and PL/SQL. The collections based on the SQL types can be used in SQL statements.

    set serveroutput on
    declare
      lt_nums sys.odcinumberlist := sys.odcinumberlist(1,2,3,4,5,6,7,8,9,11,22,33,44,55,66,77,88,99);
      l_result number;
    begin
      select count(*) into l_result
      from table(lt_nums)
      where column_value = 55;
      dbms_output.put_line('Number of found occurences = ' || l_result);
    end;
    /
    

    anonymous block filled

    Number of found rows = 1

    Post edited by: Ashton stew - I see RP says the same thing (and more) while I was typing my response. Well...

  • Copy/paste in a row with the use of tables

    Hello

    IM wondering how I can copy a few lines of a small table (in another document Pages), to a larger table (in another document of Pages).

    The issue Im facing is that when I copy, for example, two lines with 16 columns in a table that contains 30, it resumes data over and over again until it reaches the last column.

    The thing is, the data must be in order, so everything that is on the second line on the table, should be on the first line on the larger table. It cannot be in random order - if that makes sense.

    Thanks in advance.

    Hi Lorenzo,.

    To copy the table, you can select whole lines. Click on the line and copy numbers.

    When you paste into the larger table, do not select whole lines.

    Click in a cell where you want the dough to start

    Kind regards

    Ian.

  • Restrict the insert, update, delete the other user table

    I created a new database user. I have granted the privileges system into a TOAD.

    • Select any table
    • alter any table
    • delete a table

    I found that account can select, alter, drop table arrays of other schema. So how I can limit the which account to modify, remove only its tables belonging and select table of all the schema?

    Is there the ALTER table, ALTER view, ALTER procedure, ALTER synonym, DROP table, DROP view, DROP procedure, DROP synonym system privileges? How can I grant it without ANY system privileges?

Maybe you are looking for

  • What HARD drive I can use on my Satellite A660-13D?

    Hello I'm looking for any compatible for a Toshiba SATELLITE A660-13D hard disk drive as the one inside is dead now. This model comes with the laptop is a TOSHIBA MK6465GSX 640 GB, SATA 3 Gb/second 5400 RPM 2.6 revision Official suppliers of Toshiba

  • HP mini 110 computer: BIOS password

    The HP Mini 110 of one of my friends says: Enter the CURRENT password: and then, after the passwords fake tree: Password check failed Fatal error... System stopped. [personal information] Help us please! Thank you.

  • Built-in Web vedio are steeming very slow

    HelloI used Del inspiron 1500 with Windows XP SP3 on it. After so many years of usage, all of a sudden I am facing a weird problem. Videos of youtube or megavideo etc do not play correctly. The frames are very slow as the film at a moment of moviing

  • Windows live messenger 2009 guard disconnect every few minutes

    My Windows Live Messenger 2009 disconnects every two minutes. What can I do?

  • problems with my icons

    Most of my icons has been replaced with windows media center, can anyone help?