Is there any way to activate the keep identity setting when using a Transfer SQL Server Object Task?

Is there any way to add the "Keep Identity" option to the tables selected for transfer in a Transfer SQL Server Object Task?  It seems that would be very useful, yet I can't find an easily available setting for it.  I would prefer to
accomplish this within the Transfer SQL Server Object Task since it can copy any new fields added to the source tables, as opposed to having to rebuild a custom Data Flow Task any time a table structure is altered.  I thought setting "CopyPrimaryKeys"
to True would do the trick, but I found that only ensures that the column settings are transferred; when the transfer happens, the destination id column is populated based on the specified seed and increment value, not what's actually in the source table. 
I'd like to point out that replication isn't really an option here. This is a package that runs a few times a day to keep some data on our website up to date with data in our protected corporate environment.

IIRW there is FastLoadKeepIdentity specifies
whether to keep an identity in OLEDB destination 
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence

Similar Messages

  • Error at the time of using "Transfer SQL Server Objects Task"

    Hi all,
    I am creating a task for coping the structure of one database to another but there is some issues which are disturbing me
    i am unable to get how to fix it any one can help me please
    I have one Source database and destination database 
    Errors are like 
    [Transfer SQL Server Objects Task] Error: Execution failed with the following error: "An error occurred while transferring data. See the inner exception for details.".
    [Transfer SQL Server Objects Task] Error: Execution failed with the following error: "Invalid filegroup 'SFG_1_Application' specified.".
    Niraj Sevalkar

    [Transfer SQL Server Objects Task] Error: Execution failed with the following error: "Invalid filegroup
    'SFG_1_Application' specified.".
    Hello Niraj,
    Seems in the source database a filegroup is used, which is not available in the Destination database.
    Olaf Helper
    [ Blog] [ Xing] [ MVP]

  • Is there any way to accept the apple terms and conditions using the website or any other ways that are not flawed to being unusable?

    I have tried using the set in system of trying to update an app and being prompted to agree, but every single time  Apple's gay system keeps telling me that my session has timed out and I should try again. I have tried multiple times to have it sent by email, but every one of those show up as "there was an error and email failed. Please try again.". I signed in on the website and was prompted to agree to the terms and I did, but Apple still will not let me dowload/update apps. Is there any way to get to a part of a website that lets you agree to the terms? If not, is there any fool-proof way that I can do it or a solution to the session timing out issue?

    Try resetting your device.
    If that fails, Reboot, Reset, Restore.

  • Is there any way to disable the firefox search option when you long press the home button on Samsung Galaxy S5 Active?

    I have an S5 Active and sometimes the home button sticks and registers as a long press which brings up Firefox search instead of going to the home screen. Is there any way to disable Firefox Search so that this doesn't happen. I Love the Firefox browser but if this keeps happening I will have to uninstall it.

    hello djpianalto, you could clear the default settings for firefox on android within the system settings (like described in this [http://www.howtogeek.com/195885/how-to-set-and-clear-a-default-app-on-an-android-device/ external article]).
    or try an app like https://play.google.com/store/apps/details?id=hk.sld.SwipeLaunchDisabler

  • Is there a way to get the actual XML string when using the JAXP SAX Parser?

    Hi All,
    I am using a JAXP SAX xml parser and am looking for a way to get the actual line of xml that is being parsed from within a content handler.
    Here's my scenario. Consider the following example xml document.
    <formCollection>
       <form name="myForm">
          <text/>
          <selection/>
       </form>
       <form name="anotherForm">
          <text/>
       </form>
    </formCollection>My hope is to validate the entire document and then insert an xml string containing each "form" element (and its sub-elements) into a map for later use. My thought was to create a String as each "form" element is being parsed (begining with the form's startElement event and concatenating until the form's endElement event is reached) and then inserting this string into the map. Is there a way to get the actual line of xml that is being parsed, rather than just the element name and attribute values?

    DrClap wrote:
    YouRang wrote:
    2. The first handler would validate the entire XML document, extract the "type" attribute from each <form> element, and place each <form> element and its sub-elements into the map of Strings, using the "type" attribute as the key. The second handler would take a <form> element and parse it into a Form object for the display. This option was the impetus for my question because it relies on the first handler being able to access the entire <form> element XML String and write it to a map.I don't see why you need the raw data from the XML document here. You should already be abstracting your data into Java classes in the first handler, instead of making the second handler do the parsing all over again.Correct, I am not referring to XForms. In this case, it happens that I am using the XML to generate an SWT ScrolledForm object and, thus, the XML element name happens to be named "form." However, the concept/design problem could apply to any type of object and the XML element could be appropriately renamed.
    My experience with XSLT is limited and I haven't done anything with it for several years. With that said, it seems that it is primarily used for generating web content, which wouldn't apply in this case because this is for a client-server application. I could be off base on this one -- if XSLT applies to much broader translations and would be more appropriate for generating Java objects than my current methodology, I could certainly look into it further.
    I apologize that option two didn't make more sense; it is difficult to explain. Yes, optimally the data should be abstracted into Java classes in the first handler. This is really an elaboration that I failed to specify when explaining option one. The problem is that the user can choose to create any number of "forms" of any type. For instance, let's say that from the File -> New menu there are options for seven different types of forms and each form is used to send completely different data. The user can select form1, select form1 again, select form4, and select form7 (or any other combination) and bring up tabs that display the different forms. The user can then enter data and submit each form separately. When the user selects File -> New -> FormX, a SWT ScrolledForm object that corresponds with FormX must be given to the display. Because SWT ScrolledForm objects do not allow a deep copy, I cannot simply read the XML <form> elements at initialization, parse them into ScrolledForm objects, and pass deep copies of the ScrolledForm objects to the display each time the user clicks File -> New -> FormX. The only simple way I see of getting a new copy of a ScrolledForm object is to reparse the appropriate XML <form> element in order to create one each time the user selects File -> New -> FormX. As such, one handler would need to read the entire XML document and parse the <form> elements into a map (or some other data structure) and another handler would need to parse individual <form> elements into SWT ScrolledForm objects. The first handler would be called at initialization and the second handler would be called each time a user clicked on File -> New -> FormX. Once again, this isn't exactly my favorite implementation... but seems the simplest given that there is no way to do a deep copy of an SWT ScrolledForm object. Hopefully that makes a little more sense. No worries if it doesn't -- I just figured I'd throw this out there and see if anyone had a better idea.

  • HT201335 Is there any way to change the settings on an iPhone using an iPad?i

    TThe question is as posed above.  Although if there were a way to sync the settings on the iPhone & Ipad that would work for me too.

    No only deleting Emails & photos. Cheers Brian

  • Is there any way to avoid a huge memory spike when using CGContextDrawImage for a high resolution image?

    Hi,
    I'm trying to fix the orientation of an UIImage in my app (iPad 2, iOS 7). I'm using the method described here: https://gist.github.com/alex-cellcity/1531596, but a huge memory spike appears when CGContextDrawImage is called. The image size I'm trying to fix is 2848x4288.
    Anybody knows any algorithm to avoid this huge spike?
    Thanks,
    Roberto.

    While I never done iOS code it appears that the code you link to basically does the following:
    takes a large image A
    generates a transformation matrix by doing rotation in 90 degree increments and by mirroring
    creates a large image B
    draws image A into B using the transformation matrix
    releases memory for image A
    goes on using image B
    This results in a memory peak as you have two large images in RAM, until image A gets deallocated, which can't be done until B has been drawn.
    I can see two possible solutions to this, both which probably require you to explicitly modify individual pixels:
    1) Try to simplify the solution - if 180 degree rotation and mirroring is enough to solve your image issues, then a simple in-place (same bitmap) pixel swap could be done.
    2) Find more memory -  if you need 90, 270 or arbitrary degrees of rotation as well, you could instead keep either image A or B on disc.
    Keep image A on disc: read pixels from disc and place appropriately in image B. This may require you to first load image A and write it back to disc as ARGB data (one byte for each color) for easy access.
    Keep image B on disc: get pixel from image A and place it at the right location in image (file) B - this will require pre-creating a file of the correct size for Bs ARGB data and then moving the insertion point for writing around. When done dealloc image A and load image B.
    Keep image A and B on disc: combine using disc for image A and B - this will minimize RAM usage but will probably be the slowest solution and will increases disc (SSD/flash) load and wear.

  • Is there any way to control the volume on my Apple TV?

    Here's the scenario: I have a small amplifier under my couch that controls the speakers connected to my Apple TV. When I use Airplay from my iPhone to listen to music, I'm able to control the volume right from the music App on my phone- this is perfect because I don't like to reach under the couch to change the volume. However, there are two scenarios when I cannot seem to adjust the volume anywhere except on the amp. These are:
    First: Using Airplay while playing a video from my MacBook Pro to the Apple TV. In this case, the volume slider in iTunes suddenly has a little lock icon on it and is unadjustable. Is there any way to unlock the volume?
    Second: When using the Apple TV directly to play any media- music or movies. The volume up and down buttons on the Apple TV don't control the volume. I'm forced to reach under the couch to adjust the volume- which happens quite frequently. Is there any way to control the output volume of the Apple TV?
    The lack of volume control has been super disappointing. I've been a (multiple) airport express user for years so kind of expected Airplay to work the same for video- with the ability to control the volume from whatever device was transmitting. Can anyone help me?

    Andrew- this is how I would expect things to work. However, when I use airplay from my iPhone to say, play a youtube video, the volume on the phone is suddenly rendered useless and I'm forced to adjust the amplifier. When I just play audio from the phone, the volume works.
    It's the same on my macbook pro. If I mirror the screen, my computer's volume affects the speakers volume. However, if I am in itunes and play a movie and use airplay for that, I get a lock on the volume. Is this a setting somewhere?

  • Ok so I cant open my Itunes due to Windows Error 2 and the message says to uninstall and re-install Itunes but I'm pretty sure that would wipe the library right? Is there any way to fix the problem and keep my library?

    Ok so I cant open my Itunes due to Windows Error 2 and the message says to uninstall and re-install Itunes but I'm pretty sure that would wipe the library right? Is there any way to fix the problem and keep my library?

    Hi neffn!
    I have an article for you that can help you go through that process of uninstalling and reinstalling iTunes. If you have Windows 7, you will want to see this article:
    Removing and reinstalling iTunes, QuickTime, and other software components for Windows Vista or Windows 7
    http://support.apple.com/kb/ht1923
    and if you are using Windows XP, you will want to reference this article:
    Removing and Reinstalling iTunes, QuickTime, and other software components for Windows XP
    http://support.apple.com/kb/ht1925
    Note that, as it says in those articles:
    iTunes Store purchases or songs imported from CDs are saved in your My Music folder by default and are not deleted by removing iTunes. While it is highly unlikely that you will lose any contents of your iTunes Library when following these steps, it is always a good idea to ensure that your iTunes library is backed up. If you're unsure how to backup, see iTunes: Back up your iTunes library by copying to an external hard drive.
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • Is there a way to activate the whole application in Non Development system?

    Hi All,
    Is there a way to activate the whole application in Non Development system? Using some BRF Plus Tool.
    We copied a sample application and customized the same as per our requirement. The same is then released to Test System for testing. On Test system this application with all component is in non-active state. We re activated the application with all the component and released it to Test System. But still the application is inactive.
    Application is a of storage type system and so cannot use changeability exit to activate on test system.
    TR log shows imported with error. Below is the extract of the error:
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    BRF+: Runtime client: 000 / target client: 400
    BRF+: Object activation of new version started for 418 object IDs
    BRF+: <<< *** BEGIN: Content from Application Component  CA  *** >>>
    BRF+: <<< BEGIN: Messages for IDs (53465BA36D8651B0E1008000AC11420B/ )  Table 'Dunning Proposal Line Items (Table)' >>>
    No active version found for 23.04.2014 08:14:10 with timestamp
    No active version found for IT_FKKMAVS with timestamp 23.04.2014 08:14:10
    No active version found for IT_FKKMAVS with timestamp 23.04.2014 08:14:11
    BRF+: <<< END  : Messages for IDs (53465BA36D8651B0E1008000AC11420B/ )  Table 'Dunning Proposal Line Items (Table)' >>>
    BRF+: <<< *** END  : Content from Application Component  CA  *** >>>
    BRF+: Object activation failed (step: Activate )
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    BRF+: Import queue update with RC 12
    >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>
    Errors occurred during post-handling FDT_AFTER_IMPORT for FDT0001 T
    FDT_AFTER_IMPORT belongs to package SFDT_TRANSPORT
    The errors affect the following components:
       BC-SRV-BR (BRFplus - ABAP-Based Business Rules)
    Post-import method FDT_AFTER_IMPORT completed for FDT0001 T, date and time: 20140423011412
    Post-import methods of change/transport request DE1K901989 completed
         Start of subsequent processing ... 20140423011359
         End of subsequent processing... 20140423011412
    Any help would be appreciated.

    Is IT_FKKMAVS part of the same transport request or was it sent already earlier?
    You may have a look at the request if it was OK. Probably not.
    Maybe in the meantime more requests reached the system that now have in combination solved the problem. What is your release and support package level?
    Higher versions of BRFplus have a lot of automatic correction mechanisms built into it.
    E.g. problematic imports are collected in an import queue. As soon as a request comes in that fixes any problems the after import processing for faulty imports is automatically redone.

  • When using an external (ergonomic mouse) is there any way to get the wheel to scroll one full page at a time?

    When using an external (ergonomic mouse) is there any way to get the wheel to scroll one full page at a time? Much appreciated.

    I can't use the keyboard to scroll. I need to keep my hand on the mouse, otherwise I'd never get anything done. Since I have no problem getting Firefox to scroll one page at a time, and I'm constantly jumping between 3 browsers, it would be nice to be able to scroll a full page at a time in Safari, just like I can in Firefox. Thanks.

  • Is there any way to remove the duration from the course outline in Presenter 8?

    Is there any way to remove the duration from the course outline in Presenter 8? I would prefer to not have that listed if at all posible and can't find a solution.

    Are you talking about the Time Remaining display on the side bar? The text for that field is in the Modify Text Labels... tool in the Theme Editor of Presenter. You can change it to whatever you want, but you may want to keep a record of what the default text labels are, as there is no restore to default option. The Elapsed Time field is what you would want to change. I have seen this modified to show no text, copyright information or other general info.

  • How  to verify yum configuration  in OEL . is there any way  to rollback the package

    Hi ,
    How we can verify  the yum configurtion . is there any way to rollback the package using yum
    Also  let me know how to rollback packages that upgraded using up2date .

    Hi ,
    There is nothing  in  yum.repos.d directory  and  below are  entries in /etc/yum.conf file . can you  please  cnfirm wherther yum is configured or not
    yum.repos.d]# ls -ltrh
    total 0
    #cat /etc/yum.conf
    [main]
    cachedir=/var/cache/yum/$basearch/$releasever
    keepcache=0
    debuglevel=2
    logfile=/var/log/yum.log
    exactarch=1
    obsoletes=1
    gpgcheck=1
    plugins=1
    installonly_limit=3
    #  This is the default, if you make this bigger yum won't see if the metadata
    # is newer on the remote and so you'll "gain" the bandwidth of not having to
    # download the new metadata and "pay" for it by yum not having correct
    # information.
    #  It is esp. important, to have correct metadata, for distributions like
    # Fedora which don't keep old packages around. If you don't like this checking
    # interupting your command line usage, it's much better to have something
    # manually check the metadata once an hour (yum-updatesd will do this).
    # metadata_expire=90m
    # PUT YOUR REPOS HERE OR IN separate files named file.repo
    # in /etc/yum.repos.d

  • Is there any way to identify the two classes are compiled by same vm

    Is there any way to identify the two classes are compiled by same vm?
    Thank's a lot.

    I think this is the better forum than java compiler. The answer to the question you asked is no.
    But that question is not the best way to address your problem.
    If this were me, I'd use a tool like ASM (http://asm.objectweb.org/) to read in that file, and replace the getToday() method, with one like this
    long getToday() {
        return 20080101;
    }and replace the class file with this new one. (keep the old one, they might be using a class loader that verifies class signatures or something)
    (They said the code you are looking at could have been changed by you - so take the hint and change it back).
    If they've ripped you off, this will restore justice much more cheaply and effectively than involving the lawyers. If they then sue you for breaching the license agreement, that would probably force them to disclose their underhand tactics.
    OTOH, if you're lying to us about the purchase, and needing to pay for upgrades to fix the performance issue, and instead are trying to crack some trial software, then I hope they are using a custom class loader that checks the integrity of the classes.
    If you are being ripped off, why are you not telling us the name of the company? I am not sure who is being ripped off here.
    Bruce

  • Is there any way to change the background colour in Photoshop Elements 8?.

    Is there any way to change the background colour in Photoshop Elements 8?  There are two options offered in General Preferences, Appearance Options - Dark Grey or Light Grey - but even the Light Grey is much darker than that in Photoshop CS2.  I would like to make the background much lighter.  All advice will be appreciated.

    Thanks for your comments.
    I have seen that the background can be changed in PSE7 by using a slider in Preferences- General;  I don't understand why Adobe didn't keep that facility.

Maybe you are looking for