Best way to run about 200,000 update statements?

Just throw them all in SSMS all at once? That doesn't seem like the best way especially since something may fail part way through. What would you suggest? Do it in code?

Some samples:
update XC01_CLME_MEMBER set CLME_LAST_NAME='BRAINARD' where RUN_DATE_KEY=287 and CLMS_CLCL_KEY=483584 and CLME_LAST_NAME = 'OFTEDAHL'
update XC01_CLME_MEMBER set CLME_LAST_NAME='BRAINARD' where RUN_DATE_KEY=297 and CLMS_CLCL_KEY=796073 and CLME_LAST_NAME = 'OFTEDAHL'
update XC01_CLME_MEMBER set CLME_LAST_NAME='BRAINARD' where RUN_DATE_KEY=297 and CLMS_CLCL_KEY=796074 and CLME_LAST_NAME = 'OFTEDAHL'
update XC01_CLCL_CLAIM set MEME_CK=6652504 where RUN_DATE_KEY=461 and CLMS_CLCL_KEY=1645516 and MEME_CK = 6652503
update XC01_CLCL_CLAIM set MEME_CK=6652504 where RUN_DATE_KEY=461 and CLMS_CLCL_KEY=1645517 and MEME_CK = 6652503
update XC01_CLCL_CLAIM set MEME_CK=6652504 where RUN_DATE_KEY=461 and CLMS_CLCL_KEY=1645518 and MEME_CK = 6652503
update XC01_CLCL_CLAIM set MEME_CK=6652502 where RUN_DATE_KEY=921 and CLMS_CLCL_KEY=2413143 and MEME_CK = 6652503
update XC01_CLCL_CLAIM set MEME_CK=3334351 where RUN_DATE_KEY=297 and CLMS_CLCL_KEY=819206 and MEME_CK = 3334352

