Insert in new column

Dear sirs.
I had a table with twenty collumns and with many registers.
I have created twho new collumns, and I put im my insert the new column, but the oracle dont´t made the isert in the new column, if i take off the new column, then it´s insert.
everyone know what I do?
Thanks
Fabiano (Brazil)

Hi, Fabiano,
Welcome to the forum!
Sorry, I can't tell what the trouble is from what you've said so far.
Whenever you have a question, it helps to post:
(1) The version of Oracle you're using
(2) A little sample data (just enough to show what the problem is) from all the relevant tables For this problem, there might not be any data already in the tables, but you should still post the CREATE TABLE statement; if it doesn't include the new columns, then post an ALTER TABLE statement, too.
(3) The results you want from that data (If you're asking about a DML statement, such as INSERT, this will be the state of the tables when everything is finished.)
(4) Your best attempt so far (formatted) In this case, it would be helpful to see both the INSERT statement (with the new columns) that fails, and the one (without the new columns) that works.
(5) The full error message (if any), including line number
Executable SQL statements (like "CREATE TABLE AS ..." or "INSERT ..." statements) are best for (2).
Formatted tabular output is okay for (3). Type these 6 characters:
(small letters only, inside curly brackets) before and after sections of formatted text, to preserve spacing.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

Similar Messages

  • How to insert a new column in SQ00

    Hi, someone knows how i can insert a new blank column in a query? i have to do that in a query or in a InfoSet??
    thanks to all
    Ale

    hi,
    "how i can insert a new blank column in a query"
    you can define an extra-field in sq02, which must not belong to your defined table(s).
    A.

  • Excel 2010 analyzing in another workbook using PowerPivot. Update in the source workbook (insert a new column) doesn't show

    Excel 2010 workbook (A).
    Analyzing in another workbook (B) using PowerPivot.
    After a column insert in the source workbook (A) that update is not shown in the updated table in workbook (B)
    I can however have an updated table in (B) if I define a new connection. But that is in another tab then.
    So How to update the  data that is input to the pivot tables using the "old" connection (connection to A)

     Linked tables must reference Excel
    data found in a separate Excel window within
    the same PowerPivot workbook.

  • Insert new Column in Reporting Cockpit (Portfolio Management)

    Dear colleagues;
    Any of you could change and insert a new column in Reporting Cockpit for BCV consult?
    I need to insert a new column with a formula (operation with more than two other column).
    How yo can activate this BCV Consult?
    Best regards.
    Mariano

    Dear Guru's;
    I have the solution.
    I solve this problem with the BRF Plus application.
    Watch this site --> Business Rule Framework plus [original link is broken]
    And go to the BCP Admin link in SAP PPM in Business Context Viewer -> Configuration center -> BCV Consult.
    Best regards.

  • Addition of new column into SAP query program

    Hi freinds,
    There is a query program(joins EKKO,EKPO) which contains columns like vendor,purchase doc,item,material and material description etc..
    I need to insert a new column 'Supplying plant' in 2nd position after vendor column...When I try to add a field into internal table,am getting short dump error...
    Kindly suggest on this problem...
    Thanks in advance...
    Bharat.

    Hi,
    the program you got is it a copy from a SAP QUERY created on TCode SQ01 ?
    If yes got to Tcode SQ01 draw a new one and see the report generated
    Best Regards
    Jaime

  • Creating new column in existing pdf doc

    I am trying to add a new column with some CFif content into a pdf doc that is already created. the original pdf doc contains a table PropertyDetails_T with columns such as 1st column : 'customer name' 2nd col : 'no. of. vehicles' 3rd column : 'area of farmland'. I have to insert a new column between 1st and 2nd.
    i am using dreamweaver. in design mode i inserted columns to right of 1st column and added the column name "area of property".
    Next i include CFif lines in code mode as given below :
    <cfif getPropertyDetails_T.areaofProperty NOT EQUAL "">
    <td> #NumberFormat (getPropertyDetails_T.areaofProperty,"_______.__")#</td>
    <cfelse>
    <td>0.00</td>
    </cfif>
    but after writing these lines and saving, the table in design mode has been messed up. i see that CFif content of 'no.of vehicles' has been moved to the next column 'area of farmland'. i have the new Cfif content - <cfif getPropertyDetails_T.areaofProperty NOT EQUAL "">
    <td> #NumberFormat (getPropertyDetails_T.areaofProperty,"_______.__")#</td>
    where it should be that is 'area of property' column.
    But i see that value '0.00' has been diplayed below the column 'no.of vehicles' instead of the CFif content that was previously added to it and is now pushed to next column.
    does anyone have pointers as to how i could correctly apply indentation or code it right to align the right column to the right CFif contents.
    thnx,
    sachinpol

    dear john.
    SDK Version 6.5
    I wish add on new column in existing matrix to Batch Transaction Report.
    what i doing?
    I'm sorry.
    Give me a source please.
    email : [email protected] <== source please.
    Message was edited by: kim sung bum

  • Report Painter - New Columns Don't Show Up

    Hello All,
    We have a report painter report that was copied from an existing report in transaction CJE5 (for modifying the form) and then assigned in CJE1 (to a report). The copied report was functioning properly with an existing tcode assignment. Now, I am trying to add new columns to the same form and I was able to add and save everything to the form without errors. However, when I execute the report, these new columns don't appear on the report. Can anyone suggest why?
    One thing I notice was that when I went to the "Report Parameters", the list of "Columns" does not include the columns that I added. I cannot figure out how to add them to the list so that they would start appearing on the report output.

    Hello Suresh, Thanks for the suggestion, but report painter is a functional area and the ABAPer should not be required to insert a new column and make it appear on the report. Any more suggestions, please?

  • New column required in COR6N

    Hello experts,
    I want to know is there any way to add or insert a new column in goods movement screen of transaction COR6N. Actually as per client requirement they want one more column of calculated output given by goods movement. One is for view only and other is for entry purpose.They dont want to change the calculated output in single column. Please suggest.
    Thanks
    Nitin

    Sorry it is not this BADI.  I mix it up with COOISPI report.
    If I understand you correctly, you want some additional field during goods movement screen during confirmation.  I think BADI WORKORDER_GOODSMVT may help you. 
    The method GM_SCREEN_OKCODE_CHECK is called directly after executing a function on the goods movement overview of the confirmation, picking, or postprocessing. It can be used for checking authorizations or entries.
    Hope it helps.
    Edited by: ayethebing on Jul 1, 2011 5:10 PM

  • Add a new column to an "Insert Form" created by HTMLDB Wizard throws Error

    Hi,
    My table design has changed and I had to add 2 new columns.
    The corresponding Insert Form/Report/Update Forms created by the HTMLDB should now reflect the new columns that have been added.
    In report and update forms I did not have a problem but in the Insert form, under Edit Page Process I tried to change the sql and I get the below error
    "Encountered the symbol "end-of-file" when expecting one of the following: begin case declare end exception exit for goto if loop mod null pragma raise return select update while with "
    My Edit Page Process SQL is as below-(Last two columns are the NEW columns i.e CDPL and CDPLCA)
    insert into "L2ENTRIES"
    ("AUTONUML2E",
    "ROLLNO",
    "AWARDCODE",
    "ROLLCLASSCODE",
    "SURNAME",
    "FORENAME",
    "SEX",
    "DOB",
    "PPSNO",
    "M1",
    "M2",
    "M3",
    "M4",
    "M5",
    "M6",
    "M7",
    "M8",
    "M9",
    "M10",
    "M11",
    "M12",
    "M13",
    "M14",
    "M15",
    "M16",
    "FEES",
    "CNULLS",
    "CDUPPPS",
    "CROLL",
    "CAWARDS",
    "CMODULES",
    "CHECKCHAR",
    "CHECKNO",
    "VALIDPPS",
    "VALIDPPSUK",
    "PPSNOPAD",
    "CDPL",
    "CDPLCA")
    values (
    :P3_AUTONUML2E,
    :P3_ROLLNO,
    :P3_AWARDCODE,
    :P3_ROLLCLASSCODE,
    :P3_SURNAME,
    :P3_FORENAME,
    :P3_SEX,
    :P3_DOB,
    :P3_PPSNO,
    :P3_M1,
    :P3_M2,
    :P3_M3,
    :P3_M4,
    :P3_M5,
    :P3_M6,
    :P3_M7,
    :P3_M8,
    :P3_M9,
    :P3_M10,
    :P3_M11,
    :P3_M12,
    :P3_M13,
    :P3_M14,
    :P3_M15,
    :P3_M16,
    :P3_FEES,
    :P3_CNULLS,
    :P3_CDUPPPS,
    :P3_CROLL,
    :P3_CAWARDS,
    :P3_CMODULES,
    :P3_CHECKCHAR,
    :P3_CHECKNO,
    :P3_VALIDPPS,
    :P3_VALIDPPSUK,
    :P3_PPSNOPAD,
    :P3_CDPL,
    :P3_CDPLCA)
    It will be great if some one can assist me in this matter.
    Thanks.

    Resolved this by a simple ";" at the end of the insert sql.
    I did not think a ";" will be necessary because when you edit the page process a ";" is not visible.

  • Looping multiple excel files at a time in ssis and create a new column to insert the files names

    Hi Friend,
    i have one requirement.
    I got around 200 excel files with date as file name like 120101.xls, 120102.xls (YYMMDD).
    I am able to loop all the files and insert data but i am unable to load the files names using ssis.
    Please can any one help to fix this using script task or any other code..
    It is very urgent

    Thank You Vaibhav,
    I want to insert the file name along with the other columns of data from excel.
    like this deriving a new column FILE_NAME
    Your ForEach Loop task must be returning the entire file path, I suppose.
    1. Get the file name from your file path. 
    New variable: FileName 
    Expression   : RIGHT(@[User::FilePath],FINDSTRING(REVERSE(@[User::FilePath]),"\\",1)-1)
    2. Inside Data flow, after Excel source use Dervied Column and use above @FileName
    3. At your OLEDB destinition, use MyFileName.
    -Vaibhav Chaudhari

  • Option + arrow keys suddenly inserts new columns

    This happens frequently when I work in Numbers.
    When I shall edit text in a cell, option + > and option + < all of a sudden cease to work. Instead of jumping to next or previous word, a new column is inserted.
    I don't know what causes it. I haven't found another solution than closing the document and reopen it.
    Fred

    I always edit text directly in cells and option + arrow keys normally jump to next or previous word.
    Yes they are greyed out for me too.
    I just noticed that if I by mistake press Cmd + return (instead of option + return) when I want to edit, it causes option + arrow keys to insert new columns. I can revert to normal by placing the cursor in the formula bar and using option + arrows. After that option + arrow keys jump to next or previous word also when I edit directly in cells.
    Thanks for telling about using the formula bar. Now I don't have to close and reopen the document.

  • Problem while inserting new Column in JTable

    Hi,
    I am facing Problem while inserting new Column in JTable.
    I have a JTable with one inherited ColumnModel class.
    When I am adding the column and moving towards the corresponding location, it moves successfully.
    but if I am adding another column or making any changes to table column structure the table retains the defualtcolumn structure.
    please help me to solve this..
    Regards
    Ranjith.........

    Maybe this example will help:
    http://forum.java.sun.com/thread.jspa?forumID=57&threadID=579527

  • Inserting new columns based on the condition!

    Hi guys,
    I have a very simple query like the following… 
    SELECT table2.column_code2,
    table2.column_description2,
                 table2.column_code1,
                 table1.column_description1
    FROM database_001.table2 table1 LFET OUTER JOIN database_001.table2 table1 on (table2.column_code1 = table1.column_code1)
    From this query, its returning me a result set of something like below:
    column_code1       column_description1        column_code2                 column_description2
    RO1                              BOOK                              RL1            
                               PDF/ECOPY
    RO2                              PAPER                             RL2            
                            CONFERENCE
    RO5                            JOURNAL 
    RL11  OTHER
    Now, on the above query I want to insert three extra columns with the name (status, location and contact) where the results in the extra three columns would be based on the conditions I want to define in the query based on the above results…
    Something for example (sorry, I am not trying to write a condition: my question is how to write it), 
    if column_code1 = RO1 and column_description2  =  PDF/ECOPY on status column it should return a value ‘ONLINE’ & on location column it should return ‘WEB’ and on contact column it should write ‘BOB’.
    Also,
    if column_code1 = RO5 and column_description1 = JOURNAL on status column it should return a value ‘ON PRESS FOR PRINT’ & on location column it should return ‘S.R STREET, LONDON’ and on contact column it should write
    ‘SMITH’ like below result…so the final output should be the top four columns and the extra three columns…I hope someone can help me into this…thanks a lot…
    status                                            location                
                            contact
    ONLINE                                               WEB                          
                           BOB
    ON PRESS FOR PRINT                     S.R STREET, LONDON                           SMITH

    Hi artistdigital,
    you can use case statment for same in sql server. MSDN link - > http://technet.microsoft.com/en-us/library/ms181765.aspx
    Try code like this:
    SELECT table2.column_code2,
    table2.column_description2,
    table2.column_code1,
    table1.column_description1,
    case when column_code1 = 'RO1' and column_description2 = 'PDF/ECOPY' then 'ONLINE'
    when column_code1 = 'RO5' and column_description1 = 'PDF/ECOPY' then 'ON PRESS FOR PRINT'
    end as [status],
    case when column_code1 = 'RO1' and column_description2 = 'PDF/ECOPY' then 'WEB'
    when column_code1 = 'RO5' and column_description1 = 'PDF/ECOPY' then 'S.R STREET, LONDON'
    end as [Location],
    case when column_code1 = 'RO1' and column_description2 = 'PDF/ECOPY' then 'BOB'
    when column_code1 = 'RO5' and column_description1 = 'PDF/ECOPY' then 'SMITH'
    end as [contact]
    FROM table2
    join table1
    on table2.column_code1 = table1.column_code1
    Regards Harsh

  • How can I add a new column in compress partition table.

    I have a compress partition table when I add a new column in that table it give me an error "ORA-22856: CANNOT ADD COLUMNS TO OBJECT TABLES". I had cretaed a table in this clause. How can I add a new column in compress partition table.
    CREATE TABLE Employee
    Empno Number,
    Tr_Date Date
    COMPRESS PARTITION BY RANGE (Tr_Date)
    PARTITION FIRST Values LESS THAN (To_Date('01-JUL-2006','DD-MON-YYYY')),
    PARTITION JUNK Values LESS THAN (MAXVALUE));
    Note :
    When I create table with this clause it will allow me to add a column.
    CREATE TABLE Employee
    Empno Number,
    Tr_Date Date
    PARTITION BY RANGE (Tr_Date)
    PARTITION FIRST Values LESS THAN (To_Date('01-JUL-2006','DD-MON-YYYY')),
    PARTITION JUNK Values LESS THAN (MAXVALUE));
    But for this I have to drop and recreate the table and I dont want this becaue my table is in online state i cannot take a risk. Please give me best solution.

    Hi Fahed,
    I guess, you are using Oracle 9i Database Release 9.2.0.2 and the Table which you need to alter is in OLTP environment where data is usually inserted using regular inserts. As a result, these tables generally do not get much benefit from using table compression. Table compression works best on read-only tables that are loaded once but read many times. Tables used in data warehousing applications, for example, are great candidates for table compression.
    Reference : http://www.oracle.com/technology/oramag/oracle/04-mar/o24tech_data.html
    Topic : When to Use Table Compression
    Bug
    Reference : http://dba.ipbhost.com/lofiversion/index.php/t147.html
    BUG:<2421054>
    Affects: RDBMS (9-A0)
    NB: FIXED
    Abstract: ENH: Allow ALTER TABLE to ADD/DROP columns for tables using COMPRESS feature
    Details:
    This is an enhancement to allow "ALTER TABLE" to ADD/DROP
    columns for tables using the COMPRESS feature.
    In 9i errors are reported for ADD/DROP but the text may
    be misleading:
    eg:
    ADD column fails with "ORA-22856: cannot add columns to object tables"
    DROP column fails with "ORA-12996: cannot drop system-generated virtual column"
    Note that a table which was previously marked as compress which has
    now been altered to NOCOMPRESS also signals such errors as the
    underlying table could still contain COMPRESS format datablocks.
    As of 10i ADD/SET UNUSED is allowed provided the ADD has no default value.
    Best Regards,
    Muhammad Waseem Haroon
    [email protected]

  • Can't add a new column to LCD table? Option there, just wont add it.

    I have a LCD form with a table in it. Im trying to simply add a new column to the table. The option is there but the column just wont appear after clicking add Column to Left. I selected a column, right clicked the space > Insert > Column to left. But wont intsert. The table object properties tab shows rows and colum numbers but they are grayed out.
    See screenshots:
    http://www.emermed.net/staging/forums...
    http://www.emermed.net/staging/forums...
    This is a dynamic table where a new row can be inserted using a button. Is that dynamic nature the issue? Id hate to undo all the dynamic flow and programming just to add a column then reapply everything.
    Thanks!

    Hi,
    You don't add columns in the Object > Table palette (Screenshot 2). I suspect that the problem is that there is not enough on the page (within the content area) to actually add the column. In Screenshot 1, if you look at the width of the highlighted column versus the space available to the right of the table, you will see that a column cannot be added due to space restrictions.
    Reduce the width of the highlighted column (temporarily), then add a column. Once added, you can resize the columns to match the page width.
    Hope that helps,
    Niall

Maybe you are looking for