How to sync from a external datasource on a timed interval ?

Every 30 minutes, I want to pull data from an external data source.
I want to avoid letting the user see partial data.
The only thing I can think of is to truncate / load table A. Then do a t-sql 'merge to Table B' <-- table B is permanent data that can be accessed by users.
Is there a different approach  where I don't truncate Table A?
Thanks, Peter

I want to avoid letting the user see partial data.
That statement can mean many things.  In addition, you only refer to a single table - and it is unusual for a database to consist of a single table so there may be aspects of your system are not obvious to the outsider.  Ignoring that, the answer
to your question relies on a better understanding of "external data source" and what capabilities it supports.  Obviously you don't WANT to duplicate data if you do not need to - so have you considered referencing this data directly without importing
it? 
SSIS is the general tool for importing and exporting - so that is an option.  Is there any particular reason behind the current implementation choice?  If you need to do any significant validation or error checking or error logging, you will
find that the capabilities of plain tsql (and bcp or bulk insert) are limited.  You will also need to consider what portion of data in your database is affected by this process - a real data analysis process will help you understand the scope of work
here.

Similar Messages

  • How to Boot From an External HD

    I am still pondering getting a mini - I know that I will want a much larger hard drive (since I want to use it for media and will keep tons of video and music on it). I would like to know how to boot from an external hard drive. I've searched google, the forums, and apple support, and see people mention it all the time, but can't find out how to do it, etc. Is it just like running off my normal HD but all the files are kept on the external (so I could still access files thru itunes, etc.)?
    Also, I would like to get a 500GB+ drive to keep my files on, and was wondering if people had recomendations. Brands, USB 2.0 or Firewire, etc.
    Apologies if this is a novice question - but I can't seem to find answers anywhere.
    Thanks in advance.

    Firstly, it is certainly possible to boot from an external drive, so what you plan is not only feasible, but since the external would be faster than the internal drive, also rather beneficial to the efficient running of the mini - meaning, the system will be notably faster in use.
    In my view, the best option is an external firewire drive, not USB. The reason is that FW has it's own dedicated controller while USB doesn't. In effect, it means that FW data transfer speeds are stable and consistent, while USB rates vary widely, depending on what else the system is doing.
    Once you have your external drive connected, the easiest way to make it bootable is to copy your existing MacOS install from the internal drive using software such as Carbon Copy Cloner (downloadable from www.versiontracker.com). This will avoid having to do a lengthy reinstall. Once MacOS is copied, then open System Preferences, and the Startup Disk preference pane, and click on the external drive icon. The next restart will then be directed to the external.
    Once you have booted from the external drive, you use it just as you would an internal, and MacOS will treat it as the boot volume, including by default, placing your user account folders on it, including your documents, music etc.

  • How to copy from an external hard drive collection to a folder on your mac?

    I put 2000 images from my honeymoon on an external hard drive. I flag my favorites and work on 7 images i layter but in an collection. I am really proud of this 7 images and want to put them in my portfolio map on my laptop. BUT that seems to be impossible! I have the choice to move the files from the external hard drive or make a virtual copy! I want them in bout my external hard drive and laptop! This is turning out to be a mess. What to do now? And how to prevent this in the future?
    What is the best way to manage and storage images?
    If I only could copy an collection! SO FRUSTRATING.
    Please help me

    I am really proud of this 7 images and want to put them in my portfolio map on my laptop.
    In Lightroom, select the 7 images, then use File->Export, and make sure the exported photos wind up in the desired location.
    What is the best way to manage and storage images?
    I would manage the photos inside of Lightroom using keywords, captions, flags, star ratings and any other Lightroom organizational tool that seems appropriate. I would then use Lightroom as the mechanism for searching for and locating and displaying whatever photos you are interested in finding. If you need copies of the photos for non-Lightroom use, as in your example of 7 images, then use File->Export.

  • Ipod sync freezes when trying to sync from an external drive

    I just bought a Seagate FreeAgent external hard drive (model # ST305004DA1E1-RK)because I was running out of space on my desktop. I have itunes set up on my desktop hard drive and my library set up on my external and the itunes works fine when listening and/or orgainizing my music, but when I plug in my ipod while the external is pluggged in I get a 'USB Device Not Recognized' warning. But if I unplug the external and re-plug in the ipod, itunes will recognize it. But if I re-plug in the hard drive and try to sync the ipod, it freezes up. I have tried to run the itunes software directly from the external drive, but I get the same 'USB Device Not Recognized' warning when I plug in the ipod while the external is still plugged in. Any thoughts?

    As a test, try removing all USB devices except a standard keyboard and mouse, including any USB hub. Connect the hard drive and iPod directly to the computer. See if that works.
    If it works, try to figure out which USB device makes it NOT work, treating any USB hub as a device.
    If it still does not work, try using the Restore button in iTunes to see of that helps. This will erase the iPod and restore it to original settings.

  • Syncing from an external hardrive?

    I want to get an 80G Ipod Classic, but my laptop's hardrive is only 60G. I was wondering, if I got an external hardrive, put all my music and movies on that, could I still sync it all without having to put it on my laptop's hardrive?

    I have an external hard drive and my music files are already on it, leaving my itunes library empty. I haven't used it in a while, but I used to have it set up where Itunes pulled the music from the external HD and was available in the library. Now I am unable to have that happen. Again, my files are already moved and I would like itunes to link them together in my library, if possible. I have version 7.2 Itunes. Is this no longer an option? I have looked over other posts and followed the steps to move the location of the folder and then consolidate and that does nothing for me.

  • How to Import from an external HD to LightRoom.

    I am brand new to Creative Cloud and to LightRoom. I have read and listened to importing from a memory card but am unsure as to how to import from the backup drive from my older Mac Pro to my new iMac. The external drive is already the backup for the new iMac, is plugged in and working. I can see the HDD in the LR panel and can find the "pictures" folder within the dropdown. I am not sure if the "pictures folder (on the lefthand panel) is the old b/u or the iMac HDD. I can get to where I need to be if I can figure out what I'm looking at and what I should look for as to the 2 HDD's, b/u and/or iMac. I am aware of the righthand panel but the interactions are totally unfamiliar to me. Thanks for any help and advice. TCrowe

    If you are importing from a hard drive then you don't need to worry about the right-hand panel in the import dialog. You would locate the folder that you want to import in the left-hand panel. At the top of the import screen you would choose the "Add" option. This will add those images to your catalog without having to move them anywhere. If you want to place copies on a different hard drive then you would choose the Copy option at the top of the import screen. Then the right-hand panel will enable you to specify where you want the copies to be placed.

  • Help please: how to boot from clone/external hard drive because "disk cannot be partitioned because some files cannot be moved"?

    MBP Retina 15" MID 2014 2.5Ghz
    OS X Yosemite 10.10
    I have a external HDD and want to erase and restore my laptop so I can install windows via Bootcamp Assistant but I don't know how to boot from a clone to fix the issue and am not sure if when I erase and restore I will still have Yosemite 10.10? I have no way to reinstall the OS if I lose it. An average user friendly guide would be greatly appreciated please

    I do not think you have to erase your MacBook's disk in order to install Windows. First of all you can try a few things before formatting the disk.
    The first thing you should do is to check that your MacBook Pro's drive is OK with Disk Utility (in /Applications/Utilities). After opening it, choose "Macintosh HD" in the sidebar and press "Verify Disk". If it gives you any error, you will have to boot your Mac in OS X Recovery (press Command and R keys while your Mac is starting up) to repair Macintosh HD (the steps are the same but pressing "Repair Disk" instead of "Verify Disk").
    After you have repaired the drive, boot up in OS X and try partitioning the drive again with Boot Camp Assistant. If it does not work, you will have to format the drive and reinstall OS X, but I will give you these steps only if this does not work.

  • How to sync from ipod to new laptop

    How can I sync from my ipod nano to my Itunes on my laptop?

    Something here may help.  About iTunes Store authorization and deauthorization

  • How to record from an external source

    I recently bought a hp envy 17" and I cant figure out how to record onto this laptop.  I have to jacks on the left side, one with an icon of a headphones, the other with an icon of a headset.  I want to be able to take input a stereo jack to record into one of these and record into a program like Audacity.  Under device manager it says I have an ATI High Def Audio Device.  How do I record from an external source?  Thanks.

    @toolchic, first make sure that in the IDT HD Sound properties [right click the IDT ICON near the clock, which says "Controls IDT Audio Settings" on mouse over the icon], and choose "Open Audio control panel".
    Next choose "Recording > Settings". Here choose the input you want to record with. In your case choose "Integrated Microphone Array" on the top left. Click "Settings" just bellow, slide the bar to "10db boost" on the right, and slide the recording level bar about midway up [at the bottom of the window where all the volume controls for all recording devices are].
    While you/re there, it's a good idea to mute the "External mic", and mute any other recording device that you do not need. Next, click the "Processing" tab below the settings tab, and choose "Reduce noise". Leave all the others unchecked. for these will produce a not so nice sound. This helps to eliminate fan noise and other background noise in your recording.
    Now when you open your preferred digital audio program e.g.. Audacity [it's free and pretty easy to use, see link below], you can choose the INTEGRATED MIC ARRAY in the recording options. Choose that and then "arm" the track for recording [Usually an icon with R in the recording controls] Next click "record" to begin recording. Of course these steps depend on the digital audio recording program you're using.
    If you don't have a dedicated digital audio recording program, and if you have windows 7 or vista, you can record long sessions with the default Microsoft recording program [this program is useless in XP, for it only records for like a minute or so, maximum!. A dedicated program such as Audacity records depending on how much hard drive disk space, or close to that.
    @fritz, in essence, input jacks of most current notebooks, external computer mics are mono, but they use a  stereo mini jack [or 3 band, if I understood you correctly]. These are the same as regular earphone jacks. One band is signal, one is earth, and the other is +5 Volts to drive the condenser [these are known as "condenser mics"]. But if you use a dedicated studio type recording mic, then you need a dedicated preamp, and if it is a condenser as apposed to a dynamic mic, the preamp needs to supply what's known as "phantom power" [typically 45v] through the input jack where the mic is plugged into.
    However, if you record from the mic in/line in jack of a line out of say a mic preamp, channel mixer deck, CD/DVD/TV etc., then this has to be a stereo mini jack [has 3 bands]. Special cables with 2 [stereo] RCA jacks to mini jack are the ones to use. That is if the line out connector of your recording course is RCA [your typical TV/CD//DVD audio / video out or in are RCA connectors e.g..].
    Did this help?
    http://audacity.sourceforge.net/download/
    be-well

  • How to transfer from one external drive to another?

    I am trying to move files from one external drive to another.  I can write to both drive from my Mac.  When I do a large transfer using Finder, I only get a few files and an error code 50.
    I'm using two Seagate drives, one formatted for Mac only and where I'm writing to, and one formatted for PC and Mac.  I have written and read successfully to both drives.

    I moved some movies and some seldom listened music (coped the files) into a folder on the Lacie drive. Then I reimported them to the main itunes library while holding down "option". This created a link to those files to the external. the files show up in my itunes but cannot be played unless i have the Lacie connected to them.
    See this link.
    http://www.maclife.com/article/howtos/how_split_your_itunes_library_across_multi ple_locations

  • How to boot from an external dvd/cd because your superdrive is broken

    This is in response to a previous archived thread that was never fully answered, found here:
    https://discussions.apple.com/message/12410086#12410086
    Advice given on previous thread that did not work for me:
    You have to hold the ALT key in order to boot from the external drive.
    ~Lyssa
    This advice is correct, except here are the full directions:
    1. Press power and startup macbook OR click on apple icon in upper right corner and click restart.
    2. As computer starts/restarts, hold down the option (ALT) key until you see a choice of options to boot from. There will not be an option for external cd/dvd, until the computer has finished reading that drive.
    3. Wait as much as a 30 seconds to 5 minutes as macbook recognizes the bootable disk in the external cd/dvd drive. As long as the drive is making noise/reading disk, wait it out. The new selection will appear on its own.
    4. Select dvd to boot from, then click the arrow below. It will begin to boot from that drive and install/reinstall your OSX.
    5. Follow the prompts to install OSX
    Notes: I was using a macbook 4,1 and external dvd burner with separate power supply, and Mac OSX Install disc that came with my macbook (OSX 10.5.4)

    Your Mac requires a firmware (Boot ROM version in System Profiler) update to 4.2.8 See Mac OS X: Available firmware updates
    http://docs.info.apple.com/article.html?artnum=86117 The update should be installed (using OS 9) BEFORE you install OS X.
    If you depress the Option key at startup, which activates the Startup Manager, does the external drive show up?
     Cheers, Tom

  • How to sync from iPod to another IPod Shuffle

    Can I sync playlist from an older model iPod shuffle to a new 4th generation iPod shuffle without losing the playlist on the original iPod shuffle?

    If the songs on the old shuffle are in your iTunes music library, you'll need to sync the same songs to the new shuffle from your iTunes library.  You can't sync from one iPod to another iPod.
    If the songs on the old shuffle are not in your current iTunes library, you first need to off-load the song files from the old shuffle, add them to your iTunes library, then sync those songs to the new shuffle.
    You can't transfer song files from iPod to computer using iTunes (except for songs purchased from the iTunes Store).  However, there are third-party methods and utilities that can transfer from iPod to computer.  If you do a Google search on something like "ipod transfer," you should get some links.

  • How to boot from cloned external HD

    I have just cloned my HD using Carbon Copy Cloner.
    I can not figure out how to boot from this cloned drive.
    I am sure it must be something easy like holding a key down while restarting.
    Thanks,
    Brian

    you can also use the start up pane found within system preferences.

  • Equium L20-197: No line-in jack - How to record from an external audio source

    Hi,
    I'm generally very pleased with my Equium L20, but am now finding a few annoyances that I guess are cost-cutting issues. For instance, there's no onboard mic, so need to buy one for Voip purposes. And I would like to use this laptop to record from an external audio source, but now discover that there is no line-in jack, and it seems the microphone jack is mono only, even if it was possible to configure the audo card to use this for line-in source.
    I'd be very grateful if anyone has any ideas for a workaround perhaps using a USB port.
    TIA
    Keith

    Hi R2D2,
    Thanks for your quick reply - it set me on the right track and I've been googling for similar solutions available in the UK. I've since found this product - http://www.dolphinmusic.co.uk/page/shop/flypage/product_id/9326 and redhawk has pointed me at something by Creative Labs which I'll try and track down.
    Regards
    Keith

  • Itunes library disappeared, how to sync from ipod?

    I have had my 30gb ipod video for a few months now with no problems. Last night I sync up my ipod and everything was fine. This morning I open itunes and my library is completely empty, and all of my playlists are gone.
    I checked my music folder and everything was still there, including the library xml file. Unfortunately I did not back up the xml file, and while trying to remedy the situation itunes overwrote the file with an empty library, so now I have lost all of that data.
    I started going through the process of re-importing my music and re-creating all of my playlists when I realized that all of the play count, ratings and other information is now completely lost.
    Since my ipod has all of the most current information, is there some way to sync the information from the ipod to my computer?
    Thanks
    ipod video 30gb   Windows XP Pro  

    How to use your iPod to move your music to a new computer
    http://docs.info.apple.com/article.html?artnum=300173
    Copying from iPod to Computer threads...
    http://discussions.apple.com/thread.jspa?threadID=776996&tstart=0
    http://discussions.apple.com/message.jspa?messageID=3536077#3536077
    http://discussions.apple.com/thread.jspa?messageID=797432&#797432
    Also these useful internet articles...
    http://www.engadget.com/2004/11/02/how-to-get-music-off-your-ipod/
    http://playlistmag.com/help/2005/01/2waystreet/
    iPod: Frequently Asked Questions
    http://docs.info.apple.com/article.html?artnum=60920
    Patrick

Maybe you are looking for