Similar Messages

  • I have 21,000  photos stored in iphoto. I have a WD 1.5TB backup external hard drive.  What is the best way to erase about half of my photos on my internal hard drive?

    I have 21,000  photos stored in iphoto. I have a WD 1.5TB backup external hard drive.  What is the best way to erase about half of my photos on my internal hard drive?

    Here's one way to do what you want:
    Make sure the drive is formatted Mac OS Extended (Journaled)
    1. Quit iPhoto
    2. Copy the iPhoto Library from your Pictures Folder to the External Disk.
    Now you have two full versions of the Library.
    3. On the Internal library, trash the Events you don't want there
    Now you have a full copy of the Library on the External and a smaller subset on the Internal
    Some Notes:
    As a general rule: when deleting photos do them in batches of about 100 at a time. iPhoto can baulk at trashing large numbers at one go.
    You can choose which Library to open: Hold down the option (or alt) key key and launch iPhoto. From the resulting menu select 'Choose Library'
    You can keep the Library on the external updated with new imports using iPhoto Library Manager

  • What is the best way to run .exe files on my mac?

    What is the best way to run .exe files on my mac? I need to run some updates for my john deere gps and the downloads i get can only be run on windows.

    There are several options for running Windows software (*.exe files) on a Mac, depending what your program is, how often you use it, and your personal preferences.
    One way that does not require Windows is an open source effort called WINE.  Check out winehq.org.  You may find that that's all you need for your programs.  There is also a commercial effort that has grown from WINE, and you will find info about it on the site mentioned.  These DO NOT require that you have and install Windows.
    If you want to run sessions devoted only to Windows software, and want programs to run as fast as they do on a PC, the Apple's Bootcamp program is useful.  With it you dedicate a partition on your hard disk to windows, and on startup choose to either boot into OS X or Windows.  Each runs without any connection to the other.  This requires you have a copy of the Windows software as well as the applications you want to run. 
    If you want to be able to easily exchange data between your Windows and Mac programs, and skip back and forth between the two, there are several emulators available that run on Mac OS X and create a Windows environment where many Windows programs can operate along side Mac programs.  Parallels and VMwear are two comercial packages available for purchase and Virtual Box is an open source effort available for free.  Google will find all three for you.
    My only experience is with Virtual Box.  It is slow and a bit clunky, but it is free and meets my needs for the very few "just got to have" windows programs I sometimes use.
    Google is your friend on this and can provide a lot more, and better, information than I can.
    Best of luck,
    Ray

  • What is the best way to run windows on my mac?

    What is the best way to run windows on my mac?
    I have a particular program that i need to run, and it only runs on windows. I have a macbook pro

    As Templeton noted, it depends and will at least be somewhat subjective. 
    There are basically three options out there.  You can use a Windows emulator (Wine or the commercial version of it, Crossover Office), use Boot Camp to "dual boot" or use virtualization software (Parallels, VMWare Fusion, or VirtualBox).  Each has its advantages or disadvantages.
    The Windows emulators have the advantage of being the one option that doesn't need the purchase of a copy of Windows.  Unlike Boot Camp, but like the virtualization options, this allows you to run Windows programs and OSX programs side by side.  The big problem, though, is that it is the least compatible option--a lot of Windows software either has "issues" or will not function at all.  The Crossover website has information on which programs are known to work and how well they are known to work. 
    Boot Camp is the option that Apple ships OSX with.  You'll need a copy of Windows to install into the partition.  You'll effectively divide your disk into two parts and have two machines.  The major advantages are, first, you don't need to acquire separate software *AND* the Windows license.  As well, it's the highest performance Windows system.  What you have is truly a Windows machine.  That's both the good and the bad--you aren't going to be able to use OSX software at the same time, and you have to reboot to get back to OSX.  I've always thought it was best for someone who likes the Apple hardware and wants to use it for a Windows box--in that case Boot Camp is clearly a great solution.
    Finally there's virtualization which seems to be the most popular way to handle Windows, especially if you need to run one vertical market package.  It has the advantage of allowing you to use your OSX software at the same time, and the virtualization gives an extremely high level of compatibility.  About the only thing that won't run is a virtualization package (and there's not a lot of reason to run that in a Windows VM).  There is a performance hit compared to Boot Camp, but it's minimal for all but the most demanding applications (that being high end games). 
    It will chew up RAM on the OSX machine, but if you have at least 4 GB of RAM it will probably be manageable, especially if you only need to run one Windows program.
    You will need both a virtualization program (there are three major ones) and purchase Windows.  Two of three programs are commercial packages (Parallels and VMWare Fusion), while the other is an open source option (VirtualBox).  Virtual Box has the advantage of being free, but it's by far the least polished of the group.
    Which way is best?  As was noted, it depends.  I run VMWare Fusion on my machines, and I have used CrossOver Office for limited purposes.  I've not yet seen, in my use pattern, a reason to go to Boot Camp but I certainly can see cases where it might make sense.

  • Best way to run open source/GNU programs on Mac

    Hi folks,
    I'm kind of new to Macs, coming from the linux/unix world.   I'm working on reinstalling the OS on my macbook (after finding out the hard way that it itsn't prudent to use a case-sensitive file system on a Mac), and thought this would be a good time to ask if anyone has an opinion on the best way to run linux-y programs on a Mac.   For instance, I find myself wanting to use "zim" and keep it synchronized with my linux computers, but I can't get it to install on my mac.   I can see a few options:
    1) run linux in a virtual machine, but this is a problem since I only have 4 GB of memory.
    2) use mac ports, but most of the ports I tried in the past didn't work, and my questions to the community were ignored (I tried to be friendly, but perhaps I came across wrong...?)
    3) use fink, but I gather it is out of date and not really used any more.
    So, I'm curious what other people use if they want to use open source programs?   Ideally I wouldn't have to compile each program myself, but maybe that is the best option?
    Thanks.

    I think Fink has install binaries (and if it has a ZIM port that works for you, what do you care if Fink is a bit out-of-date as a package manager?).
    From my observations of MacPorts.com, it compiles the ported package on your system (so you need to have XCode (free from Mac App Store) installed on your system.  If MacPorts has a binary option, I have not dug deep enough to find it (as I mostly use the minimum to get something I want installed).
    The other option is to download the Open Source package and build it yourself.  There are some that think this is the ONLY way to go about it (me I'm lazy and only do that for Vim which I desire specific options not always included in canned Vim packages).
    If you want OpenZIM on your Mac and you only use it once in a while, then a virtual machine might be the way to go.  However, if your use of OpenZIM is extensive, then a virtual machine can be a bit heavy weight, adn for that you might want to either find a working port or build it yourself.
    Whatever you do, DO NOT replace a standard Mac OS X installed Unix side program with your own.  Put your stuff in /usr/local/bin, or a personal local tree (Fink uses /sw/... and MacPorts uses /opt/local/...), then modify PATH in your shell initialization file.  Replacing standard Mac OS X Unix programs may break Mac OS X maintenance scripts, GUI programs that get an assist from a Unix command, etc...
    NOTE:  Chances are you Mac can go up to at least 8GB of RAM, and if you look at Crucial.com you might find it will not cost you much at all (for example, the MacBook Pro I just got was upgraded from 4GB to 8GB for only $43).  With 8GB of RAM you will not notice that you have a virtual machine locking down 2GB.  Also I'm not telling you to spend money, just pointing out possible options should you find your need for OpenZIM demands the use of a virtual machine.
    With respect to a case sensitive file syste, if you need one, then create a partition (or perhaps a disk image (.dmg) via Applications -> Utilities -> Disk Utility) for that purpose (an external disk is also an option).  But as you have discovered Mac OS X and many of its GUI applications have assumptions based on a case-insensitive file system.

  • We have always used one iTunes account and I want to crate a new account for my daughter.  What is the best way to go about this and will she need to download free apps again?

    We have always used one iTunes account and I want to crate a new account for my daughter.  What is the best way to go about this and will she need to download free apps again?

    Not going to happen the way you want it to.
    When you add a gift card balance to the Apple ID, it's available for the Apple ID.
    Probably best to create unique Apple ID's for each... this will also make things easier in the future as purchases are eternally tied to the Apple ID they were purchased with.

  • What is the best way to run Sage on a MacBook Pro?

    What is the best way to run Sage on a MacBook Pro?  I am a first time Apple user.

    There's a lot of Sage out thete so fill us in with information. If it runs on Windows then you'll need to create a partition on your mbp using boot camp and install Windows. So what is Sage for you?

  • Hi I would like to totally reformat my Macbook Pro. What is the best way to go about it?

    I have a Macbook Pro and would like to do a complete reformat. I installed Moutain Lion when it came out and do not wish to pay again since I've already paid. I have OS 10.6.4 discs with me which didnt come with my MB but with my previous one. What is the best way to go about it? I have bootcamp and wish to get rid of it (one of the many reasons of wanting to reformat)
    Thanks

    You can use the Boot Camp Assistant to remove the Bootcamp Partition  - best way to do it.
    If you use the Recovery Disk Assistant to create a recovery usb thumbdrive you can boot to that and repartition the MacHd and reinstall the OS directly.
    When you purchase the OS you are free to reinstall without repurchasing as long as yo have access tot he Apple Id you used to make the purchase
    DL1433 - & - HT4848

  • What is the best way to run windows on my Mac? And What are the pitfalls I should watch for?

    What is the best way to run windows on my Mac?   What are the pitfalls/

    If you need Windows as your main operating system you would be better off buying a Real Windows PC.
    Running windows on a Mac is always a compromise. Whether in a Boot Camp partition or in a Virtual Machine.
    In boot camp you can't easily Re-Partition and or Re-Size the drive it is installed on. You can't use both graphics cards as Apple has limited Windows to use the discrete graphics only, that is if your mac has 2 graphics cards (15" MBPs), which will shorten the battery run time in Windows.
    The trackpad only has limited functions in Windows, less then is available on the Mac side and a real Windows PC.

  • HT5621 My husband and I both have iPhone 5. We currently share the same apple I'd. How do we get separate ones. Him keeping his and me getting a new one? What is the best way to go about doing this?

    My husband and I both have iPhone 5. We currently share the same apple I'd. How do we get separate ones. Him keeping his and me getting a new one? What is the best way to go about doing this?

    FAQ apple id http://support.apple.com/kb/HT5622?viewlocale=en_US

  • What is the best way to go about getting a wireless connection on the go?

    Im new to the aple product. I just recently bought a New Macbook Pro and wanted to know what is the best way to go about connecting to the internet while not at home and on the go. I was thinking of maybe a USB internet stick. But dont know who provides them and who would be the best choose to go with for a nice price every month. If that was the best choose in the first place. Im living in the U.S.A so if you could help ill really apprecaite it. THANKS

    Hi! I'm writing in beginning of October so I don't know if you've found a solution.
    Your MacBook Pro probably has a WiFi card built in. You don't need to have a USB connector.
    Turn on AirPort, go to Network and choose the network that is available to you. It might ask for a password, so get it from the cashier. My MBP connects wherever I go, as long as there is a network available.
    Good luck.
    RS

  • Should the admin/user folder and all of its sub folders be moved to the hdd or just parts of it? (eg. picture, movies, documents)  What is the best way to go about doing this.  Also should a 2t hdd be partitioned.

    iMac with 256ssd and 2t hdd. Should the admin/user folder and all of its sub folders be moved to the hdd or just parts of it? (eg. picture, movies, documents)  What is the best way to go about doing this.  Also should a 2t hdd be partitioned.

    Yes, you can move your user directories to the HD and keep your OSX and Applications on the SSD drive.
    Whether you partition your HD or not depends on how much data you have and how you propose to use your HD.
    Are you planning to use your iMac as a Time Machine backup volume? If so, partition it off.
    Do you have huge data files, eg video, music, photos?
    How much of your 2tb drive will be "free" once it is loaded with all your data?
    A little more information is required before the optimal configuration can be recommended for your use.

  • What's the best way to run Logic Pro from external hard drive.

    What's the best way to run logic from external hard drive

    Hi
    Organism wrote:
    Logic is designed to run from your Applications folder. I suspect if Logic was moved to an external drive, it might not be able to locate its assets, like loops and libraries.
    As long the necessary files are in the correct places on the boot disc, you can run the Logic application itself fom wherever you like. It would not be recommended however, and there would be very little benefit (if any) in doing so.
    CCT

  • Why is Firefox is running at 200,000+ KB on Windows 7/Windows XP?

    My last machine was a Dell with 2 GB of ram, Pentium M processor, and Windows XP SP3. After working with an Intel dual-core, 4 GB ram, 250 GB hard drive, 2010 MSI notebook laptop with Windows 7 professional and limited programs running on it, my machine seemed quite slow while using Firefox. I've discovered that (thru Task Manager) Firefox constantly runs at 200,000+ kilobytes at all times. My performance jumps up and forces my machine to freeze. Then, Firefox freezes... then crashes. Most of the time, I only have 3 tabs open. It takes at least 60 seconds to open up Google.com using Firefox 4, 3.5, etc. (this is while connected via Ethernet through a cable line). For this, I cannot run Firefox anymore on my computer. It slows my machine down miserably, as it slows down my work computer, and my boyfriends super dual-quad core machine also shows it running at the same 200 MB. Will this ever be fixed? I love Firefox, as I am a website designer. Working with Google Chrome seems to be my only option at this point.

    Hello Dawyne.
    Hopefully this support article is what you need:
    http://support.mozilla.com/en-US/kb/Firefox+hangs

  • HT1430 If Lock/Sleep buttom is unresponsive what is the best way to go about trying to reset iPhone 4

    If Lock/Sleep buttom is unresponsive what is the best way to go about trying to reset iPhone 4

    You could go to settings/general/accessibility/assistive touch and get most of the functions of the sleep /wakebutton but you will not be able to reset that way.

Maybe you are looking for

  • Getting a extra space between the line in the PDF output

    I an having the rtf templete contains a table . That table contains 3 row and for the second row i have a for loop start at 1st column and end's at last column . first and 3rd row are the simple data donot have any for loop . So in the PDF out put of

  • RH8 for Word gives "not responding" message when I try to add a hotspot

    Good afternoon.  I have been trying to add a hotspot or jump to RoboHelp 8 Word with no luck.  My computer keeps freezing and in a few minutes I will see that Word is "Not Reponding" on the blue bar at the top of the screen.  Any ideas?  Thanks.

  • User Library per Project(2010)

    I've been playing around with custom user libraries and have created my own folders for certain customizations. I'm now comfortable with the "library-customize" autoload function of the environment, but I think it's created a new problem. The customi

  • How do I get movies that I already bought on one computer with itunes to my new one ?

    On my macbook I had an account that was hooked up to itunes, but now i cannot log into that account at all on the mac, leaving me no choice but to deelte the account. but before I do that, i am just trying to get all my itunes stuff into a new itunes

  • Iphone 4 and iphoto upgraded to latest - now acting strange

    i just updated my iphone 4 and the latest iphoto software - and now it's acting strange: when i've taken new photos on the iphone and plug it in to the imac, to load the pics into iphoto, it shows the latest photos as well as some random photos from