Error inserting rows in a table

Hi,
I have a flat file. I just need something that will read a file,
and store its contents into a table. I developped a code with
Pro*C. But I have the following error. Could some one be able to
tell me what's the raison of this problem? Is it a record set
problem?
I really need some help.
Thanks
Mirabelle
Reading file /autotmp7/UnixQC/RealTimeStage//realtime0000.rtd...
1268 records in
file /autotmp7/UnixQC/RealTimeStage//realtime0000.rtd.
INSERT ERROR ORA-01461: can bind a LONG value only for insert
into a LONG column
COULD NOT INSERT 2001 08 08 00:00 Y YQX
Reading file /autotmp7/UnixQC/RealTimeStage//realtime0001.rtd...
1355 records in
file /autotmp7/UnixQC/RealTimeStage//realtime0001.rtd.
INSERT ERROR ORA-01461: can bind a LONG value only for insert
into a LONG column
COULD NOT INSERT 2001 08 08 01:00 Y XTV
INSERT ERROR ORA-01461: can bind a LONG value only for insert
into a LONG column
COULD NOT INSERT 2001 08 08 01:00 Y WDU

The error messages are helpful here...
ORA-01461 can bind a LONG value only for insert into a LONG
column
Cause: An attempt was made to insert a value from a LONG
datatype into another datatype. This is not allowed.
Action: Do not try to insert LONG datatypes into other types of
columns.
You wll fnd ths at...
http://otn.oracle.com/docs/products/oracle8i/doc_library/817_doc/
server.817/a76999/e900.htm#1656
Good Luck.

