How can i update more than one table at a time?

i would like to update more than one table at a time. In Java Studio creator2 how can i do table updation?

Hi,
Please go through the below thread might be of help to you.
http://forum.sun.com/jive/thread.jspa?forumID=123&threadID=51839
RK

Similar Messages

  • How to insert into more than one table at a time also..

    hi,
    i am a newbee.
    how to insert into more than one table at a time
    also
    how to get a autoincremented value of an id say transactionid for a particular accountid.
    pls assume table as
    transactionid accountid
    101 50
    102 30
    103 50
    104 35
    i want 102 for accountid 30 and 103 for accountid 50.
    thank u

    @blushadow,
    You can only insert into one table at a time. Take a look here :
    Re: insert into 2 tables
    @Raja,
    I want how to extract the last incremented value not to insert.Also, I don't understand your thread title... which was "how to insert into more than one table at a time also.. "
    Insert, extract... ? Can you clarify your job ?
    Nicolas.

  • How can I buy more than one item at a time?

    How can I buy more than one item at a time i iPhote fx a book and a calander? It would be nice to place one order and only pay for the shipping once!

    You can't.
    Regards
    TD

  • HT5525 How can I order more than one picture at a time in iphoto?

    How can I order more than one picture at a time in iphoto?

    It's also wise to crop the photos to the print size you're ordering so you have control over what portion of the image gets printed.  Otherwise, the image will be scaled so the smaller dimension fills the paper cropping off some of the oither dimension.
    OT

  • How can I highlight more than one pic at a time?

    First of all, THANKS for anyone that may answer since APPLE obviously has no desire to get off their ***** and help their customers.
    About ten days ago I was prompted to install apples new operating system. So of course I clicked OK, idiot that I am!
    Now I'm stuck with this new piece of **** operating system that I wish I could uninstall.
    ANYWAY,
    I upload a lot of pix for stuff I sell on EBay, sometimes 3-400 at a time. When I delete photos it's usually 1,000 at a time, and I assure you I'm not exaggerating. Up until now I was able to touch the END pic and swipe the whole horizontal row with two fingertips and the whole row of 7 would get checked. With the new ios7 I am unable to do it anymore (yet ANOTHER reason I don't want this 'improved' OS).
    Does ANYONE know of a way to highlight more than one pic at a time?? Remember the old windows system where you could click one pic, then hit SHIFT and click a lower one and it would highlight them all, in between, for a quick delete?
    There MUST be a way to delete, or rather highlight (or CHECK) more than one pic at a time? Anyone?
    THANKS, Rich

    Yes, I know the photos stored on the device... But which app are you accessing the photos with? Which app do you want to be able to highlight more than one pic at a time in?
    There are literally thosands of apps that access the iOS Photo Library - which one(s) are you using?

  • Can xsu not be used to update more than one table at a time.

    I would like to update two or more tables using the same XML package. However when I use XML that contains tags using column names from both tables I get an error that the second table's columns names can not be found in the first table even if I use setUpdateColumnList and build an array that contains only columns from the first table.
    Xsu does not do me a lot of good if only one table at a time can be updated.

    Assuming you are using Oracle 8i you may want to bone up on 'Object Views' and 'instead of' triggers. This is the functionality that is commonly used to perform multiple table updates from a single data source such as XML.
    An object view can be based on a query such as 'select a.col1, a.col2, b.col1, b.col2 from a, b where a.key1 = b.key1'.
    The object view is then used by the XSU to perform the XML query/update rather than using tables a and b.
    You would then write an 'instead of' trigger on the object view. The trigger would update the appropriate table (a or b) based on the columns provided in the update list.
    Steve's book 'Building Oracle XML Applications' in Chapter 12 explains how to do it and has sample code that demonstrates the process.
    The book is available everywhere and you can download the sample code from the book at o'reilly's web site.
    Good luck!

  • How Can I Update More Than One Ipod on the Same Computer?

    I've had my 30G Ipod since April 2006. For Christmas 2006, I bought my sister a 2G Ipod. I cannot figure out how to put songs on her Ipod as we both share the same computer and Itunes Library. I've already asked Ipod Corporate for help via their FAQ section regarding more than one Ipod operating with the same computer, but their advice (which told me to create a playlist small enough for her Ipod and checked as a shared playlist) did not work for me. I'd really appreciate any help with my problem. Owning an Ipod but being unable to listen to it, as I'm sure many people would agree, is quite annoying.

    There are basically two ways of using multiple iPods on a computer and these involve:
    a) Sharing a single iTunes library and user account.
    b) Creating multiple user accounts and having separate libraries.
    Sharing a Library
    If you want to share the one library, you can set either or all of the iPods so that they only get updated with only certain playlists (you can update from more than one if you wish):
    Loading songs onto iPod automatically - Windows
    Choosing the update option "Sync Music - Selected playlists" allows you to create a playlist specifically for the iPod and drag the tracks you want into it. If you tire of the list and want to change it, you just add or remove the songs you don't want. The ones you take out out remain in the library to be used some other time if you choose. You can read more about playlists at these links:
    iTunes: Creating playlists of your favorite songs
    How to create a Smart Playlist with iTunes
    However since you seem to have a problem with that method you can choose to update any or all of the iPods manually and just drag whatever content you want to them: Managing content manually on iPod
    Separate User Accounts
    Another option is to create a separate User account for each person on your PC or Mac. Different accounts by definition would give you completely separate libraries. Each account has it's own iTunes folder, Library and iTunes Music folder and you load it with CDs etc just as you did with your original one. The iPod can be set to update however the owner chooses, sync all, manual or sync specific playlists
    If you are unfamiliar with setting up Windows user accounts you can read more here: Using Windows XP User Accounts

  • How can I scan more than one photo at a time on my 8610

    The previous HP Scanner we had (8500) would allow you to add scan windows to the scan preview so that you could scan more than one photo or image at a time from the glass.  This allowed me to scan physical photos in several at a time rather than having to load one at a time.  Is there a way to do this in this newer 8610 software?  

    Thanks!  That did work, sort of.   At 600 dpi, If I put 5 photos on the scanner bed, it sometimes senses 3 correctly and senses 2 as one photo.  Sometimes the other way around, it gets 2 right and senses 3 togehter.  I can then change the scanning area to just have one of those photos, but then I have to rescan the one(s) that are/were left out. 
    So the first problem with this solution is, to use it I'm stuck at 300 dpi resolution  or less which isn't great for my situation.  I want to be able to enlarge some of these images up for printing.
    Also, When I click on the + sign it scans the same photos again and I can then crop the ones that it continually senses as 1 photo (even when they are spread apart, but it scans all the others again to, so if it senses three photos together that shouldn't be, I have to add 2 extra pages, crop them appropriately and the delete the extra 4 scans of the photos it got right the first time.  
    VERY CUMBERSOME.  The previous program for the 8500 let you just add a scan area window so that you could scan the bits out you wanted.  Much better.   Why do they mess with what works?   Bummer.

  • Can XML Update more than One Table in one call?

    Hello,
    I had a quick question. I have a client who is using both Oracle and SQL. They have an app developed in C sharp with XML whichs runs against SQL and want to port to Oracle.
    In SQL one XML statment can update multiple Tables. Can we do that in XML in Oracle? I know, we can't do that using PL/SQL.
    Subhash

    Anupama,
    Thanks for offering your help. I have attached the sample code. It works fione on SQL. I need to make sure it works on Oracle as well.
    Subhash
    ALTER PROCEDURE dbo.spx_PutPackage
    @XMLText text
    AS
    DECLARE @hDoc int,
    @Package_Tbl_Id Int,
    @Package_Type_Id Int,
    @Binder_Id Int,
    @Package_Name Varchar(256),
    @Package_Status_Type_Id Int,
    @Package_Approval_SeqNo Int,
    @Package_Current_Issue Int
    BEGIN
    --******************************** DELETE ********************************
    EXEC sp_xml_preparedocument @hDoc OUTPUT, @XMLText
    DECLARE xml_cursor
    CURSOR FOR
    SELECT Package_Tbl_Id,Package_Type_Id,Binder_Id
    FROM openxml(@hDoc,'/ROOT/Package[@Package_Status="D"]')
    With Package
    OPEN xml_cursor
    FETCH NEXT FROM xml_cursor INTO @Package_Tbl_Id,@Package_Type_Id,@Binder_Id
    WHILE @@fetch_status = 0
    BEGIN
    DELETE Package WHERE Package_tbl_Id = @Package_Tbl_Id
    --If this package is an addendum, a trigger decrements the Current_Addendum_Number
    --when the addendum table is deleted as part of the cascade delete.
    FETCH NEXT FROM xml_cursor INTO @Package_Tbl_Id,@Package_Type_Id,@Binder_Id
    End
    Close xml_cursor
    DEALLOCATE xml_cursor
    --******************************** INSERT ********************************
    DECLARE xml_cursor
    CURSOR FOR
    SELECT
    Package_Tbl_Id,
    Package_Type_Id,
    Binder_Id,
    Package_Name,
    Package_Status_Type_Id,
    Package_Approval_SeqNo,
    Package_Current_Issue
    FROM openxml(@hDoc,'/ROOT/Package[@Package_Status="I"]')
    With Package
    OPEN xml_cursor
    FETCH NEXT FROM xml_cursor INTO
    @Package_Tbl_Id,
    @Package_Type_Id,
    @Binder_Id,
    @Package_Name,
    @Package_Status_Type_Id,
    @Package_Approval_SeqNo,
    @Package_Current_Issue
    WHILE @@fetch_status = 0
    BEGIN
    INSERT INTO Package (Package_Tbl_Id, Package_Type_Id, Binder_Id, Package_Name,
    Package_Status_Type_Id, Package_Approval_SeqNo, Package_Current_Issue)
    VALUES(@Package_Tbl_Id,
    @Package_Type_Id, @Binder_Id, @Package_Name, @Package_Status_Type_Id,
    @Package_Approval_SeqNo, @Package_Current_Issue)
    FETCH NEXT FROM xml_cursor INTO
    @Package_Tbl_Id,
    @Package_Type_Id,
    @Binder_Id,
    @Package_Name,
    @Package_Status_Type_Id,
    @Package_Approval_SeqNo,
    @Package_Current_Issue
    End
    Close xml_cursor
    DEALLOCATE xml_cursor
    --******************************** UPDATE ********************************
    DECLARE xml_cursor
    CURSOR FOR
    SELECT
    Package_Tbl_Id,
    Package_Type_Id,
    Binder_Id,
    Package_Name,
    Package_Status_Type_Id,
    Package_Approval_SeqNo,
    Package_Current_Issue
    FROM openxml(@hDoc,'/ROOT/Package[@Package_Status="U"]')
    With Package
    OPEN xml_cursor
    FETCH NEXT FROM xml_cursor INTO
    @Package_Tbl_Id,
    @Package_Type_Id,
    @Binder_Id,
    @Package_Name,
    @Package_Status_Type_Id,
    @Package_Approval_SeqNo,
    @Package_Current_Issue
    WHILE @@fetch_status = 0
    BEGIN
    Update Package
    SET
    Package_Type_Id = @Package_Type_Id,
    Binder_Id = @Binder_Id,
    Package_Name = @Package_Name,
    Package_Status_Type_Id = @Package_Status_Type_Id,
    Package_Approval_SeqNo = @Package_Approval_SeqNo,
    Package_Current_Issue = @Package_Current_Issue
    WHERE Package_tbl_Id = @Package_tbl_Id
    FETCH NEXT FROM xml_cursor INTO
    @Package_Tbl_Id,
    @Package_Type_Id,
    @Binder_Id,
    @Package_Name,
    @Package_Status_Type_Id,
    @Package_Approval_SeqNo,
    @Package_Current_Issue
    End
    Close xml_cursor
    DEALLOCATE xml_cursor
    EXEC sp_xml_removedocument @hDoc
    exec spx_putattachment @XMLText
    End
    SET QUOTED_IDENTIFIER ON

  • How can I insert more than one table into database simultaneously???

    I have a problem like that:
    I want to update(insert or update) into two tables in DB simultaneously when I click a certain button. Can you help me to solve this.
    Thanks.

    I have tried using a view but I get the Validation Error on a sequence generated attribute (HOTELID) as shown below:
    Validation Error
    You must correct the following error(s) before proceeding:
    JBO-26041: Failed to post data to database during "Insert": SQL Statement "BEGIN INSERT INTO HOTEL_LOGIN_VIEW(HOTELID,HOTELNAME,COUNTRY,LOCALCURRENCY,LOGINNAME,USERPASSWORD,USERROLE) VALUES (:1,:2,:3,:4,:5,:6,:7) RETURNING HOTELID INTO :8; END;".
    ORA-01779: cannot modify a column which maps to a non key-preserved table ORA-06512: at line 1
    I have not been able to resolve it and would appreciate your help.

  • How can I select more than one bookmark at a time so that I can then open multiple bookmarks -- without the aggravation of going back to the list and selecting and opening each one.

    From my dozens of bookmarks, I often would like to open 5 or 6 of them at once -- perhaps a couple of weather reports, a couple of radio stations, a couple of other websites. But I see no way of doing this without laboriously finding a bookmark, selecting it, opening the website, then returning to the bookmarks, finding the second bookmark, selecting it, opening the website, and on and on. Surely there's a way for me to select multiple unrelated bookmarks and open them at the same time. Thanks much for your help. Don

    ''Actually there is a picture and better explanation in the corresponding History article''
    * ''http://kb.mozillazine.org/Viewing_the_browsing_history_-_Firefox ''
    Look where this picture is embedded in the article topic [http://kb.mozillazine.org/Viewing_the_browsing_history_-_Firefox#Selecting_history_items Selecting history items]
    * http://kb.mozillazine.org/images/Fx3_history_sidebar_selections2.png
    Selecting, viewing, and searching the sidebars and library lists is explained in both articles previously mentioned.
    Multiple selection is something built-in to a lot of applications and into all browsers, and yes you guessed correctly the favicon it the thing to the left of the bookmark and that is what is is called in all browsers. And if you look at selection you will find that it matches what you asked for, especially if you were to do a search from the search bar on the bookmark or history sidebar. But there is also no problem opening up a single bookmark or history item into a new tab, with either Ctrl+click or Ctrl+Shift+click in the area to the right of the favicon either.
    However I would suggest making a change to your configuration options so the the same keyboard shortcut is used from a link and from your bookmarks. See those keyboard shortcuts in the following along with the footnotes just below the table for them in
    * http://www.mvps.org/dmcritchie/firefox/keyboard.htm

  • How can I forward more than one message at a time. More than one is kicked out.

    I get an e-mail I want to share with several people. I put in first address but when I try to insert the second address. the first one is taken away. I tried BC and CC

    Hit 'Enter' after putting in the first address.

  • How can I rotate more than one photo at a time?

    In iphoto you used to be able to rotate several photos at a time, now that function seems to be gone. Am I mising something?

    I believe this thread answers your question:
    https://discussions.apple.com/thread/3096291?start=0&tstart=0

  • How can I delete more than 1 email at a time

    How can I delete more than one email at a time?

    Select multiple emails and click Delete button.
    Then empty trash in the Mail application.
    How to select multiple items?
    http://support.apple.com/kb/PH13826
    Best.

  • How to update more than one table using EO

    Hi frnds,
    Can someone provide me a doc/link which explain in detail how we can we update more than one PL/SQL tables using entity objects(on which VOs are based).
    Till date I have been doing this using PL/SQL procedures but now my requirement is to achieve it thru EO.Someone suggested me use VL to achieve plz help
    Thanks & Regards,

    Hi,
    That would be very nice of you,plz send me the docs and also send me similar docs that would be beneficial for a beginner like me.
    My id is [email protected]
    Thnx for your time.

Maybe you are looking for

  • FCP to HDCAM Question!

    Hello, I'm cutting a 4 min short film in FCP 6.0.5. We've recently been accepted to a fest that wants HDCAM. We shot on the XDCamEX1 1080p24 (35mb/s) and set our sequence settings to match this. I have two questions: 1. I'm doing the mix myself in FC

  • I want iTunes to STOP updating my information, is this possible?  how?

    I want iTunes to STOP updating my information.  Each time I open my 21,000 song library in which I have carefully customized 'genre' and 'album' and 'album sort' iTunes CHANGES MY SETTINGS.  I want to stop this unasked for and unwanted corruption of

  • Campaign Management Project in Oracle 8i

    Hi, My company is going to develop a Campaign Management System in Oracle8i. Our user has defined 500 attributes in the customer profile for selection criteria. The customer profile have about 3million records. The system's responce time should be wi

  • Localhost 127.0.0.1(oracle database express edition)

    hi all, i finished installing the oracle database express edition,checked the "launch the database homepage" , i still could not load the database homepage,the message i keep getting is "internet explorer cannot display the page" and i tried it on fi

  • Problem doing Tracking and Stabilization tutorial

    I'm new to Shake and am working through the tutorial documentation. I'm doing the Tracking and Stabilization tutorial, where you match a jpg sign to the side of a moving bus. I'm at page 216 of the the tutorial documentation. When I the applyTransfor