• Microsoft SQL Server

    Migration SQL Server 2000 DTS to SSIS 2005/2008

    • 0 Comments


    Migration DTS packages to SSIS 2005/2008


    Setup SSIS with DTS 2000

    On the migration of 2000 DTS to SSIS 2005/2008. There are many known issues in the migration of DTS 2000. It is recommended to execute the DTS inside SSIS 2005/2008 without migration. And if you need to edit a DTS in 2000 it will be better to recreate from scratch.

    Known issues related to migration packages
    SQL Server 2005 : http://msdn.microsoft.com/en-us/library/ms143462(SQL.90).aspx 
    SQL Server 2008 : http://msdn.microsoft.com/en-us/library/ms143462.aspx

    Support for Data Transformation Services (DTS) in SQL Server 2008
    http://msdn.microsoft.com/en-us/library/bb500440.aspx


    What should I install for SSIS developers

    You will find the answers in the documentation below:

    Installing SQL Server Integration Services by Using Setup
    SQL Server 2005 : http://msdn.microsoft.com/en-us/library/ms143510(SQL.90).aspx 
    SQL Server 2008 : http://msdn.microsoft.com/en-us/library/ms143510.aspx

    "When you select Integration Services for installation, Setup also installs support for SQL Server 2000 Data Transformation Services (DTS) packages, including the DTS runtime and DTS package enumeration in SQL Server Management Studio. Run-time support has been updated to allow DTS packages to access SQL Server 2005 data sources. If you are not installing Integration Services, but you need support for DTS packages, then you need to make sure that Legacy Components is selected on the Feature Selection page."

    There are some interesting components to you:

    Microsoft SQL Server 2000 DTS Designer Components
    SQL Server 2005 : http://www.microsoft.com/downloads/details.aspx?familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=fr 

    How to: Install Support for Data Transformation Services Packages
    http://msdn.microsoft.com/en-us/library/ms143755.aspx  

    Microsoft SQL Server 2005 Backward Compatibility Components
    SQL Server 2005 : http://www.microsoft.com/downloads/details.aspx?familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=fr
    SQL Server 2008 : http://www.microsoft.com/downloads/details.aspx?FamilyId=C6C3E9EF-BA29-4A43-8D69-A2BED18FE73C&displaylang=fr


    Sample


    With SQL Server Management Studio 2005/2008

    Import the package DTS 2000
    in SQL Instance >> Management >> Legacy >> DTS : Import

    Migrate the package DTS 2000 to SSIS
    package Instance >> Management >> Legacy >> DTS : Migrate wizard




    Michel Degremont | Microsoft EMEA
    Product Support Services Developer - SQL Server Core Engineer |


  • Microsoft SQL Server

    Migration SQL Server 2000 to SQL Server 2008

    • 4 Comments


    The purpose of this post is to explain the minimum required for the migration of Microsoft SQL Server 2000 to Microsoft SQL Server 2008. You can use the same principles to migrate a Microsoft SQL Server 2005 to Microsoft SQL Server 2008.


    1. SQL server 2008 upgrade advisor

    1.1. Before migrating
    Microsoft provides a tool called "Microsoft SQL Server 2008 Upgrade Advisor" to alert you of any changes in design between Microsoft SQL Server 2000/2005 and SQL Server 2008. It is strongly recommended to run this software before migration.

    1.2. Download
    You can download this tool from the link below:

    “Download the Microsoft SQL Server 2008 Upgrade Advisor. Upgrade Advisor analyzes instances of SQL Server 2000 and SQL Server 2005 to help you prepare for upgrades to SQL Server 2008.”
    http://www.microsoft.com/downloads/details.aspx?familyid=F5A6C5E9-4CD9-4E42-A21C-7291E7F0F852&displaylang=en 

    After installation, a new tab appears in: Start>> All Programs >> Microsoft SQL server 2008 >> SQL Server 2008 Upgrade Advisor

    1.3. Report before migration
    Run “SQL Server 2008 Upgrade Advisor”.
    Then click on “Launch Upgrade Advisor Analysis Wizard”.
    Then click on "Detect". The tool will automatically select the components installed on your platform.
    It is also interesting to give a trace profiler tool containing a representative of your business so that it detects all the elements that would longer supported or recommended in Microsoft SQL Server 2008.
    migration SQL Server 2005 to SQL Server 2008

    Then configure the connection to your SQL server 2000 instance. After a few minutes a report will be generated with warning or points on which you must bring your attention. These items may include Full Text Search, replication, objects that no longer exist or have been modified in the new version, plans to maintain ...
    The tool will provide two other types of information:
    1. Objects affected
    2. Advice you can find a workaround or fix the problem.

    Sample report provided by the tool:
    migration SQL Server 2005 to SQL Server 2008

    3. Migration with the database restore method

    3.1. Restoring a database SQL server 2000
    On your new instance Microsoft SQL Server 2008, connect to Management Studio 2008. Then click on the "Restore Database". Then follow the instructions.

    RESTORE (Transact-SQL)
    http://msdn.microsoft.com/en-us/library/ms186858.aspx

    How to: Restore a Database Backup (SQL Server Management Studio)
    http://msdn.microsoft.com/en-us/library/ms177429.aspx
     
    3.2. Compatibility Level SQL 2000/ SQL 2008
    If you restore your database in SQL Server 2000 SQL Server 2008, the level of compatibility will default mode "SQL Server 2000 (80).
    To know the level of compatibility, Make a right click on the name of the database>> "Property"
    Then in the dialog "Database Properties", click "Options"

    migration SQL Server 2005 to SQL Server 2008

    To enjoy all the new features in the new engine SQL server 2008, you must change the compatibility level to 100.

    To know the differences between compatibility 80, 90 or 100, I invite you to read the following article
    http://msdn.microsoft.com/en-us/library/bb510680.aspx

    sp_dbcmptlevel (Transact-SQL)
    http://msdn.microsoft.com/en-us/library/ms178653.aspx 
     

    3.3. Transferring SQL Server logins and Windows
    There are different ways to migrate your users
    - SQL Server Intégration Services, with component « "transfer Login task ».
    - SQL Server Management Studio, with “Copy Database Wizard”
    - You can also draw on examples of script between SQL Server 2000 and 2005 KB Article http://support.microsoft.com/kb/246133

    3.4. SQL Server Agent jobs
    You can migrate your SQL Server Agent jobs using Enterprise Manager 2000. You can find more detail in the documentation below:

    How to script jobs using Transact-SQL (Enterprise Manager)
    http://msdn.microsoft.com/en-us/library/aa177024(SQL.80).aspx

    3.5. Other components
    You must also reconfigure the components such as SQL database Mail extended stored procedures, linked servers...

    3.6. Update statistics
    It is recommended that, after having committed or changed the compatibility mode to 100, execute the stored procedure: sp_updatestats

    The procedure allows sp_updatestats system to recalculate the statistics and make an update for all the statistics on each table in your base data. To avoid errors related to the statistics of the previous version.

    sp_updatestats (Transact-SQL)
    http://msdn.microsoft.com/en-us/library/ms173804.aspx





    Related Resources

    Resources for Upgrading to SQL Server 2008
    http://msdn.microsoft.com/en-us/library/cc936623.aspx
     
    SQL Server 2008 Upgrade Technical Reference Guide
    http://www.microsoft.com/downloads/details.aspx?FamilyID=66d3e6f5-6902-4fdd-af75-9975aea5bea7&displaylang=en

    Michel Degremont | Microsoft EMEA
    Product Support Services Developer - SQL Server Core Engineer |
  • Microsoft SQL Server

    Which Service Pack do I have to install on SQL Server ?

    • 0 Comments

    The model of delivery patch for Microsoft SQL server follows a very precise process that is described in the following article : http://support.microsoft.com/kb/935897/ 

    We always recommend applying the latest Service Pack (SP) for SQL. However, you should apply it only after validation on your test platform.

    - How to obtain the latest service pack for SQL Server 2000
    - How to obtain the latest service pack for SQL Server 2005
    - How to obtain the latest service pack for SQL Server 2008 
    - How to obtain the latest service pack for SQL Server 2008 R2 
    - How to obtain the latest service pack for SQL Server 2012

    What is the policy of publication of the cumulative update?

    The Cumulative Updates (CU) should be applied that knowledge to question, to address a specific issue (pro-active or re-active). The systematic application of the last internal CU can lead to changes in unwanted behavior of SQL Server.

    Lifecycle Supported Service Packs http://support.microsoft.com/gp/lifesupsps   - Mainstream

     

    SQL Server build : Last update : 16th April 2013 11.0.
      
    SQL 2012   
    11 SP1 CU3 11.0.3349
    11 SP1 CU2 11.0.3339 RECOMMENDED BUILD
    11 SP1 CU1 11.0.3321
    11 SP1 11.00.3000 
       
    11 RTM CU7 11.0.2405
    11 RTM CU5 11.0.2395
    11 RTM CU4 11.0.2383
    11 RTM CU3 11.0.2332
    11 RTM CU2 11.0.2325
    11 RTM CU1 11.0.2316
    11 RTM 11.00.2100.60
    11 RC0 11.0.1750.32
      
    SQL 2008 R2   
    10.5 SP2 CU6 10.50.4279
    10.5 SP2 CU4 10.50.4270
    10.5 SP2 CU3 10.50.4266
    10.5 SP2 CU2 10.50.4263
    10.5 SP2 CU1 10.50.4260
    10.5 SP2 10.50.4000RECOMMENDED BUILD
       
    10.5 SP1 CU12 10.50.2874
    10.5 SP1 CU11 10.50.2869
    10.5 SP1 CU10 10.50.2868
    10.5 SP1 CU9 10.50.2866
    10.5 SP1 CU8 10.50.2822
    10.5 SP1 CU7 10.50.2817
    10.5 SP1 CU6 10.50.2811
    10.5 SP1 CU5 10.50.2806
    10.5 SP1 CU4 10.50.2796
    10.5 SP1 CU3 10.50.2789
    10.5 SP1 CU2 10.50.2772
    10.5 SP1 CU1 10.50.2769
    10.5 SP1 10.50.2500.00
       
    10.5 RTM CU14 10.50.1817
    10.5 RTM CU13 10.50.1815
    10.5 RTM CU12 10.50.1810
    10.5 RTM CU11 10.50.1809
    10.5 RTM CU10 10.50.1807
    10.5 RTM CU7 10.50.1777
    10.5 RTM CU6 10.50.1765
    10.5 RTM CU5 10.50.1753
    10.5 RTM CU4 10.50.1746
    10.5 RTM CU3 10.50.1734
    10.5 RTM CU2 10.50.1720
    10.5 RTM CU1 10.50.1702
    10.5 RTM 10.50.1600
    SQL 2008   
    10 SP3 CU10 10.0.5835
    10 SP3 CU9 10.0.5829
    10 SP3 CU8 10.0.5828
    10 SP3 CU7 10.0.5794
    10 SP3 CU6 10.0.5788
    10 SP3 CU5 10.0.5785
    10.0 SP3 CU2 10.00.5768
    10.0 SP3 CU1 10.00.5766
    10.0 SP3 10.00.5500.00 RECOMMENDED BUILD
       
    10 SP2 CU11 10.0.4333
    10 SP2 CU10 10.0.4332
    10.0 SP2 CU8 10.00.4326
    10.0 SP2 CU7 10.00.4323
    10.0 SP2 CU6 10.00.4321
    10.0 SP2 CU5 10.00.4316
    10.0 SP2 CU4 10.00.4285
    10.0 SP2 CU3 10.00.4279
    10.0 SP2 CU2 10.00.4272
    10.0 SP2 CU1 10.00.4266
    10.0 SP2 10.00.4000.00
       
    10.0 SP1 CU15 10.00.2847
    10.0 SP1 CU14 10.00.2821
    10.0 SP1 CU13 10.00.2816
    10.0 SP1 CU12 10.00.2808
    10.0 SP1 CU11 10.00.2804
    10.0 SP1 CU10 10.00.2799
    10.0 SP1 CU9 10.00.2789
    10.0 SP1 CU8 10.00.2775
    10.0 SP1 CU7 10.00.2766
    10.0 SP1 CU6 10.00.2757
    10.0 SP1 CU5 10.00.2746
    10.0 SP1 CU4 10.00.2734
    10.0 SP1 CU3 10.00.2723
    10.0 SP1 CU2 10.00.2714
    10.0 SP1 CU1 10.00.2710
    10.0 SP1 10.00.2531.00
       
    10.0 RTM CU10 10.00.1835
    10.0 RTM CU9 10.00.1828
    10.0 RTM CU8 10.00.1823
    10.0 RTM CU7 10.00.1818
    10.0 RTM CU6 10.00.1812
    10.0 RTM CU5 10.00.1806
    10.0 RTM CU4 10.00.1798
    10.0 RTM CU3 10.00.1787
    10.0 RTM CU2 10.00.1779
    10.0 RTM CU1 10.00.1763
    10.0 RTM 10.00.1600.22
    SQL 2005   
    9.0 SP4 CU3 + Fix 9.00.5292 QFE Branch Recommended
    9.0 SP4 CU3 9.00.5266
    9.0 SP4 CU2 9.00.5259
    9.0 SP4 CU1 9.00.5254
    9.0 SP4 9.00.5000 RECOMMENDED BUILD
       
    9.0 SP3 CU12 9.00.4311
    9.0 SP3 CU11 9.00.4309
    9.0 SP3 CU10 9.00.4305
    9.0 SP3 CU9 9.00.4294
    9.0 SP3 CU8 9.00.4285
    9.0 SP3 CU7 9.00.4273
    9.0 SP3 CU6 9.00.4230
    9.0 SP3 CU5 9.00.4230
    9.0 SP3 CU4 9.00.4226
    9.0 SP3 CU3 9.00.4220
    9.0 SP3 CU2 9.00.4211
    9.0 SP3 CU1 9.00.4207
    9.0 SP3 9.00.4035
       
    9.0 SP2 CU17 9.00.3356 
    9.0 SP2 CU16 9.00.3355 
    9.0 SP2 CU15 9.00.3330 
    9.0 SP2 CU14 9.00.3328
    9.0 SP2 CU13 9.00.3325
    9.0 SP2 CU12 9.00.3315
    9.0 SP2 CU11 9.00.3301
    9.0 SP2 CU10 9.00.3294
    9.0 SP2 CU9+MS08-052 9.00.3282
    9.0 SP2 CU8 9.00.3257
    9.0 SP2 CU7 9.00.3239
    9.0 SP2 MS08-040 9.00.3233
    9.0 SP2 CU6 9.00.3228
    9.0 SP2 CU5 9.00.3215
    9.0 SP2 CU4 9.00.3200
    9.0 SP2 CU3 9.00.3186
    9.0 SP2 CU2 9.00.3175
    9.0 SP2 CU1 9.00.3161
    9.0 SP2 Rollup 9.00.3152
    9.0 GDR MS08-052 9.00.3073
    9.0 GDR MS08-040 9.00.3068
    9.0 SP2 9.00.3042
       
    9.0 SP1 Rollup 9.00.2153
    9.0 SP1 9.00.2047
       
    9.0 RTM 9.00.1399.06
    SQL 2000  
    8.0 MS09-004 8.00.2283 RECOMMENDED BUILD
    8.0 MS08-040 8.00.2273
    8.0 SP4 8.00.2039


    Microsoft Security Bulletin Search : http://www.microsoft.com/technet/security/current.aspx


    The SQL Server 2008 builds that were released after SQL Server 2008 Service Pack 1 was released
    http://support.microsoft.com/kb/956909 
      
    The SQL Server 2008 builds that were released after SQL Server 2008 was released
    http://support.microsoft.com/kb/956909/

    The SQL Server 2005 builds that were released after SQL Server 2005 Service Pack 2 was released
    http://support.microsoft.com/kb/937137/en-us
     
     Michel Degremont | Microsoft EMEA
    Product Support Services Developer - SQL Server Core Engineer |

     

  • Microsoft SQL Server

    Welcome to SQL Server ryders

    • 0 Comments

    Hello all,

    My name is Michel Degremont. I'm Technical Specialist on SQL Server since 4 years @ Microsoft EMEA. I've just created this blog to share with you various experience and question that I am meeting regularly.

    In this blog, I will talk about Microsoft SQL Server Core , Reporting Services, Analysis Services, Replication, Clustering and playing near or close to Microsoft SQL Server, the tools you can use when faced with certain types of problem, and good practices using our products. But in any case my blog will not replace the documentation, the KB articles or training.

    Some of you will wonder why I translated each item in 3 languages. The french is my native language. The English the common language of my virtual team at Microsoft. And Spanish to improve my writing in the target of a future project in Latin America.

    Thanks very much to my dude Rudy Duong helping me to design my blog :-)



    See you later.
    Michel




Page 1 of 1 (4 items)