Similar Messages

  • Error while inserting rows in a table

    Hi,
    We have recently migrated from 9i to 10g. We have a scheduled job out our DB which first deletes all the rows from a table and then inserts them back by selecting rows from 5 tables. This table has a composite primary key based on 6 columns in it. In 9i, when i try to insert rows into the table after deleting all the rows from it, I am able to insert the data successfully . However, in 10g, when i try doing the same operation, it fails with the ORA error:
    ORA-00001: unique constraint violated
    The same query which works perfectly in 9i fails in 10g
    If anybody has some ideas on how to resolve the same, kindly let me know.
    Thanks in advance.

    Hi,
    I was finally able to resolve the reason behind that error message and found it even more weird. The error was because I was using the substr function for extracting the characters 1-4 from a column which is 5 characters long. When i specify the query as:
    select substr(column1, 1, 4)) from table1;
    only the characters 1-3 are retrieved. Now if i change the query to select substr(column1, 1, 5)) from table1, in that case also only 3 characters are retrieved although i have specified the substr to start from 1 and read till 5 characters. Also, when i run the query:
    select length(substr(column1, 1, 4)) from table1 or select length(substr(column1, 1, 5)) from table1
    I get the answer as 3.
    However, the most amazing part is that the query is working perfectly in 9i and is retrieving the data correctly i.e. from substr 1-4.
    Can anyone suggest what the problem could be?
    Thanks
    Edited by: CrazyAnie on May 13, 2009 1:34 AM

  • Need to insert rows into 100 tables at a time

    hi there,
    below is our script for creation of 100 tables...
    we need a plsql script, to insert rows into 100 tables at a single time...
    please help us...vey urgent...
    DECLARE
    counter NUMBER;
    sql_string VARCHAR2(2000);
    BEGIN FOR counter IN 1..100 LOOP sql_string := 'CREATE TABLE emp_table'||counter||'
    (id integer primary key, col_a VARCHAR2(42),col_b date,col_c number,col_d varchar2(20),col_e varchar2(20),
    col_f varchar2(20),col_g varchar2(20),col_h date,col_i varchar2(20),col_j varchar2(20),col_k date)';
    EXECUTE IMMEDIATE sql_string;
    END LOOP;
    END;
    /

    hi,
    below is our procedure and the error we are getting...
    Name Null? Type
    ID VARCHAR2(10)
    COL_A VARCHAR2(10)
    COL_B VARCHAR2(10)
    COL_C VARCHAR2(10)
    COL_D VARCHAR2(10)
    COL_E VARCHAR2(10)
    COL_F VARCHAR2(10)
    COL_G VARCHAR2(10)
    COL_H VARCHAR2(10)
    COL_J DATE
    DECLARE
    counter NUMBER;
    sql_string VARCHAR2(4000);
    BEGIN FOR counter IN 1..100 LOOP sql_string := 'CREATE TABLE emp_a'||counter||'
    (id varchar2(10), col_a varchar2(10), col_b varchar2(10), col_c varchar2(10), col_d varchar2(10), col_e varchar2(10),
    col_f varchar2(10), col_g varchar2(10), col_h varchar2(10), col_j date)';
    EXECUTE IMMEDIATE sql_string;
    END LOOP;
    END;
    DECLARE
    counter NUMBER;
    sql_string VARCHAR2 (2000);
    BEGIN
    FOR OuterCounter IN 1 .. 100 LOOP --- table prefix in which it is to be inserted
    FOR InnerCounter IN 1 .. 100 LOOP --- records to be inserted
    sql_string := 'INSERT INTO emp_a' || Outercounter || ' (id, col_a, col_b, col_c, col_d, col_e, col_f, col_g, col_h, col_j)
    VALUES ('
    || InnerCounter || ', to_char( ''col_a''' || innercounter || '),'
    || InnerCounter || ', to_char( ''col_d''' || innercounter || '),'
    || ', to_char( ''col_e''' || innercounter || '),'
    || ', to_char( ''col_f''' || innercounter || '),'
    || ', to_char( ''col_g''' || innercounter || '),'
    || ', to_char( ''col_h''' || innercounter || '),'
    || ', to_char( ''col_j''' || innercounter || '), SYSDATE)';
    EXECUTE IMMEDIATE sql_string;
    END LOOP;
    END LOOP;
    END;
    DECLARE
    ERROR at line 1:
    ORA-00907: missing right parenthesis
    ORA-06512: at line 17
    please check the procedure and write the correct one...

  • Help in inserting rows into a table

    I have a table called acct_fact,
    I need to insert rows in the table using a script but the problem is there's a column called seq_nbr which has random seq nbr of 14character length like 'ZWX98MGD9MVAD6J','ZWX98MG67RVAD6J' etc.,
    While inserting rows I need to generate such seq_nbr for those columns and insert rows into the table, can I use any such mechanism in my insert query to insert such random nbr's while inserting rows into a table.
    If so please suggest me

    Hi Peter,
    Thankyou for the quick reply:)
    can you suggest me how to implement it here in my script snippet:
    while read var_acct_nbr
    do
    echo "update acct_attr set acct_attr_exp_dt ='$ExpDate' where Acct_Attr_Value_Text='15' and acct_attr_exp_dt is null and person_id='LDCarrBillAgrm' and acct_nbr='$var_acct_nbr' ;" >> ./$DirectoryName/SQLQuery_$TimeStamp.sql
    echo "insert into acct_fact values ('$var_acct_nbr','$ExpDate','$ExpTime','*seq_nbr*','N','ProjTereza','Remoção de acordo d; data de expiração: $ExpDate',null,'1','LDE',null);" >> ./$DirectoryName/SQLQuery_$TimeStamp.sql
    done < ./$DirectoryName/ExpireAccts_$TimeStamp.LOG
    the script takes each acct_nbr nbr form a input file and fires an insert statement.
    The one in bold is the column where such sequence need to be inserted.can you help me in implementing the way you suggested in my script i.e., insert statement
    Thanks in Advance:)
    Edited by: rkrish on Jun 27, 2012 3:04 AM

  • Last Inserted Row in a Table

    Hi,
    I want to select only the last inserted row in a table. Can anybody help me how can i get it.
    Eg
    select * from emp;
    empno ename sal
    12 abc 100
    13 xyz 200
    Now i have inserted a row as
    Insert into emp values (14,'Rohit',500);
    So i only want to select the last inserted row i.e.. empno 14 (in this case).
    Thanks
    Bye
    Rohit Taneja

    Thanks to all for replying.
    But the result is not which i desire.
    I have deleted the existing row in the same table as
    SQL> Delete from emp where empno = 13;
    1 row deleted.
    Then i inserted a new row as
    SQL> insert into emp values(10,'SRI',200);
    1 row created.
    Then i committed the work
    SQL> commit;
    Commit complete.
    But still am getting the last row as
    SQL> select * from emp
    where rowid=(select max(rowid)
    from emp);
    EMPNO ENAME SAL
    14 ROHIT 500
    as the solution.
    But here i am supposed to get the row with empno 10.
    I have tried both the queries and still geting the same result.
    Please look aat it again,
    Thanks in advance
    Bye
    Rohit Taneja
    Hi,
    I want to select only the last inserted row in a
    table. Can anybody help me how can i get it.
    Eg
    select * from emp;
    empno ename sal
    12 abc 100
    13 xyz 200
    Now i have inserted a row as
    Insert into emp values (14,'Rohit',500);
    So i only want to select the last inserted row i.e..
    empno 14 (in this case).
    Thanks
    Bye
    Rohit Taneja

  • Error:Insert flow into I$ table

    Hi,
    While implementing scd2 type,I am getting an error"Insert flow into I$ table"
    ODI-1228: Task int1 (Integration) fails on the target ORACLE connection twitter.
    Caused By: java.sql.SQLSyntaxErrorException: ORA-00936: missing expression.
    Please help!!
    Thanks.

    Hi,
    code generated is:
    insert /*+ APPEND */ into ODIWR.I$_EMP_SCD_TARGET
         ENAME,
         EMAIL,
         PHNUM,
         SALARY,
         JOB_ID,
         START_DATE,
         IND_UPDATE
    select *
    from (
         select     
              EMP_SCD_SRC.FIRST_NAME     ENAME,
         EMP_SCD_SRC.EMAIL     EMAIL,
         EMP_SCD_SRC.PHONE_NUMBER     PHNUM,
         EMP_SCD_SRC.SALARY     SALARY,
         EMP_SCD_SRC.JOB_ID     JOB_ID,
              SYSDATE     START_DATE,
         'I' IND_UPDATE
         from     ODIWR.EMP_SCD_SRC EMP_SCD_SRC
         where     (1=1)
    ) S
    where NOT EXISTS (
         select 'x'
         from     ODIWR.EMP_SCD_TARGET T
         where     
         and     ((S.ENAME = T.ENAME) or (S.ENAME IS NULL and T.ENAME IS NULL))
              and     ((S.EMAIL = T.EMAIL) or (S.EMAIL IS NULL and T.EMAIL IS NULL))
              and     ((S.PHNUM = T.PHNUM) or (S.PHNUM IS NULL and T.PHNUM IS NULL))
              and     ((S.SALARY = T.SALARY) or (S.SALARY IS NULL and T.SALARY IS NULL))
              and     ((S.JOB_ID = T.JOB_ID) or (S.JOB_ID IS NULL and T.JOB_ID IS NULL))
         and     CURRENT_FLAG     = 1
         and     END_DATE     = to_date ('01-01-2400', 'mm-dd-yyyy')
    Ikm used is IKM Oracle Slowly Changing Dimension

  • Adding 2 more rows to a select without inserting rows to base table

    hello all,
    i have a below simple select statement which is querying a table.
    select * from STUDY_SCHED_INTERVAL_TEMP
    where STUDY_KEY = 1063;
    but here is the situations. As you can see its returning 7 rows. But i need to add
    2 more rows..with everything else default value or what exist... except adding 2 more rows.
    i cannot insert into base table. I want my end results to increment by 2 days in
    measurement_date_Taken to 01-apr-09....so basically measurement_date_taken should
    end at study_end_Date...
    IS THAT EVEN POSSIBLE WITHOUT INSERTING ROWS INTO THE TABLE AND JUST PLAYIHY AROUND WITH
    THE SELECT STATEMENT??
    sorry if this is confusing...i am on 10.2.0.3
    Edited by: S2K on Aug 13, 2009 2:19 PM

    Well, I'm not sure if this query looks as good as my lawn, but seems to work anyway ;)
    I've used the 'simplified version', but the principle should work for your table to, S2K.
    As Frank already pointed out (and I stumbled upon it while clunging): you just select your already existing rows and union them with the 'missing records', you calculate the number of days you're '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.If there's a simpler way (in SQL), I hope others will join and share their example/ideas/thoughts.
    I have a feeling that this is using more resources than needed.
    But I've got to cut the daisies first now, they interfere my 'lawn-green-ess' ;)

  • Insert row in a table (not ALV)

    Hi there,
    i know, i can insert a row in a table in 3 steps:
    1. get_static_attributes_table
    2. insert line into table
    3. bind_table
    Is there another way possible maybe one without reading the whole table?

    Hello,
    If your requirement is to add a row to the TABLE i.e. adding a context element to the context node which is bound to the TABLE, then you can do the following:
    DATA lo_nd_scarr TYPE REF TO if_wd_context_node.
    DATA lo_el_scarr TYPE REF TO if_wd_context_element.
    lo_nd_scarr = wd_context->get_child_node( name = wd_this->wdctx_scarr )."get the reference to the context node
    lo_el_scarr = lo_nd_scarr->create_element( ). "create a context element
    lo_el_scarr->set_attribute( name = 'attr_name' value = 'attr_value') "set the attributes
    lo_nd_scarr->bind_element(
    new_item = lo_el_scarr
    set_initial_elements = abap_false ). "bind the created element to the context node
    Hope this helps!
    If this is not the info which you are looking for, please revert back!
    Regards,
    Srilatha M
    Edited by: Srilatha M on Jul 23, 2010 11:31 AM

  • Inserting rows into a table

    Hi,
    I want to insert values into a table 'Reasons'.
    The table 'Reason' has 5 columns
    out of 5 two columns has static data say
    column A value 'A'
    column E value sysdate
    But in the other three columns the vlues are repeating and as follows.
    Column B all rows of column x from table B
    Column C all rows of column y from table C
    Column D list of values as (ONE,TWO,THREE,FOUR)
    Please Help
    Thanks
    Rohit Taneja

    create table tableb(id number,x varchar2(20));
    insert into tableb values(1,'APPLE');
    insert into tableb values(2,'BANANA');
    insert into tableb values(3,'MANGO');
    create table tablec(id number,y varchar2(20));
    insert into tablec values(1,'ROHIT1');
    insert into tablec values(2,'ROHIT2');
    insert into tablec values(3,'ROHIT3');
    insert into tablec values(4,'ROHIT4');
    select 'A' AS COL_A, d.X AS COL_B,d.Y AS COL_C,
    to_char(to_date(ROW_NUMBER() OVER(PARTITION BY X,y ORDER BY X,Y),'YYYY'),'YYYYSP') AS COL_D,SYSDATE
    FROM ( select a.id , a.x X, b.y Y  from tableb a,tablec b , tablec e order by a.x) d
    ORDER BY d.X,d.Y
    C COL_B                COL_C                COL_D                                      SYSDATE
    A APPLE                ROHIT1               ONE                                        30-SEP-02
    A APPLE                ROHIT1               TWO                                        30-SEP-02
    A APPLE                ROHIT1               THREE                                      30-SEP-02
    A APPLE                ROHIT1               FOUR                                       30-SEP-02
    A APPLE                ROHIT2               ONE                                        30-SEP-02
    A APPLE                ROHIT2               TWO                                        30-SEP-02
    A APPLE                ROHIT2               THREE                                      30-SEP-02
    A APPLE                ROHIT2               FOUR                                       30-SEP-02
    A APPLE                ROHIT3               ONE                                        30-SEP-02
    A APPLE                ROHIT3               TWO                                        30-SEP-02
    A APPLE                ROHIT3               THREE                                      30-SEP-02
    A APPLE                ROHIT3               FOUR                                       30-SEP-02
    A APPLE                ROHIT4               ONE                                        30-SEP-02
    A APPLE                ROHIT4               TWO                                        30-SEP-02
    A APPLE                ROHIT4               THREE                                      30-SEP-02
    A APPLE                ROHIT4               FOUR                                       30-SEP-02
    A BANANA               ROHIT1               ONE                                        30-SEP-02
    A BANANA               ROHIT1               TWO                                        30-SEP-02
    A BANANA               ROHIT1               THREE                                      30-SEP-02
    A BANANA               ROHIT1               FOUR                                       30-SEP-02
    A BANANA               ROHIT2               ONE                                        30-SEP-02
    A BANANA               ROHIT2               TWO                                        30-SEP-02
    A BANANA               ROHIT2               THREE                                      30-SEP-02
    A BANANA               ROHIT2               FOUR                                       30-SEP-02
    A BANANA               ROHIT3               ONE                                        30-SEP-02
    A BANANA               ROHIT3               TWO                                        30-SEP-02
    A BANANA               ROHIT3               THREE                                      30-SEP-02
    A BANANA               ROHIT3               FOUR                                       30-SEP-02
    A BANANA               ROHIT4               ONE                                        30-SEP-02
    A BANANA               ROHIT4               TWO                                        30-SEP-02
    A BANANA               ROHIT4               THREE                                      30-SEP-02
    A BANANA               ROHIT4               FOUR                                       30-SEP-02
    A MANGO                ROHIT1               ONE                                        30-SEP-02
    A MANGO                ROHIT1               TWO                                        30-SEP-02
    A MANGO                ROHIT1               THREE                                      30-SEP-02
    A MANGO                ROHIT1               FOUR                                       30-SEP-02
    A MANGO                ROHIT2               ONE                                        30-SEP-02
    A MANGO                ROHIT2               TWO                                        30-SEP-02
    A MANGO                ROHIT2               THREE                                      30-SEP-02
    A MANGO                ROHIT2               FOUR                                       30-SEP-02
    A MANGO                ROHIT3               ONE                                        30-SEP-02
    A MANGO                ROHIT3               TWO                                        30-SEP-02
    A MANGO                ROHIT3               THREE                                      30-SEP-02
    A MANGO                ROHIT3               FOUR                                       30-SEP-02
    A MANGO                ROHIT4               ONE                                        30-SEP-02
    A MANGO                ROHIT4               TWO                                        30-SEP-02
    A MANGO                ROHIT4               THREE                                      30-SEP-02
    A MANGO                ROHIT4               FOUR                                       30-SEP-02
    48 rows selected.hope this is helpfull
    cheers
    prakash

  • Insert row into database table via dynamic form -

    I have developed a portlet via Portal. I used a dynamic page. I replaced the default "<ORACLE>select * from scott.emp</ORACLE>" text to call a package procedure that uses HTP.P to render the web page. My goal is to show all rows in a table and allow edits to any row, and also add a checkbox on each row to allow the user to mark for delete. I am successfully using a FOR loop and showing all of the data in a grid. My problem - How do I update and delete the data? I have a submit button with nothing behind it currently. I would ideally like to use pl/sql code to do the updates and/or deletes as marked on the page by the user, but I'm not sure how to hook the submit button to calling a procedure to execute the updates/deletes.
    Any help would be appreciated -
    Thanks -
    Kent

    Hi Patrick - Thanks for your response! I have browsed your page quickly - very informative and I will look in more detail. My form design looks as below (using a simple example with emp id and emp name columns) - perhaps this will have to change, but I wanted the user to be able to insert using html fields id_add and name_add, then update (or mark for deletion) any of the existing rows (they are rendered with for loop in pl/sql - eg, id_1/name_1, id_2/name_2, etc for each row in the table). I was hoping the submit action would call a pl/sql that would look at all rows, and then act if an update or delete were required. This makes it difficult to use parms, I believe - I may be able to change the design to show an "update row" below the current "insert row" so that, as in your example, when the user highlights a row, it populates in the update area where changes can be made, and an update button used to effect the changes to a single row at a time.
    Thanks again, I appreciate your input!
    Kent
    ______________ _________________ <insert_button>
    Emp Id (textbox) Emp Name (textbox) Del_Checkbox
    ______________ _________________ ___ <SUBMIT_BUTTON>
    ------------------------- ----------------------------- ------

  • Append screen inserted row to internal table

    Hi Experts,
    I have created a program using table control. But after filling a row when i press enter the entire row getting blank.
    So i need to append the last inserted row from table control to internal table so that when i press enter that row remains on screen.
    Thanks & Regards
    Ashutosh Katara

    Hi,
    try this code  in PAI,
    IF sy-ucomm = 'ENTER'.
      if  tabc-col1 is NOT INITIAL and
         tabc-col2 is NOT INITIAL and
        tabc-col3 is NOT INITIAL and
         tabc-col4 is NOT INITIAL.
        w_tab-field1 =  tabc-col1.
        w_tab-field2 = tabc-col2.
        w_tab-field3 = tabc-col3.
        w_tab-field3 =  tabc-col4.
       modify <itab> FROM <workarea> INDEX sy-tabix.
    ENDIF.
    ENDIF

  • Dynamicly insert rows in a table

    I wanna know if it is possible to dynamicly insert and delete rows into a table. So I want to have a table with a column with only "add-buttons" and a column with only "delete-buttons". If you click on an add, after that row an extra row would be inserted. If you click on a delete-button, the row would be deleted.

    Yes, this is called a client-side dynamic PDF form. Have a look at the dynamic interactive Purchase Order sample in C:\Program Files\Adobe\Designer 7.1\EN\Samples\Purchase Order\Dynamic Interactive\Forms

  • Insert row in a table control

    Hi,
    I have a requirement to insert a new row and delete an existing row from a table control.
    Please help me how to proceed with this.
    Thanks in advance.
    Suresh

    Hi,
    Sorry for wrongly framed question.
    The question is
    I have a requirement to insert a new <b>column</b> and delete an existing <b>column</b> from a table control.
    Thanks,
    Suresh

  • Inserting rows in 2 tables using a single query

    Can we insert values in two tables using a single INSERT query?

    Yes we can insert data in multiple tables using (Multiple insert statement (oracle 9i New Feature))in a single statement.
    ex:
    INSERT ALL
    INTO sal_history VALUES(empid,hiredate,sal)
    INTO mgr_history VALUES(empid,mgr,sysdate)
    SELECT employee_id EMPID, hire_date HIREDATE, salary SAL, manager_id MGR
    FROM employees;
    sncr
    Naresh

  • Cannot delete newly inserted row from a table

    Dear all,
    There is a table where I have just inserted a new record. I can do a select query on that record and even update it. However when I try to delete the record, my session hangs and the record does not gets deleted. I also do not get a error message.
    Does anyone knows what the problem could be ?
    Thanks in advance
    L

    How many rows are in that table?
    from another session, what is that session waiting on?
    select sid, event, total_waits, time_waited, round(average_wait,4) as average_wait
    , (round( (time_waited/m_sum), 4)*100)|| '%' as pct_tot_wait
    from v$session_event, (
    select sum(time_waited) m_sum
    from v$session_event
    where sid = <sid_of_hanging_session>
    ) s
    where sid = <sid_of_hanging_session>
    order by 4 desc;

Maybe you are looking for

  • Unable to transfer Purchase Requisition from ECC to EBP

    Dear Friends. We are unable to transfer PR from ECC to EBP. System issue stop message in SLG1 transaction for object BBP_EXTREQ Stop Message Type: Document type for determined backend system is missing. Warning Message Type: Grant 1111 does not exist

  • How to Add Media to a Custom Frame That Preserves to Interactive PDF

    What I'm doing/trying to do: I have a custom object that I want to use as a frame in which the video would be placed. The object is a somewhat rectangular frame that I've custom made to fit over a portion of my background image. Adobe InDesign intera

  • Help with importing videos

    Hey all, just got a brand new iPod 30 GB video. first off, I made sure it was updated with my Vista system, so there wouldn't be any problems. Works perfect, but when I imported a .mpg-4 video, it wouldn't immediately import. no biggie, right? I just

  • What are the questions they  will  ask for inter company sales?

    hi all gurus, pls. let me know the process of inter  company sales and the questions can ask in the interview. thanks all arun

  • Robohelp 10

    Can we use Robohelp 10 for multiple users who want to work in a single file without installing a server?