Compare contrast 2 recordsets?

Ok, I have one procedure that has two record set in it. The way that it looks is sort of like this.
create or replace
PROCEDURE PROC2RECS AS
BEGIN   
FOR rec IN (  SELECT some, information, FROM DB1 dblink to another db.
   LOOP    
        IF (condition etc...)       
        ELSIF (condition etc...)          
             -- UPDATE something
             -- SET something = someother thing;         
        ELSIF (condition etc...)
        END IF;      
   END LOOP;  
FOR rec2 IN (  SELECT some, information, FROM LocalDB
   LOOP    
        IF (condition etc...)       
        ELSIF (condition etc...)          
             -- UPDATE something
             -- SET something = someother thing;         
        ELSIF (condition etc...)
        END IF;      
   END LOOP;     
END PROC2RECS;Now these recordsets are coming from two different Oracle 8i databases is there a way to combine thes recordsets to get data from them?
In other words. Like do a
IF rec.id <>  rec2.id THEN
      output something;
END IF

You're limited in your options by still being on 8i. I'm not sure CAST() conversions against database types will work there, and the 10g set operations (which I've only gotten to work on simple one-element collections besides) won't work either.
One option is to load the data into tables (do global temporary tables exist in 8i?) and perform set operations on them.

Similar Messages

  • Best way to present compare/contrast in eLearning?

    Hi everyone,
    Back in my ILT days, I had a great activity involving comparing and contrasting similar items. The learners begin by brainstorming every conceivable way the two things are alike and the facilitator captures the ideas on paper. Once all of those are exhausted, I'd switch to having the learners brainstorm every way the things are different. It was a great method for reducing confusion between similar topics. Now I'm doing 100% WBT and I've got a project that has two very similar and often-confused sub-topics. That compare/contrast technique would be perfect for these sub-topics, but I'm at a loss as to how to allow learners to brainstorm input for an online course. I thought about the short answer quiz option but at the end of the day, I'd still need to provide "correct" answers and I simply want the learner to be able to enter anything and then move that answer to the appropriate "Compare"/"Contrast" bucket.
    Any ideas? I have Captivate 5.5 for PC and access to Flash.
    Krista

    We do a lot of the same type of activity in our ILT, especially for major system enhancements, to help move people through change management.
    Could you do a non-validated text box of "enter all the characteristics that are similar" let them type whatever they want, then give a caption that doesn't evaluate what they enter but only gives examples of the similarities "compare your responses to this list of similarities"?
    I only have basic knowledge of Flash (pretty good with basic tweens and such, AS is a bit beyond my grasp still) but could you create something in Flash that accepts their typed responses, stores them as variables, then uses those same variables as dynamic text objects for a drag/drop activity?  Or give them a bucket of characteristics and let them drag/drop to 'similar' and 'different' groups?

  • Need new laptop - compare/contrast 14" lenovos

    looking for a new laptop as expected from my previous thread. did a lot of research and instead of asking "what should i get?" and the answer always being "it depends", i decided to make a pro/con compare/contrast list.
    must for me is 1600x900, dedicated vid card, and under or around $1k are my 3 requirements. having an ultrabay for harddrive expansion also kinda a big plus. please append to list
    y410P
    PRO - cheapest, best for gaming, ultrabay? (couldn't find much)
    CON - biggest/heaviest, worst battery, ideapad so build quality probably worse
    t430(s)
    PRO - avg across the board
    CON - t440 specifics not announced yet could be better at same price
    t440
    PRO - obvious hardware upgrades, what else?
    CON - wait 2 months, no ultrabay, new weird technologies that may just be beta tested (such as dual batteries)
    t440p
    PRO - obvious hardware upgrades, ultrabay hopefully, what else?
    CON - wait 2 months, looks as big as the y410p
    t431s - out of price range
    t440s - out of price range

    T series wins on build quality. If you need now, a 430, otherwise waiting for the 440 probably worth it.
    T61p, T400
    formerly x23, x40

  • Compare date from recordset

    Hi.
    Im trying to compare a date from oracle to see if it's more than 24 hours old or not. If I get the date with
    rs.getDate(meta.getColumnName(4));
    My result is : 2007-05-23
    If i use
    rs.getString(meta.getColumnName(4));
    My result is: 2007-05-23 10:21:12.0
    How can i try
    if(rs.getDate(meta.getColumnName(4)) is lesser than 24 hours)
    You know what i meen :)
    Sincerly
    Rothsten

    Well here is a simple code snippet which might help you....
    long timedifference =  rs.getDate(column_name2).getTime() - rs.getDate(column_name1).getTime();
    // day = 24 hrs , 1hr = 3600 sec,1 sec = 1000 milli sec
    long millisec_per_day = 24*3600*1000;
    if( timedifference > millisec_per_day)
      System.out.println("More than a day");
    else if( timedifference < millisec_per_day)
      System.out.println("Less than a day");
    else if( timedifference == millisec_per_day)
      System.out.println("Exactly a day");
    NOTE: The following snippet may not be a perfect solution when it comes to implementation part (as many ppl do it with Calendar and others).
    Hope this might help :)
    REGARDS,
    RaHuL

  • Compare/contrast Statement Creation methods

    Can someone expound on the relative merits, pros/cons, where each is best suited for use (and why) of the following:
    createStatement()
    createCallableStatement()
    createPreparedStatement()

    This is a very basic JDBC question, and reminds me that I had argued with someone around 8 years back that it is all the same, but much to my annoyance , I was proven wrong hands down.
    I would suggest that you read the difference between these in Sun documentation, or a google search.
    I can indicate that the usage of one of these depends on what you want to do, the problem you are solving, if you are issuing a select query on the db or if you are performing a DML (update/insert/delete) on the db.
    Thanks
    Tapash

  • Compare creation of Datasources and JMS Queues : SAP vs (Weblogic/Websphere

    I am used to creating JDBC Datasources and JMS Queues on Weblogic/Websphere thru their Admin applications.
    Can someone compare/contrast that process to that on SAP's netweaver ( either using NWA or Visual Administrator).
    Thanks

    Hi Parag,
    For the process of creating JDBC datasources and JMS resources @ SAP NetWeaver you can refer to the documents here on SDN and help.sap.com, and compare that process for yourself, thus not being influenced by others' biased or unbiased opinions.
    For NetWeaver 04 and 04s these would be:
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/b0/6e62f30cbe9e44977c78dbdc7a6b27/frameset.htm">JDBC Connector Service</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/22/cf4e71c46cdb4da31153be96c5389f/frameset.htm">JMS Connector Service</a>
    For the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/javaee5">Java EE 5 Edition</a>:
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7bb9751d-0e01-0010-febd-c3adce2c408c">Working with Database Tables, DataSources and JMS Resources</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/806e75a0-0e01-0010-2587-fc518de8ac1a">Administration Guide</a> -> section "Application Resources Management" (pages 89-104)
    Hope that helps!
    Your feedback/findings are very welcome!
    -Vladimir

  • UNION ALL affect on recordset updateability

    Hi
    We have a legacy database that was hosted in SQL Server 2000 which is now hosted in SQL Server 2008 R2 in SQL 2000 compatibility mode.
    A legacy application accesses a table in the database via a stored procedure and creates a disconnected recordset. The SQL that is executed by the stored procedure is like this (much simplified) :
    select Id, colA, colB from MYTABLE where Id IN (1,2)
    UNION ALL
    select Id, colA, colB from MYTABLE where Id BETWEEN @a and @b
    When the database was hosted in SQL Server 2000 the recordset was updateable e.g. colA could be assigned a new value but when hosted in SQL Server 2008 R2 it is not; the program gets error 'Multiple step operation generated errors...'. These changes to the
    disconnected recordset are temporary and used to compare against another recordset at a later time to perform the appropriate insert/update/delete action.
    I've tried both SQLOLEDB.1 and SQLNCLI10 data providers.
    Is there a way I can continue to get the SQL 2000 behaviour so that I'm not forced to change the code (SQL and/or program) immediately?
    Thanks
    Craig

    Hello CNicho,
    Since this issue is related SQL Server and after confirming with SQL Server experts, I suggest that you could post it to:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/home?forum=transactsql
    This current forum you post to is used to discuss Data platform development using ADO.NET managed providers, especially System.Data.SqlClient, System.Data.Odbc and System.Data.Oledb.
    Regards.
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • V CAST Media Manager is the worst piece of crap software I've ever used...

    I mean, who wrote this thing?  Sorting is f*d up, uploading files is a freaking nightmare, so much scrolling around because you current view is not cached when you click to a different area...
    This thing is total junk.
    So I started using it yesterday.  Selected a bunch of albums that I wanted to upload to my online area.  Was logged in there and everything, so I think I'm cool.  Since there's no menu option to know for certain that I want to upload, I'm left to only the drag and drop option and hope that it is the correct action...
    I say hope because nothing is instantaneous.  It sits there and spins, no obvious visual activity (i.e. a progress bar showing how much has been loaded, how many files are left to load, estimated time to completion, etc.).
    Since I'm loading a bunch of albums, I figure it's going to take awhile and I just walk away from the computer.  This morning, though, most of my files are not there.  I find the transfer logs only to find the obvious messages of "Failed to load file xxx".  Yeah, that helps me diagnose whether it is my problem or verizon's problem...
    So of the ones that loaded (like 9 songs out of 90), I see they're mostly from one album.  Well, now I have to pick the songs that didn't transfer in order to get them put up.  Album has a total of 12 songs...  So I can't remember the 9, so I start playing w/ the sorting in order to help me remember...  Well sort from the full music list is only ever on one column, and appears to randomize after that (i.e. I picked sort local media by album, but the songs are not ordered in any specific way after that); Tried clicking on song title, then album hoping that after the primary album sort the tracks would sort by title, but no...  Meanwhile I finally get to the point where I'm just looking at the album itself by folding down the list on the left.  What a mistake.  The list is of album names, of which I've got hundreds.  Now I'm scrolling down to find the online guy to click it to see what songs are there, then scrolling to find the album (which happens to be up near the top).  By the time I get there I'm so **bleep** off about the crappy interface that I'm back to scrolling again...
    The only thing the application is: flashy.  Sure, there's lots of red black and white.  After that it's worthless...
    I mean, what's wrong with the multiple document format?  One window for local, one window for online, etc.  I mean, that way I could compare/contrast the two...  Or even a side by side view w/ the arrow buttons in between so the transfer option is obvious.  And the sorting?  Surely the primary and secondary sorting identification is nothing new (in case you don't know it, when the user picks a new column to sort on, their current column and sorting direction become the secondary sort option).
    Anyways, I think I'm going to have to dump the whole online option.  If this tool is the only thing I can use to sync music w/o plugging in, then I'll just plug in and use windows media player.  At least that tool works...

    TOTAL AGREEMENT. Except calling this *** software "crap" is being far too polite.This is an HTC Incredible attempting to connect to WIndows 7 64-bit.
    All I want to do is transfer audio files to my phone. I don't care about storing anything on line.
    1. Since the phone wouldn't simply mount in Windows Explorer the way my Droid does, I am forced to install software I do not want.
    2. After installing the Vcrap software, the phone mounts in Windows Explorer as CDROM J: which cannot be opened. When I launch Vcrap the phone appears within Vcrap as Phone K: and phone L:.
    3. When I attempt transferring files to phone K: (since there is no option to transfer the files to the drive letter J: that the phone is apparently using) the transfers fail.
    4. In an attempt to test the phone when I attempt transferring any media files from the phone, the transfers fail.
    5. When I navigate within the Vcrap application to "How to connect to your phone" a blank screen appears. So far, the blank screen is the most honest part of the Vcrap software. It really doesn't have a clue.
    At this point I am faced with calling tech support, no doubt waiting on hold along with other poor suckers stuck with this issue and then being connected to someone in India who speaks poor english - yet another communication problem. Why is it that companies that present themselves as being communication specialists SEVERELY SUCK at communication?
    Let's face it: Verizon feels that sticking you with an $80 a month bill isn't ripping you off enough. Now they want to get you to purchase media from them. I've already got 30 gigs of my favorite music on my hard drive that I'd like to listen to from my phone. I don't want to buy any new music. it's pretty much crap (just like this software) anyway.
    The reason I did NOT want an iPhone is solely because of iTunes, another *** software application (although it works) that takes over your PC's media collection and forces you to do things you don't want to do.
    The Motorola Driod I have works perfectly: it mounts when connected; I drag and drop my media files and the media player of my choice recognizes the files and plays them. Brilliant. Too bad Verizon's greed is keeping me from a smooth user experience such as that. This lousy experience will influence my future decisions in phone carriers and the type of phone I purchase. I cannot BELIEVE that this is what Google had in mind with they launched the Android OS for phones.

  • Isolating problems with MPEG2 VBR "best"

    There have long been discussions here around problems with the quality of MPEG2 compression with Compressor v2.x, usually difficult to quantify or "solved" with "It doesn't work, use something else" such as a different product, Compressor v1 or a Quicktime MPEG2 export component. Maybe I'm an optimist, but I have to believe that someone who owns the code behind the Compressor product really does care to improve the quality of the compression, and is just waiting for a decent test case to figure-out what everyone is complaining about.
    That in mind, I would like to propose that the most visible problems I've seen can be isolated to something to do with what is done when switching from "VBR" compression to "VBR best" compression, either in 1-pass or 2-pass mode. I would be curious if others who have had similar quality complaints could also check if they are using "VBR best" compression, such as the various default presets for "DVD: MPEG2 best quality..." which use "2-pass VBR best". In short, it seems as though one can get rid of the most serious artifacting problems by taking a "best quality" preset and changing the quality from "2-pass VBR best" to simply "2-pass VBR" (and similarly for 1-pass).
    My own example: I've taken a short clip (less than 30 seconds) from the start of a recent home movie and published it along with some results on my iDisk's Public folder (Finder > Go > iDisk...): member name "dickermn" [sic], with no password. There you will find the folder CompressorTest, containing...
    -> 2006winter - a self-contained QT movie with the DV source material.
    -> dualG4 - a folder with the results of Compressor's MPEG2 compression with various settings, as run on a dual-1GHz G4 system.
    -> coreDuo - a folder with the results of the same settings as above, but with Compressor run from a coreDuo mini.
    -> *.png - two pairs of window-capture shots showing the same frames as compressed with "VBR" and "VBR best" settings.
    Background: after having various odd and intermittent problems with MPEG2 compression results, I've used the recent upgrades to start with a clean slate: on the G4 system I ran Software Update, then removed all the components of DVD Studio Pro 4, Compressor and Qmaster, along with all preferences, application support files, frameworks, receipts, etc, as recommended in these web pages to remove these programs, then did a full install of my unversal upgrade to Final Cut Studio, and re-ran Software Update. This got me up to the current ProApps updates and Compressor v2.3.
    Using only Compressor's default presets, selecting "DVD: Best Quality 150 minutes - 4:3" (2-pass VBR best, 3.7Mbps average rate), gives results with very visible artifacting. Using this same preset but changing the quality to "2-pass VBR" appears to clear up the most visible problems. Similarly, selecting "DVD: Fastest Encode 150 minutes - 4:3" (1-pass VBR) gives good results, but changing the preset's quality to "1-pass VBR best") produces visible artifacting.
    For the purposes of testing, I also installed just Compressor on my coreDuo mini - a clean install - then ran Software Update to bring this to Compressor v2.3. Running the same tests as above on the Intel-based machine produced similar artifacting problems when selecting "best quality", but in different places in the media than on the G4. Using the same quality settings as above, but moving the average bitrate down to 3.0Mbps has similar behavior, but the artifacts are just more pronounced, and using a default preset with higher bitrate (5Mbps average, not included here) the artifacts are still quite visible, but less pronounced. From the 3Mbps results on the G4, the still frames captured show good examples of the problems at hand, though the artifacts are much more visible with the video in motion. These are the examples described below.
    The clip shows some still titles against a still, horizontal-blurred background. At the end of the titles, the blurred background "un-blurs" and the motion starts: a horizontal pan, a wipe transition, and a downward pan. The subject is all falling snow, trees, our back deck, my son and me. The footage was taken with a consumer-grade Sony handheld camcorder.
    The problems first noticable in the video appear as a blockiness to the images, particularly notable against the floor of snow where the image shifts visibly to different intensities of gray/white as the camera moves. More severe are blocks which don't move correctly with the camera, at first visible as a jerkiness to the opening background as it un-blurs, but more pronounced in the trees and decking during the downward pan at the end.
    At about 14s is a good still of the blocking artifacts, seen here in the 1-pass VBR still frame. Note the large blocks in the snow in the "best" encoding, which are small enough to be lost in the noise for the "not-best" encoding. These shimmer between the different shades of gray as the camera moves.
    At the last half of the clip, as the camera pans down, parts of the trees appear to jump independently of their branches. This is very clearly visible around the straight-lines of the railing in the lower part of the frame as the clip ends. The still is from about 23s into the clip, and you can see a block of the railing in the lower right which has clearly jumped-above the rest of the railing. Interestingly enough, this is the correct placement for those pixels in the next frame (as the camera continues to pan downward). In each of these "jumpy" cases, it would appear as though blocks of pixels show-up one frame early, and their surrounding blocks catch-up in the next frame (while these hold still). Again, when using the same settings without "best" quality, the jumping does not occur.
    Note that with each pair of still (png) images you can group-select the pair and double-click to open them both in Preview, which allows you to toggle back-and-forth easily between the "best" and "not-best" versions. Comparing the two, you can easily spot several blocks in the frame which shift relative to their surroundings.
    While I am aware that MPEG2 at low bitrates is a complicated thing (though I will leave open for debate how low 3-4Mbps is in today's world), and consumer-grade video has lots of noise which the encoder has to dance-around, I do believe it is fair to assume that the "best" settings should give visibly better results than their faster "non-best" counterparts, all else being equal - at the very least, the results should not be visibly worse. It is worth noting that the "best" VBR settings do appear (subjectively) to give better contrast or color-depth, so clearly something right is going-on - I just have to believe that there is something going awry in the whole process which creates artifacts negating the other benefits, but which, with any luck, could easily be fixed.
    Please post with your comments, experiences or similar issues... or exactly what is the proper way to get this information to someone who could fix it?
    dual 1GHz G4 + coreDuo mini   Mac OS X (10.4.8)   Compressor v2.3 / Final Cut Studio (univseral)

    Well, I've found one more piece to this puzzle: hardware graphics accelerators.
    In short, I tried this same test running Compressor on my G4 PowerBook (with Radion Mobility 9700) and got better results. The terrible blockiness and pixelation problems seem - dare I say it - gone from the MPEG2 video. In this regard, the video compressed as both the default "2-pass VBR best" and the same preset adjusted to use "1-pass VBR best" both looked cleaner than any of the VBR "not best" encodings produced on this machine, or either of the others.
    Unfortunately, we're not completely out of the woods: the problems evidenced later in the clip - blocks which appear displaced in space/time for one frame - are still there, though they have moved to different locations in the frame.
    This gets me to thinking: my PowerBook is just barely past current muster in terms of hardware-accelerated graphics (enough to run Motion, for example), whereas my other two machines are not (NVidia GForce4Ti & mini's Intel graphics). So this starts to get to the root of "If these presets don't work, why does Apple label them best - or distribute them at all?" I'm going to hazard a guess that there are various pieces to the codecs which can take either a software-only path or a hardware-accelerated path, and the bugs seen here exist only in the software (non-accelerated) path. Anyone testing on the latest top-notch hardware with a fancy-shmancy graphics card wouldn't go down that path and see any problems. And the problems are subtle enough that they'd even slip by the occasional testing of the slower path.
    So now I'm out to find a more-current-than-my-PB graphics card to run the test, to see if I can get rid of the other problem. Updating to Compressor v2.3 got rid of most of the problems, and if buying new hardware is all it takes to fix MPEG2 compression, I might just spring for it - and hey, I'd get to run Motion, too.
    So anyone out there with a whiz-bang graphics card care to run these tests and compare/contrast with what I've got here? I might know someone with a new MacBookPro, which I hear has a pretty current graphics chip in it...

  • Multiple Keynotes play at once???

    Here is the situation. I support an art department. One of the profs wants to be able to play two keynotes at the same time on one computer through two projections systems at the same time. He wants to do compare/contrast of two images. Putting both images in one slide in one Keynote is not satisfactory for him because the images are not projected large enough. Is what he wants possible? In essence I would have three displays for the Mac as an extended desktop. What do I need to extend the desktop to three monitors total. (the projectors we have are VGA connectors) Will it take a second video card? Is there a video switch box that will do it?

    Here's another possibility: You could purchase a VGA splitter such as the Matrox Dualhead2Go http://www.matrox.com/graphics/en/gxm/products/dh2go/digital/home.php
    Double the width of your Keynote presentation. (eg. if your current presentation is 800x600, customize it to 1600x600. Then you could put the images side by side on the same Keynote slide, but each would appear on its own projector.
    Not a perfect solution, but it might help.

  • Document links repositioned after OCR is performed. Is there a workaround or solution?

    We use Adobe Acrobat Pro 10. We receive files that have imbedded links which link various parts of the PDF file to each other. It is necessary to complete OCR on this file for future search purposes. However, we have found that performing OCR causes the links to lose their position within the document. The link stll exists, just not in the same position it held prior to peforming the OCR function. Is there a solution for this issue?

    Did some trials. A common multi-page PDF containing a scanned document. No OCR. Added a link annotation over the image of a text string; made the annotation's boundary visible.
    OCR via Searchable Image (Exact) - observed no change in "position" of the link.
    OCR via Searchable Image - observed a "positional shift". Actually, expected this.
    Searchable Image not only provides the OCR output it also tweaks the image (deskew, etc.).
    Searchable Image (Exact) only provides an OCR output. The image is left "exact" as-is.
    So, identify which of the three OCR processes is used (#3 is ClearScan).
    You might want to do trials on a common PDF using each and then compare/contrast.
    Be well...

  • Comparisons of Packages vs Object Types

    Hi all,
    I wonder if anyone can point me towards any articles or documentation that compares/contrasts the advantages and disadvantages of Packages against Object Types?
    For example, I like the ability to have private variables and procedures within Packages but don't know how I achieve the same thing with Object Types so a comparison of the two styles would be very useful.
    Thanks all,
    Leo

    Hmmm. As far as I can tell, these are 2 different animals. The way I look at it
    - A package is a grouping of one or more variables, procedures and functions. It is a PL/SQL construct.
    - An object type is a type definition that may be used to declare SQL and PL/SQL constructs.
    I would refer you to the docs at http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14260/toc.htm (under the 10gR2 doc set at http://tahiti.oracle.com, "Application Development" tab) for a good source of information related to your question.

  • Correct way to handle updates of XMLtype columns in standard tables.

    Hello to whoever may read this,
    I am currently studying the XML functionality of oracle DB for a uni project.
    We have been asked to compare/contrast solutions to publishing product and price data for data stored in standard relational tables, and data stored in XML type tables. For extra marks, i am looking at a table containing an XMLType column for multiple items of data relating to the primarykey.
    I have managed to get my head around publishing the data - pretty straight forward, but we have also been asked to show how we can update data, which isn't a problem within the standard tables/columns, but when it comes to the XMLType columns/tables, i dont have a clue.
    At the moment i am working on trying to update an XMLtype column. The table itself is a "product" table, and contains product information, as well as an XMLType column containing multiple changes to the prices. In the relational tables, this "product" table has a one-to-many link to another table called price_history which contains details about past prices (which is populated by a trigger on update/insert of a new price). But in this table all the product changes are stored in XML format in the XML type column "prices".
    Table columns: id number(4), name varchar2(25), prices xmltype;
    example data: 1781, CDW 20/48/E, <product_prices><price_change>
    <change_id>1</change_id>
    <date_changed>2009-10-13</date_changed>
    <details>price increased</details>
    <new_value>234</new_value>
    </price_change>
    <price_change>
    <change_id>2</change_id>
    <date_changed>2009-10-13</date_changed>
    <details>price increased</details>
    <new_value>235</new_value>
    </price_change></product_prices>
    We need to give examples of an update. I have been looking around the net, and these forums for a solution now for about 4 hours. My own thoughts are that to update this with a new price change i need to, SELECT the current data INTO a variable, then concatenate that variable with the new price change info e.g.
    <price_change>
    <change_id>3</change_id>
    <date_changed>2009-10-13</date_changed>
    <details>price decreased</details>
    <new_value>230</new_value>
    </price_change>
    then insert that whole chunk of data again to overwrite the old data.
    Now im fairly certain there is some function somewhere which will allow me to do this update/insert operation without going through this process... After i am done with this update of XMLType column data, i need to tackle updating data in an XMLType Table with XQuery(? apparently), so if you have any pointers for that please let me know.
    Could one of you experts point me in the right direction for this? Any advice at this stage is a great help and will stop me losing my mind.
    p.s. im sorry about the lengthy description of the problem/solution required. How to describle something i dont understand? I ask myself.

    Hi,
    You really need to take a look at the XMLDB Developers guide.
    For updating XML with SQL/XML see UPDATEXML and for XQuery see [Using XQuery with Oracle XMLDB|http://download.oracle.com/docs/cd/B19306_01/appdev.102/b14259/xdb_xquery.htm#sthref1673]
    HTH,
    Chris

  • Where do my scans go?

    I am scdanning slides with a HP Scanjet G4050 scanner to a HP desktop using Windows 8.  I have it set up to scan to file.  With my preferences set to save as a tiff file, only the first slide of 16 slide scans appear in the designated file folder.   I talked to commercial tech support at HP today and he discovered that if I save as a  jpg file all 16 slides appear in the file folder.  However, when scanning to a tiff file, and I go into the folder that contains the one slide whhich is saved and open it with a photo viewer, then all 16 slides are there and viewable.  The tech support guy could not tell me where these files are stored so that I can get to them and categorize them when I am finished scanning all of my slides.   I hope this all makes sense and hope that someone has an answer.
    This question was solved.
    View Solution.

    TIFF being better than JPEG is a matter of opinion and is dependent on your archiving, editing, and/or printing needs. You might want to read some compare/contrast articles (example here) before you complete a whole bunch of TIFF scanning, just to make sure it's the best format for your purposes.
    There are free TIFF image splitter programs you can download. See this discussion from the website SuperUser.
    Please click the thumbs up button to say "Thanks!"
    Clicking "Accept as Solution" on a reply that solves your problem makes it easier for other people to find solutions.
    I am an HP employee.

  • Oracle11.2g on Vista 32bit VERSUS WIndows 7 64bit SLOWER!

    I am an APEX developer and program daily on my laptop. I previously ran my APEX application(4.0.2) using the EPG HTTP server with Oracle 11.2g on a laptop with Vista 32 bit with 4gig of RAM. Performance was acceptable though a bit little slow at times.
    I've just installed a complete fresh install of Oracle 11.2g with Apex 4.0.2 (to remain compatible with prod server) on my NEW Windows 7 (64 bit) laptop(i7 dual core processer with 8 gig RAM and SSD drive).
    The issue is that my APEX application runs much SLOWER under Windows 7 (64 bit) and a high performance laptop than it did on VISTA 32 bit! I'm trying to troubleshoot this as being a performance problem with either one or all of the following:
    1. Windows 7 OS
    2. Oracle 11.2g
    3. APEX
    4. IE 64bit browser 9
    Does anyone have any performance tips for 1,2,3 or 4 or come accross a similar situation?
    I've configured the 11.2g DB with the following parameters:
    sga_max_size: 3G
    shared_pool_size: 1G
    java_pool: 64MB
    large_pool_size: 64MB
    pga_aggregate_target: 1G
    sort_area_size: 64M
    Processes: 400
    open_cursors:300
    thanks in advance,
    regards
    PaulP

    PaulP wrote:
    I am an APEX developer and program daily on my laptop. I previously ran my APEX application(4.0.2) using the EPG HTTP server with Oracle 11.2g on a laptop with Vista 32 bit with 4gig of RAM. Performance was acceptable though a bit little slow at times.
    I've just installed a complete fresh install of Oracle 11.2g with Apex 4.0.2 (to remain compatible with prod server) on my NEW Windows 7 (64 bit) laptop(i7 dual core processer with 8 gig RAM and SSD drive).
    The issue is that my APEX application runs much SLOWER under Windows 7 (64 bit) and a high performance laptop than it did on VISTA 32 bit! I'm trying to troubleshoot this as being a performance problem with either one or all of the following:
    1. Windows 7 OS
    2. Oracle 11.2g
    3. APEX
    4. IE 64bit browser 9
    Does anyone have any performance tips for 1,2,3 or 4 or come accross a similar situation?
    I've configured the 11.2g DB with the following parameters:
    sga_max_size: 3G
    shared_pool_size: 1G
    java_pool: 64MB
    large_pool_size: 64MB
    pga_aggregate_target: 1G
    sort_area_size: 64M
    Processes: 400
    open_cursors:300
    thanks in advance,
    regards
    PaulPIt can be very challenging to troubleshoot a performance issue across a 3-tier application.
    You need to establish a benchmark for each layer & then compare & contrast the two systems.

Maybe you are looking for