How can i Migrate a database from DB2 to SQL Server 2008r2.

Hi Gurus,
Kindly help me letting me know the process for migrating the database from DB2 to SQL Server.
1) Is there any way to migrate a database from DB2 to SqlServer. (My assumption is we can not migrate database, if wrong correct me gurus).
2) Or we can only transfer data from that DB2 database to SQL Server (Using SSIS packages).
Please help me knowing the process to migrate the data from DB2 server to MSSQL server. Even am reading the documents available in the web.
Thanks in advance.. :)

Microsoft provide a migration assistant for DB2 to SQL Server:
http://www.microsoft.com/en-us/download/details.aspx?id=45296
SQL Server Migration Assistant (SSMA) is a free supported tool from Microsoft that simplifies database migration process from DB2 to SQL Server and Azure SQL DB. SSMA automates all aspects of migration including migration assessment analysis, schema and
SQL statement conversion and data migration. 
Hope that helps

Similar Messages

  • Migration of Database from Oracle to SQL Server in Business Objects XI 3.1

    Hi,
    Currently, We are working on Business Objects XI 3.1 and Database is  Oracle 11g. And now we have the requirement to migrate from Oracle 11g to SQL Server 2008 R2.
    I would like to know what are the key points to be considered in business objects XI 3.1 when the database is migrated from oracle to SQL server.
    If anyone can share the Impact analysis document for Business Objects, it would be great.
    Thanks,
    Lavanyaa TP

    If you use business objects tools for such migration , the impact should be minimal.
    CMSDBCopy mechanism from CCM should work fine for this purpose.

  • How do I migrate iCal database from 10.5.8 server to Lion server?

    Hi,
    because we cannot migrate via Server Migration Assisteant, we have to do it step-by-step. Migration of Users, VPN and Wiki is clear for us.
    But i do not find a way to migrate the iCal Server Database from 10.5.8 to 10.7 manually. Any hints ?
    Frank

    Hi,
    because we cannot migrate via Server Migration Assisteant, we have to do it step-by-step. Migration of Users, VPN and Wiki is clear for us.
    But i do not find a way to migrate the iCal Server Database from 10.5.8 to 10.7 manually. Any hints ?
    Frank

  • How can i migrate oracle database  data to DB2 database

    Hi
    how can i migrate oracle database data to db2 database.
    can anyone provide me solution.

    BTW why do you want to migrate oracle database data to db2 database? Any specific project requirement like Parallel run with Oracle database (e.g data replication)? Or any other issues - Cost? Manageability? Availability? Business requirements?
    Do you need to do a day-to-day data transfer or it is for permanent migration?

  • Tell me how to format a date retrieved from a MS SQL Server 2000 database?

    Tell me how to format a date retrieved from an MS SQL Server 2000 database for various uses in my JSP page?

    Or if you want to use JSTL instead of a scriptlet see:
    http://forum.java.sun.com/thread.jspa?threadID=676754&tstart=0

  • Execute SQL Task with Parameter - from DB2 to SQL Server

    I am pulling data from DB2 to SQL Server.
    1st Execute SQL task runs the following against DB2:
    SELECT TIMESTAMP(CHAR(CURRENT_DATE - (DAY(CURRENT_DATE)-1) DAYS - 1 MONTH)) as START_MONTH
    FROM SYSIBM.SYSDUMMY1;
    I'm storing it as a Result Set.
    Next I have a Data Flow Task.  This pulls data from DB2 where the date matches the parameter.
    FROM SCHEMA.TABLE t
    WHERE DATE_TIME_COLUMN= ?
    This works fine. Guessing, because the parameter source is DB2 and the Data Flow source is DB2.
    The problem is, I want to remove existing data for the same date in the SQL table.  IE, if I'm pulling March 2014 data from DB2, I want to be sure there is no March 2014 data in the SQL table.  The main use is for re-runs.
    So, I added another Execute SQL task after the first one that assigns the variable, and before the Data Flow Task. This runs the following statement against SQL Server:
    DELETE FROM
    database.dbo.table
    WHERE DATE_TIME_FIELD >= ?
    The package fails at the new Execute SQL Task with the following error message:
    Error: 0xC002F210 at Execute SQL Task, Execute SQL Task: Executing the query "DELETE FROM
    SBO.dbo.tblHE_MSP_FEE_BUCKETS
    WHERE T..." failed with the following error: "Parameter name is unrecognized.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established
    correctly.
    Task failed: Execute SQL Task
    SSIS package "Load_MSP_Fee_Buckets_SQL.dtsx" finished: Success.
    The program '[14240] Load_MSP_Fee_Buckets_SQL.dtsx: DTS' has exited with code 0 (0x0).
    I am assuming this is something to do with the Parameter source being DB2, and trying to use against SQL?
    Any suggestions on how to make this work??
    Thanks,
    -Al H

    Parameter name is unrecognized
    is the key, how come DB2 is related if it runs against SQL Server
    What I think is happening you do not use the OLEDB connection to SQL Server.
    Likewise, if it is ADO then the query needs to be
    DELETE FROM
    database.dbo.table
    WHERE DATE_TIME_FIELD >= @MyDate
    Arthur My Blog

  • How can I make sure that in RAM our sql server is not facing any mermory crunch issue?

    The SQL server process always show RAM is highly used while its a default behaviour of sql server.
    How can I make sure that in RAM our sql server is not facing any mermory crunch issue?
    Thanks

    The SQL server process always show RAM is highly used while its a default behaviour of sql server.
    How can I make sure that in RAM our sql server is not facing any mermory crunch issue?
    Thanks
    The best way to make sure you are not facing memory pressure is to use perfmon counters and monitor various memory counters
    For SQL Server 2005 - 2008 r2 use below counters
    SQLServer:Buffer Manager--Buffer Cache hit ratio(BCHR): IIf your BCHR is high 90 to 100 Then it points to fact that You don't have memory pressure. Keep in mind that suppose somebody runs a query which request large amount of pages in that
    case momentarily BCHR might come down to 60 or 70 may be less but that does not means it is a memory pressure it means your query requires large memory and will take it. After that query completes you will see BCHR risiing again
    SQLServer:Buffer Manager--Page Life Expectancy(PLE): PLE shows for how long page remain in buffer pool. The longer it stays the better it is. Its common misconception to take 300 as a baseline for PLE.   But it is not,I read it from
    Jonathan Kehayias book( troubleshooting SQL Server) that this value was baseline when SQL Server was of 2000 version and max RAM one could see was from 4-6 G. Now with 200G or RAM coming into picture this value is not correct. He also gave the formula( tentative)
    how to calculate it. Take the base counter value of 300 presented by most resources, and then determine a multiple of this value based on the configured buffer cache size, which is the 'max server memory' sp_ configure option in SQL Server, divided by 4 GB.
      So, for a server with 32 GB allocated to the buffer pool, the PLE value should be at least (32/4)*300 = 2400. So far this has done good to me so I would recommend you to use it.  
    SQLServer:Buffer Manager--CheckpointPages/sec: Checkpoint pages /sec counter is important to know about memory pressure because if buffer cache is low then lots of new pages needs to be brought into and flushed out from buffer pool, 
    due to load checkpoint's work will increase and will start flushing out dirty pages very frequently. If this counter is high then your SQL Server buffer pool is not able to cope up with requests coming and we need to increase it by increasing buffer pool memory
    or by increasing physical RAM and then making adequate changes in Buffer pool size. Technically this value should be low if you are looking at line graph in perfmon this value should always touch base for stable system.  
    SQLServer:Buffer Manager--Freepages: This value should not be less you always want to see high value for it.  
    SQLServer:Memory Manager--Memory Grants Pending: If you see
    memory grants pending in buffer pool your server is facing SQL Server memory crunch and increasing memory would be a good idea. For memory grants please read this article: 
    SQLServer:memory Manager--Target Server Memory: This is amount of memory SQL Server is trying to acquire.
    SQLServer:memory Manager--Total Server memory This is current memory SQL Server has acquired.
       8.  Free List Stalls/sec – Number of requests per second that had to wait for a free page
       9. Free Pages – Total number of pages on all free lists (free lists track all of the pages in the buffer pool that are not currently allocate to a data page, and are therefore available for usage immediately)
    NOTE: If you have NUMA system don't use PLE to monitor memory condition it wont give correct value
    From 2012 Onwards
    Memory management has become easy from 2012 onwards as
    Max server memory also allocated memory for requests which require memory >8KB
    SQLServer:Memory Manager:Free Memory (KB)
    SQLServer:Memory Manager:Target Server Memory (KB)
    SQLServer:Memory Manager:Total Server Memory (KB)
    For NUMA system its also wort monitoring each node.
    Object - SQLServer:Memory Node:Total Node Memory
      (KB)
    Object - SQLServer:Memory Node:Target Node Memory
      (KB)
    Object - SQLServer:Memory Node:Free Node Memory
      (KB)
    Ideally if target server memory is less than or equal to total server memory there wont be memory pressure if target is > total it does not always means its memory pressure
    BCHR would also give you good idea about memory pressure
    If memory grants pending is frequently non zero there is memory pressure
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • Migrating SAP products from a non-SQL Server platform to a SQL Server 2005

    Hi,
    I have another question too.
    Can someone pls provide me the Considerations for Migrating SAP products from a non-SQL Server platform to a SQL Server 2005 platform?
    More specifically from Oracle to SQL 2005.
    Regards
    Abhi

    Hello
    You need to perform an OSDB migration.
    This will involve exporting your SAP system into a DB neutral format and then reloading this into an SQL 2005 SAP system.
    Please review http://service.sap.com/osdbmigration
    I recommend you review the homo/heterogeneous system copy guide for your SAP release.
    Thanks
    N.P.C

  • How can I combine two databases, from two computers, to have one combined database of messages?

    My old XP computer recently died and I had to build a new Windows 8.1 machine. While I was down I used a laptop as a temporary replacement. Now my new machine is running fine and receiving e-mail, but I now have two databases--one on the new machine and one on the laptop. Both are based on a recent backup, so they are lengthy--except that the new machine's database has a hole in it for the period I was on the laptop and the laptop's database also has gaps. How can I combine two databases into one that includes the messages from both machines?
    Thanks in advance,
    profsimonie

    Thanks for your reply. My profile folder did not contain any MBOX files. I found them in another folder on another drive. The Import-Export tools simply transferred each folder to the current one as a sub-folder. Then I had to use ctrl-a to select everything in the folder and move them manually to the current folder (such as inbox). Then I could use the other utility you mentioned to remove the duplicates. This had to be done, one folder at a time, to combine each folder. It worked, but I had about thirty-five folders to deal with. The whole process took most of two days to complete. I wish there was a simple way to blend everything together in one action, but I could not find an add-on that would do this.
    Frank Simonie

  • How to send PLAIN text email from sp_send_dbmail using SQL Server 2008 R2?

    I have configured Database Mail in SQL Server 2008 R2 (64) and it sends emails just fine. However the destination is recieving the body of thes message as Base 64 encoding.
    Snippet:
    EXEC msdb..sp_send_dbmail @profile_name='Outmail', @recipients = @recpts, @subject = @subj, @body_format = 'TEXT', @body=@body2;
    As you can see I set @body_format to TEXT, but it still sends Base 64. I need to send plain ASCII text. How can I change this?

    I am having this exact issue too.  I have a trigger that sends an email using a stored procedure.  The dbmail is sending the email using the Exchange 2010 server SMTP.  It does not login so the email is relayed as user = "Anonymous". 
    The SQL dbmail email header is showing the following:
    Content-Type: text/plain; charset="utf-8"
    Content-Transfer-Encoding: base64
    MIME-Version: 1.0
    X-MS-Exchange-Organization-AuthSource: MX01.domain.local
    X-MS-Exchange-Organization-AuthAs: Anonymous
    Here is the header if I send via Outlook profile using the legacy program I am trying to automate using SQL Server 2008R2:
    Content-Type: application/ms-tnef; name="winmail.dat"
    Content-Transfer-Encoding: binary
    MIME-Version: 1.0
    X-MS-Has-Attach:
    X-MS-Exchange-Organization-SCL: -1
    X-MS-TNEF-Correlator: <[email protected]>
    MIME-Version: 1.0
    X-MS-Exchange-Organization-AuthSource: MX01.domain.local
    X-MS-Exchange-Organization-AuthAs: Internal
    X-MS-Exchange-Organization-AuthMechanism: 03
    X-Originating-IP: [192.168.13.66]
    Any help would be greatly appreciated!

  • Changing CMS and Audit Repository databases from Oracle to SQl server 2008

    Hi guys,
      We have a Business Objects Dev environment which was installed with Oracle 10g database for CMS and Audit Repository.
    Our database team now decided to change the CMS and Audit databases of Dev BOE from Oracle to  SQL server 2008.
    What is the ideal way to achieve this? I'm concerned because the old DB is Oracle and the new one would be SQL server.
    Earlier, I have changed CMS database from one to another by stopping SIA , taking the backup of old DB into new and changing it in the Update Databse option. But in that case both old and new CMS databses were on SQL server 2005.
    Thanks,
    Ganga

    Denise,
      Thanks for the solution.
    We have done Windows AD and SAP integration on the Dev BOE. Will there be any issue with those after the DB change. I am guessing there won't be, but just want to confirm. Please reply.
      Also, we need to stop the old SIA and start using the new SIA after the step two is done right?

  • How Can I Copy an database from one server to another ?

    Hi All,
    I need to copy an existing database from one server to another server. I want to maintain all the settings from the source database.
    I´m not used to Oracle database and i´d be glad for any help.
    How can I do this ? Do I need to backup and restore in the other server ? Do I need to copy files from one server to another ?
    Any help will be really appreciated.
    Carlos.

    I think a simpler approach, other than using RMAN, is to do a database export from the source and then import them into the target database. But you will need to do some ground work on the target, i.e, create database, tablespaces, and schemas (with their name the same as those in the source database.)

  • How can i migrate my software from a macbook pro to a mini server

    So i have bought a new Mac Mini Server but now i want to migrate my MacBook Pro User Profile, Data Files and Software to it. yet it would appear that there is no migration agent to use which implies that Apple miss an important part of the Mac experience.
    So if any body out there has a solution i would welcome your input. i had thought about using the push option from the MacBook Pro migration Agent but not sure if that would work.
    Charles

    Well OK you can not use the migration assistant because there isn't one for SL Server and it looks that if you want to migrate from a MBP to server as a user you have 2  choices manually move the item you want to an identical user on the server or create the user and bild the software and move the data required.
    how ever i have had a result in using the 2nd drive for just SL, when I spoke to the tech at the apple store yesterday he said use a retail copy of OSX SL which wont boot but apply update 10.6.8 combo and the system will then boot and bingo you will have a dual boot machine. "Ho No you Won't" firstly once you run the install from the CD which has to be triggered from Server the machine will reboot after copying the packages to the new drive but does not run them to build the SL system so you have nothing to install the update onto hence doesn't work.
    Here's the suprise I had a copy of my MBP on a spare hdd produced by Carbon Copy, so I attached this the a FireWire case to the mini held the alt key down and powered up. much to my suprise the mini booted into the external drive hold my MBP copy of SL. from then on in it was just a case of copying the drive using carbon copy to the 2nd drive on the mini and hey presto reboot and i now have both server and  and non server mini in one box.
    Sometimes you just get Lucky.

  • How can I migrate my photos from iCloud Drive into iCloud Photos?

    So in the midst of a local backup issue I decided to take the plunge and purchase some 200GB of storage from our friends at Cupertino to store cherished family memories in the view that they would never be lost as I can trust Tim and Co. to look after them. (No issues in that dept by the way).
    However, after taking said plunge and uploading my entire back catalogue of photos/videos into an iCloud Drive "Photos backup" (original name I know) folder - i realised that iCloud Photos was becoming available - but I saw no option at the time to import such a vast amount.
    My question therefore... how can I now migrate these historic moments in time from my iCloud Drive into the iCloud Photos app?
    It's still using the same storage plan... just a 'move folder'.. right? well unless I'm being stupid (and I'm not ruling this out) - I can't see a way to do this.
    Has anyone else fallen into the same issue?
    Help me Apple-Fans, you're my only hope
    James

    You access them with the App responsible for the type of file.
    Read through this: iCloud Drive FAQ - Apple Support

  • How can I updte Oracle database from 9.2.0.1 to 9.2.0.4?

    I want to use DM4j in JDeveloper 9.2.0.4, and it requires Oracle Database 9.2.0.4. I'm using Windows XP professional to be Database Server, so can I update my database. Someone here said he/she did this update, is it under windows platform?

    Thanks, I have update it by installing the path, and now I got the screen to generate code. However, when I run the generated code, it appears following error message:
    ClassificationMBTestOne.ClassificationModelBuildTestOne odm kknd jdbc:oracle:thin:@dba.ifsm.umbc.edu:1521:oracle9i
    Debugger connected to local process.
    Initialization Phase:
    Data Mining Server:
    JDBC URL: jdbc:oracle:thin:@dba.ifsm.umbc.edu:1521:oracle9i
    Username: odm
    Login Phase:
    Created data mining server
    Completed login
    Cleanup Phase:
    Removed function settings object: ClassificationModelBuildTestOne
    No prior mining model object to be removed: ClassificationModelBuildTestOne
    Removed mining task: ClassificationModelBuildTestOne
    Data Setup Creation Phase:
    Created NonTransactional PDS
    Input schema: ODM_MTR
    Input table: CENSUS_2D_BUILD_UNBINNED
    Mining Settings Creation Phase:
    Saved MiningFunctionSettings
    Name: ClassificationModelBuildTestOne
    Model Build Task Phase:
    Invoking Model build.
    Logout Phase:
    Completed MiningServer logout
    End: Fri Apr 16 11:50:11 EDT 2004
    oracle.dmt.odm.task.MiningTaskException: Failed to enqueue task "ClassificationModelBuildTestOne".
         at oracle.dmt.odm.task.MiningTask.execute(MiningTask.java:433)
         at ClassificationMBTestOne.ClassificationModelBuildTestOne.createModel(ClassificationModelBuildTestOne.java:1305)
         at ClassificationMBTestOne.ClassificationModelBuildTestOne.buildClassificationModelBuild(ClassificationModelBuildTestOne.java:412)
         at ClassificationMBTestOne.ClassificationModelBuildTestOne.main(ClassificationModelBuildTestOne.java:544)
    Exception breakpoint occurred at line 550 of ClassificationModelBuildTestOne.java.
    oracle.dmt.odm.task.MiningTaskException:

Maybe you are looking for