Add data to the existing data

Hi,
I created a new table with columns sno,sname,subjects in it.
I inserted the data into the table as below...
sno     sname     subjects
100     Satya     Computers,Electronics,Data Structres
101     Dave     Computers,Civil,Informatics
102     John     Computers,Commerce
Now I need to add one more subject(Mechanical) to the subjects column.....
ex:Computers,Electronics,Data Structres,Mechanical
Computers,Civil,Informatics,Mechanical
Computers,Commerce,Mechanical
Can anyone please suggest how I can add a new subject in the existing data...
Thanks in advance

user11048416 wrote:
Hi,
I created a new table with columns sno,sname,subjects in it.
I inserted the data into the table as below...
sno     sname     subjects
100     Satya     Computers,Electronics,Data Structres
101     Dave     Computers,Civil,Informatics
102     John     Computers,Commerce
Now I need to add one more subject(Mechanical) to the subjects column.....
ex:Computers,Electronics,Data Structres,Mechanical
Computers,Civil,Informatics,Mechanical
Computers,Commerce,Mechanical
Can anyone please suggest how I can add a new subject in the existing data...
Thanks in advanceIt fails even the first normal form which says each attribute of a column should be atomic...
May be you should go for redesigning the table structure if possible or else there is huge possibility of update,insert and delete anomalies.
Ravi Kumar

Similar Messages

  • How to add tags to the existing XML file?

    Hi,
    I have a requirement wherein I have to add a tag to the existing xml data.
    For Eg:
    <ROW>
    <EVNT_ID>7333976</EVNT_ID>
    <DISTRCT_CD>67</DISTRCT_CD>
    <TIME_OFF>06-May-2008 10:50:04 AM</TIME_OFF>
    </ROW>
    The desired output is,
    <DI_DATA>
    <ROW>
    <EVNT_ID>7333976</EVNT_ID>
    <DISTRCT_CD>67</DISTRCT_CD>
    <TIME_OFF>06-May-2008 10:50:04 AM</TIME_OFF>
    </ROW>
    </DI_DATA>
    I have to add <DI_DATA> </DI_DATA>at the start and end of the input.
    Could any of you help me on this?
    Thanks,
    GV

    If your XML is just in a CLOB, you can just use string manipulation to prepend/append the nodes on. If you have it in an XMLType you could just do the following
    select appendchildxml(XMLTYPE('<DI_DATA/>'),
                                  'DI_DATA',
                                  XMLTYPE('<ROW>
    <EVNT_ID>7333976</EVNT_ID>
    <DISTRCT_CD>67</DISTRCT_CD>
    <TIME_OFF>06-May-2008 10:50:04 AM</TIME_OFF>
    </ROW>'))  -- this would be your variable
      from dual;which will put your data within the DI_DATA node.

  • How do I add products to the existing catalog?

    I logon to Catalog management tool, but nowhere do I see how do I see option to
    edit the existing catalog(the sample catalog, part of commerce server template).
    (I have tried logging as administrator/password), search does not show me the
    sample store products like guns, bench.
    Any clue anybody?
    Really appreciate your help.
    Thanks,
    Shashi

    Shashi,
    If you go to the catalog admin tools and search on "*" for example you
    should see all the catalog items. Please describe in detail what you are
    doing.
    Besides that, what differentiates one catalog for one domain with theother catalog
    for another domain?Baring other configuration changes - nothing. The catalog items are loaded
    from the RDBMS, so if each domain is using the same sample data you should
    see the same catalog.
    Sincerely,
    Daniel Selman
    "Shashi Goli" <[email protected]> wrote in message
    news:[email protected]..
    >
    Sameer,
    I do see the products and categories in the commerce example browser whenI run
    the corresponding server. There are no errors in the log too.
    But when I click on the Admin link and search for the existing products Ican't
    find any products/categories from the existing catalog, why is that? Ishould
    be able to see them right?
    Besides that, what differentiates one catalog for one domain with theother catalog
    for another domain?
    Thanks,
    Shashi
    "Sameer Sawant" <[email protected]> wrote:
    Are you sure that the items you are looking for are in the catalog tables
    can you see them from the commerce templates? Are there any exceptions
    on
    the server console or the in the log?
    Sameer

  • Add columns in the existing Customer table in a Subject Area

    Hi All,
    Well I need to add two columns from Sales table(new table i created which has customer Id) and join it to the Customer Table which has the Customer Id and several columns. The Customer table was already in the RPD which has all the customer information. Now that i have this new requirement to add few columns from the Sales table to the Customer table in one Subject Area.
    What i have done so far is that I imported the sales table into the rpd, made a join in PHYSICAL LAYER on the customer ID of the Sales table to the Customer id of the Customer table and simply dragged the sales table to the Customer LTS in the BMM layer(NO MORE JOINS IN BMM)and dragged and dropped the same into the Presentation layer. The customer table is linked to one fact table in that subject area. So i thought that dragging the sales table columns in the customer table LTS will work because customer is linked to one fact in that subject area.
    Now, In the Answers when I dragged columns from customer & sales table I see only one record that is the first customer_id record from my Sales table but i know there are many common customer_ids between those two tables but its only picking the first customer id from the sales table.
    Any help will be appreciated..
    Normally if we need to add some columns to the existing tables in one subject area what is the best approach??

    Hi Balajee,
    SAPMM06E 0111 CUSTSCR1 SAPLXM06 0111 Subscreen: PO item
    for more information check with these links
    ADDING NEW FIELDS IN me21n
    ADDING NEW FIELDS IN me21n - (Screen exit / enhancment)
    hope this will useful to you.
    Regards!

  • How to add id to the existing Authorization Object

    Hi,
    I want to add one id to the existing Authorization Object,How to add this?
    Here is my Object and existing ID's
    authority-check object 'Z_W2WALL' for user sy-uname
              id 'ZFREEZE' field r_freeze
              id 'ZLI01' field r_li01
              id 'ZLI11' field r_li11
              id 'ZLI14' field r_li14
              id 'ZLI11R' field r_li11n
              id 'ZLI20' field r_li20
              id 'ZMI10' field r_mi10
              id 'ZUPLOAD' field r_upload
              id 'Z_ARTFRZ' field r_artfrz.
    Now for this i want to add
      id 'Z_BIN' field r_frz.
    How to do this?
    Thanks

    Hi Sai,
    as there are already defined other id's have been added, you could also do the same way
    but this will also done through your basis end, where for this id your basis team will provide the
    authority to this id for the same purpose..
    authority-check object 'Z_W2WALL' for user sy-uname
              id 'ZFREEZE' field r_freeze
              id 'ZLI01' field r_li01
              id 'ZLI11' field r_li11
              id 'ZLI14' field r_li14
              id 'ZLI11R' field r_li11n
              id 'ZLI20' field r_li20
              id 'ZMI10' field r_mi10
              id 'Z_BIN' field r_frz
              id 'ZUPLOAD' field r_upload
              id 'Z_ARTFRZ' field r_artfrz.

  • How to add subpartitions to the existing subpartition template

    Hi All,
    My Question is ,how to add Subpartition to the exiting subpartition template. e
    like i have created a table with subpartition template with with 5 subpartitions like
    subpartiton one_1 value (121)
    subpartition two_2 value(122)
    and now i one to add one more subpartitin to the existing subpartition template(Like modify the existing subpartition templete).
    subpartition three_3 value(123)
    Could any suggest me.
    Thanks
    Sree

    >
    My Question is ,how to add Subpartition to the exiting subpartition template.
    >
    Follow the example in the section for 'Modifying a Subpartition Template' in the VLDB and Partitioning Guide
    http://docs.oracle.com/cd/E11882_01/server.112/e25523/part_admin002.htm#i1007904
    >
    You can modify a subpartition template of a composite partitioned table by replacing it with a new subpartition template. Any subsequent operations that use the subpartition template (such as ADD PARTITION or MERGE PARTITIONS) now use the new subpartition template. Existing subpartitions remain unchanged.
    If you modify a subpartition template of an interval-* composite partitioned table, then interval partitions that have not yet been created use the new subpartition template.
    Use the ALTER TABLE ... SET SUBPARTITION TEMPLATE statement to specify a new subpartition template. For example:
    ALTER TABLE emp_sub_template
    SET SUBPARTITION TEMPLATE
    (SUBPARTITION e TABLESPACE ts1,
    SUBPARTITION f TABLESPACE ts2,
    SUBPARTITION g TABLESPACE ts3,
    SUBPARTITION h TABLESPACE ts4

  • I need to add tab in the existing B1 scree

    Hai,
      I need to add two more additional tab in the production order screen. Please let me know how can i do this.
    regards
    Suresh S

    Hai,
    Thanks for you reply. I have gone through the example what you have suggested. Please let me know how i can add the item for production order.
    eg,
       For Sales Order it has been mentioned as  126. How can i identiy these 126
            '// use an existing item to place youe item on the form
            oItem = oOrderForm.Items.Item("126")
    For Sales Order it has been mentioned as 44. How can i identiy these 44
    '// use an existing item to place youe item on the form
            oItem = oOrderForm.Items.Item("44")
    And Form type :
    FormType = 139
    how following numbers can be identified for Production Order Form

  • Can i add ram to the existing ram on my Satellite C55-A5308

    I got a C55-A5308 in a bundle about half a year ago. It came with 4GB RAM and I would like to have 8GB. I want to avoid having to replace my RAM, as that would save me $50 or so. Problem is I don't know if i can simply add 4Gb of RAM to what I already have. I know that is possible on some laptops but I am unsure about my model and Satellites in general. I don't want to waste $40 on 4GB when it turns out it won't fit. Would really appreciate the help 
    edit: Also if anyone could tell me the best memory cards to use that would be great
    Solved!
    Go to Solution.

    Satellite C55-A5308 (PSCF6U-0E4066)
    According to the spec above, you have two slots and only one is occupied. You can indeed add another 4 GB in the second slot.
    See the section Adding memory (optional), which begins on p. 44 of the User's Guide.
       Satellite/Satellite Pro C40/C50/C70 - A Series User’s Guide
    The spec suggests this module for your model.
       Toshiba PC3L-12800 DDR3/DDR3L-1600MHz Computer Memory Module - 4GB
    You might also check the prices for Kingston's KTT-S3B/4G and KTT-S3C/4G, both of which are also recommended.
    -Jerry

  • I need to combine 2 sets of bookmarks in one computer. One set was just replaced -- how do I get it back and add it to the second?

    I am combining the contents of 2 computers into one new computer. I did a file transfer from the first, which transferred all of my bookmarks and passwords; when I did a file transfer from the second, it replaced the bookmarks and passwords that had already transferred. I want BOTH sets together as one Bookmark list in my new computer. How do I find the set that has just been replaced and add it to the second transfer?
    One last thing -- I can still access the computer from the second transfer, but the first has been wiped clean. I wish I had known that the bookmarks would be replaced before I did the second transfer.

    Keep this in mind, when you are restoring a JSON backup it will '''replace''' existing bookmarks (same thing with swapping in a places.sqlite file). When you '''import''' in HTML format, those bookmarks will be '''appended''' to the existing bookmarks.
    I think what you need to do is to recover the backup from just before you attempted to add the second set of bookmarks - hope that Firefox automatically backed them up before you replaced them (very strong probability that was done '''if''' you closed Firefox between the two restorations, but if you didn't close and restart Firefox between those actions it may not have happened). That should give you the bookmarks from the first PC that is wiped clean. - https://support.mozilla.com/en-US/kb/Lost+Bookmarks#w_restoring-bookmark-backups
    Then do an '''export''' into HTML format on the 2nd PC that is still operational. '''Import''' that bookmarks.html into the PC you are working on, to add them to the existing bookmarks. <br />
    Bookmarks > Organize Bookmarks -> Import & Backup - Export HTML... - to a USB stick <br />
    '''''then''''' <br />
    Bookmarks > Organize Bookmarks -> Import & Backup - Import HTML... - from file on that USB stick

  • Add Lync 2010 To Existing Office 2010 ProPlus Deployments?

    Office 2010 ProPlus was deployed with Word, Excel PowerPoint and Outlook 2 years ago.  We are now going to deploy Lync 2010 and need an easy way to add Lync to the existing Office installations.  On new installations we will add Lync as part of
    the build image.
    We do not have SCCM.  Is there a user-friendly way to deploy the msp update file to existing Office installations that lack Lync that does not require SCCM?  I have thought of making some kind of startup script, but I don't think it will be a good
    idea for that installation script to run at every reboot.  We only want it to run until Lync is installed and not again.
    Also, some users have already installed a stand alone version of Lync 2010 on their systems that is not part of the Office Suite.  Will we need to remove that version before the version in the Office suite can be added or does the stand alone Lync installer
    actually use and install the same files from the Office suite?

    From memory, Lync2010, although it is an included benefit/entitlement within OFF2010ProPlus, doesn't install as part of the main suite setup.exe, there's a separate setup.exe/installer for Lync2010 ?
    So, it shouldn't just be an MSPfile applied to modify ProPlus, you'll need to run the installer for Lync anyway?
    You might want to create an MSPfile for the Lync installation, to get the desired installation experience+customisation.
    Regardless, you should probably have a "wrapper" script, and in the script, do some kind of detection for Lync=present (maybe check the uninstall regkeys or check for presence of the exe under programfiles).
    if found, then skip the installation step.
    if absent, perform the installation step.
    similar to this:
    http://technet.microsoft.com/en-us/library/ff602181(v=office.14).aspx
    There is also a separate Lync installer, for customers who don't have OfficeProPlus, and you may need to detect for that, and decide accordingly.
    Don
    (Please take a moment to "Vote as Helpful" and/or "Mark as Answer", where applicable.
    This helps the community, keeps the forums tidy, and recognises useful contributions. Thanks!)

  • Using the existing Wcf_OracleDBBinding

    Hello Everyone,
    I have a project which uses a view from the Oracle database. Now I have a requirement for other project where I have to access the same view. Do I have to again go over the Consume Adapter Service or I can just add reference to existing project because both
    the project just does the Select operation.
    It might be basic question thought will clarify which is best to do.
    Thanks

    Yes , you can add reference to the existing project which contain the view typed  schema  . I dont think you will face any issue :) happy  coding .
    Thanks
    Abhishek

  • Steps to to enhance the existing cube and get the data from r/3

    I am at entry level.
    if i want to enhance an existing cube and pull data from R/3 into the cube what are the main steps i do.
    in my scenario - this is SD module. The infocude is  custom cube(CONTRACT cube) . I have to enhance this existing custom cube with new info objects. The person who had created this cube years ago has used generic data source .
    Please explain me the main stepd i need to do in R/3 till i get it to BI

    check if you can enhance the existing generic data source to bring data for new info objects or if those fileds are aleady existing in the data source - if existing, you will have to make changes only in BW side, if not, you will have to first modify the generic data source
    if you have modified the data source, relicate data source at BW side
    create new info objects and add those to cube > activate info cube
    map the info objects with fields in data source > activate tranformation
    test it by loading the data
    now you will have to move these changes to produciton;
    move the data source changes to R/3 production system (if applicable)
    replicate data source in BW production system
    move the BW transports to production system
    you will have communicate to the uses that data will not avialable for some time or you need to reload data in cube in off business hours or on a weekend
    delete data from info cube
    initialize delta without data transer
    do a full repair to the cube
    now you can run delta on a daily basis
    I hope it helps.
    Regards,
    Gaurav

  • How to modify (add a new field) existing SOAP data source ?

    Dear Friends,
    I am getting data from Legacy databases (from different Views) mapped to the BW through XI.
    There is an existing SOAP Data source which is mapped to the non-R/3 source system Views through XI.
    My question is:
    Now I wanted to add a new field to the existing SOAP Data source, which will be mapped to the newly added field in the source system by XI.
    Please advice how could I modify the existing SOAP data source?
    Thanks,
    Venkat

    My plan is to add the new InfoObject(field)/BIC/ZXXX in the Datasource --> Map that field to the Info Object Zxxx in Comm Str.  --> Extras (menu) --> Create BW Data source with SOAP connection --> Regenerate the PROXY --> so that now the XI guys could map the new Infoobject in my Datasource to the new field in the Legacy database tables
    But why is that I am not able to add a new field in the Datasource ? I am trying this way: RSA1 --> Infosource tab --> Dbl. click on the existing Datasource --> here...I am trying to add new field in the Datasource...
    is there any other special place where I could add a new field to the existing SOAP Datasource ?
    Please help..?

  • How to extend data selection to the existing delta update without disturbin

    Is there any way to extend data selection to the existing delta update with out disturbing the delta mechanism? I mean, is there anyway to add new delta init for the new data selection to the existing delta update without disturbing?

    the scenario is we have existing delta, let's say, for the 2 company codes 0001 and 0002. I want to extract delta for the company code 0003 without disturbing the existing delta mechanism. I mean to say I want to extend the data selection for the existing delta from 2 comp codes (0001, 0002) to 3 company codes (0001,0002 & 0003) without disturbing the delta mechanism.

  • Cannot add data to existing table

    Hello All,
    I have a very trivial issue.  I have an existing test table in SQL and I use DBVisualizer client to connect to the server.
    I have only six records in the table that I am testing.  I have a field called "SITE".  Within this field I have the following data:
    Site:
    NYC
    LA
    BOS
    I am trying to import a csv file with 6 row of records, where I have records in there where 'site' = "BOS".
    But when  I try to import, I get the following error:
    "Violation of Unique Key constraint 'ix1_test'. Cannot insert duplicate key in object 'dbo.test'."
    When I try to add the records manually, SQL allows me to add all data into the row, except when I try to add "BOS" into the site field.  Then the error happens.
    What I do not understand is, I imported a previous csv with nine (9) records with multiple rows of records with "BOS" in the site field and had no issues.
    Why is this occurring now?
    Any help would be great!
    Thanks everyone!

    Thanks for the help Dan.  But it seems like I need the SQL admin to make some changes to the table.  What should I tell the SQL Admin to do on my test table?
    Or since this is a test table, and I believe I have full access to it, is there anything I can run not to make those fields part of a unique constraint?
    I can't really make a recommendation without knowing more about the data.  I see that this is a test table, but is the intent to model something in the real world? In the latter case, you might want more than one table (e.g. rooms, devices,
    and device types).  That would allow you to keep an inventory of computer devices and their locations with any number of devices per room.
    If your intent is to just play around inserting and selecting data without regard to data integrity, you can drop the constraint with the command below, assuming you have permissions to do so.
    ALTER TABLE dbo.test DROP CONSTRAINT idx1_test;
    I do have one minor recommendation for your admin about the constraint naming, though.  Although primary key and unique constraints are implemented as a unique index, I suggest a naming convention other than one that suggests an index.  This will
    help avoid confusion with indexes that are used to improve performance rather than ensure data integrity.  For example, you could name this unique constraint something like UQ_test_1 rather than ix1_test.
    Dan Guzman, SQL Server MVP, http://www.dbdelta.com

Maybe you are looking for