Features No longer used from Sql Server 2005 to 2008 R2

As part of our Migration process from 2005 to 2008 R2, which Specific features should i be taking into consideration in Upgrade to Sql Server 2008 R2 in prespective of T-Sql queries already written in 2005 and need to be changed to 2008 r2 compatibility.Thanks!
Srikanth

According to the Link, SET ROWCOUNT function has to be replaced with TOP keyword , but SET ROWCOUNT is still used in SQL Server 2008 R2 and its later versions according to microsoft :
http://msdn.microsoft.com/en-us/library/ms188774.aspx 
Can anyone help me in this regard.Thanks!
If you read further below there is a note mentioned as
Using SET ROWCOUNT will not affect DELETE, INSERT, and UPDATE statements in a future release of SQL Server. Avoid using SET ROWCOUNT with DELETE, INSERT, and UPDATE statements in new development work, and plan to modify applications that currently use it.
For a similar behavior, use the TOP syntax. For more information, see TOP (Transact-SQL).
MS cannot remove it completely knowing to fact that we are Lazy and will not immediately change our code :)
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 Articles

Similar Messages

  • Reading BLOB from SQL Server 2005 using DB Link from Oracle 10g

    Hi All,
    I am trying to read a table's data from SQL Server 2005 using ODBC DB Link created in Oracle 10g (10.2.0.3/4) database. I am not using oracle gateway.
    I am able read all data except for the BLOB data from SQL server 2005. It gives error given below when I try to execute query SELECT * from T_TRANSACTION_DATA@sdeslink inside a stored procedure:
    ORA-22992: cannot use LOB locators selected from remote tables
    Kindly help how to read BLOB from SQL server 2005 inside Oracle 10g.
    Best Regards!
    Irfan

    Irfan,
    If you can read the blob data using 10.2 HSODBC then there should be no problem using the 11g gateway.
    I recommend you download the latest version which is 11.2.0.3 available from My oracle Support as -
    Patch 10404530: 11.2.0.3.0 PATCH SET FOR ORACLE DATABASE SERVER
    This is a full version and does not need a previous version to have bene installed. When installing it needs to be in a completlely separate ORACLE_HOME from the existing 11.2 install.
    For the Ora-22992 problem have a look at this note in My Oracle Support -
    Ora-22992 has a workaround in 10gR2 (Doc ID 436707.1)
    Regards,
    Mike

  • Migration from of database and app from SQL server 2005 to Oracle 10g

    Hello Every body,
    Lately, I have been requested to migrate one inhouse developed hub application from SQL server 2005 to Oracle 10g. The objective is to move application and also the database to Oracel 10g.
    Here is the current platform:
    OS Win 2008 64 bit
    JDK 1.4.2
    JBoss 3.2.5
    EJB 2.1
    My question is what kind of issues you guys see in above upgrade. As far I know, Schema and Database migration can be done by Oracle workbench. Oracle 10g supports JDK 1.4. Oracle 10g also supports EJB 2.1.
    Anything, I need to take into consideration or any risks or problems. I would like to list down all the risks, and accordingly, I am thinking of start the upgrade.
    Thanks in advance.
    Regards,
    Zeeshan Qureshi

    In general the Java/J2EE application needs work in the following categories:
    1. Connection Settings: Use Oracle JDBC drivers, create new data sources, connection pools and what not. Disable AUTOCOMMIT for Oracle JDBC Connections.
    2. For EJBs, you should regenerate the entity beans because some object names/column names might have changed in oracle.
    3. Any custom SQL that is in use in the EJBs will have to be ported to Oracle just as you would do in stored procedures and other applications.
    4. For Java front-ends, if you are using callouts to stored procedures and expecting result sets then they will require some changes. You need to modify the stored procedure call signature to include the REF CURSOR variables and process them.
    5. Changes to any SQL Server specific database functions manipulating character/date data will be required.
    6. CLOB/BLOB/XML apis are different across databases so if you are using those then focus on them as well.
    7. Retreiving Auto/generated keys from database also may need changes from what I have seen.
    Hope this helps..
    Regards
    Prakash
    NOTE: Not sure why but my posts from yesterday are not visible today. Even worse is that I can see them in one browser (FireFox) but not in Internet explorer. Crazy browser day I am having.

  • Automating Data Migration from SQL Server 2005

    Hi All,
    I need to migrate data from SQL Server 2005 to Oracle DB ( Datawarehouse). The data migration involves updating Dimensions and Fact table. I have got painful job of switching topology to point to over 100 different weekly SQL DBs ( in sequence) and pull the data into DW. How can I automate my ODI process to switch from one after the other.
    Any Ideas?
    KS

    ODI Variables are there to help you with this. Please go through this post at [http://blogs.oracle.com/dataintegration/2009/05/using_odi_variables_in_topolog.html] .
    This will show you how to use a variable Oracle data server.
    On similar lines you should be able to switch to any of your 100 weekly SQL server DBs.
    And loop in a sequence to load data from all of them.
    Hope that helps

  • Loading Dimension members from SQL Server 2005 to Essbase Outline.

    Hi Everybody,
    I need to load dimension members from SQL server 2005 to Essbase outline:
    Option 1:
    I can retrive members from SQL to text file and then using Rule files load dimension members into outline.
    option 2:
    Using SQL Interface in System 9.
    Option 3:
    I can use ETL tools (ODI, Informatica etc)
    I used Option 3 frequently and familier with, But i would like to use option 1 & option 2. If anybody has used option 1/2 kindly advice with correct steps
    I would be very greatful for any help.
    Version: 9.3.1
    Regards
    Kumar N

    Hi Kumar,
    For Option 2:
    You have to create one DSN for the particular database(SQL Server) from where you want to retrieve the data.
    Then Open Data Prep Editor and From File Menu Click on Open SQL and it will ask for the DSN connection details.
    Enter the DSN details and write the query....
    Thanks,
    prathap

  • MIGRATE ODI FROM SQL SERVER 2005 TO ORACLE

    Hello,
    Presently we have our master and work repositories in sql server 2005.We also have our source tables in sql server 2005.We are planning to migrate our repositories from sql server 2005 to oracle 10g.We are also migrating our source tables from sql server 2005 to oracle.Do we need to redo all our development in oracle.Can any body help with the steps to migrate our repositories and development work from sql server 2005 to oracle 10 g.
    Thanks,
    Revanth

    dbf it's not sql server.
    >
    SQL Server databases have three types of files:
    Primary data files
    The primary data file is the starting point of the database and points to the other files in the database. Every database has one primary data file. The recommended file name extension for primary data files is .mdf.
    Secondary data files
    Secondary data files make up all the data files, other than the primary data file. Some databases may not have any secondary data files, while others have several secondary data files. The recommended file name extension for secondary data files is .ndf.
    Log files
    Log files hold all the log information that is used to recover the database. There must be at least one log file for each database, although there can be more than one. The recommended file name extension for log files is .ldf.
    >
    for dbf to oracle see http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:711825134415

  • Migrating From Sql Server 2005 to Oracle (Uniqueidentifier Issue)

    If i want to migrate from SQL SERVER 2005 to Oracle, How Oracle will deal with my primary key columns in almost all tables having datatype of UNIQUEIDENTIFIER ???
    is there any concept of uniqueidentifier in Oracle same as in SQL SERVER ????
    Regards

    When you migrate your SP's from SQL Server to Oracle the parser basically does 'as good a job as it can' to migrate them.
    Luckily, using SQL Developer you are able to look at the source SP and converted SP in windows next to each other and see what oracle has done to them.
    You can also paste your SQL Server code into a window and ask SQL Developer to translate it to oracle for you. Use the 'Translation Scratch Editor' on the migration menu if this is something that interests you. I was told that the parser used by the Translation Scratch Editor is different to the parser used when migrating the whole database.

  • Upgrade from SQL Server 2005 to SQL Server Express 2014 Enterprise

    I was just wondering if it is possible to upgrade from SQL Server 2005 to SQL Server Express or will I have to build the environment and then migrate the database?
    Thanks for any help

    Hi Lance_Romance,
    As others’ posts, you don’t have to build new environment and then migrate databases between SQL Server instances, you can use the in-place upgrade strategy to upgrade from SQL Server 2005 to SQL Server 2014 .Please note that SQL Server 2005 SP4 is required
    in this case.
    Before upgrading , I recommend you to use
    upgrade advisor, it can help to analyze your existing SQL Server deployment and inform you of issues that need to be addressed.  In addition, please perform a full server backup prior to performing the in-place upgrade, which will be an important way
    to revert your SQL Server to its previous state if the upgrade does not go as planned. For more details, please review this blog:
    Upgrading to SQL Server 2014: A Dozen Things to Check.
    Thanks,
    Lydia Zhang

  • Steps to migrate Project Server 2007 from SQL Server 2005 to SQL Server 2008?

    We need to migrate Project server 2007 from SQL Server 2005 to SQL Server 2008.
    1. Is it as simple as doing backup and restore of databases and pointing Project Server to the new DB server? Or there are some specific steps that should be followed?
    2. Article at
    http://technet.microsoft.com/en-us/library/dd207290(office.12).aspx is about moving databases from one DB server to another (same versions). At one place, it mentions to
    backup all databases but at another place it mentions that
    You should only back up the Draft and Published databases from the source database server.
    What should be done when moving from 2005 to 2008?
    Regards,
    Amit
    Gupta

    High Level step you can get this form  Tech net or MSDN too
    Shut down the SharePoint servers (App / Web)
    backup all of the SharePoint and Project
    Server databases from the SQL 2005 server
    copy these over to the new SQL 2008 server and restore all of
    the databases with the same names
    script out all of the logins used by SharePoint/PS from the SQL 2005 server and create these on the SQL 2008 server
    script out the Delete expired sessions SQL job from the SQL 2005 server and create this on the SQL 2008 server - or create them manually on the SQL 2008 server
    repoint the SQL server DNS Alias from the SQL 2005 server to the SQL 2008 server, if SharePoint and Project Server was installed using the actual SQL server name and no alias, you can create a DNS alias for the old SQL 2005 server name that points to the SQL
    2008 server. This is so that the SharePoint servers can still connect to the same SQL server name
    Start up the SharePoint servers
    kirtesh

  • Anybody using MS SQL Server 2005 as dehydration store?

    anybody using MS SQL Server 2005 as dehydration store?
    Please give me a reply.
    I am facing lot of issues with this.
    Thanks
    V Kumar
    Edited by: user640551 on Oct 15, 2008 3:58 AM
    Edited by: user640551 on Oct 16, 2008 2:38 AM
    Edited by: user640551 on Oct 16, 2008 8:07 AM

    I have raised an SR. I have provided them with error code,screen shots and log files.
    They are suggesting me to do a fresh install of SOA. But I feel that is not the correct solution.
    Now I can do that as i have only two processes running on the server.
    Imagine If I have lof of processes running on the server. moreover I can't do it every time when i face this kind of errors on the PROD server.
    Anyway thanks for your suggestion.
    How long you have been working with oracle SOA suite?
    Thanks
    V Kumar

  • Migration from SQL Server 2005 to Oracle 10g

    Dear buddies,
    I need to migrate my tables with data from SQL Server 2005 to Oracle 10g. How can I do it in the best possible way?
    Please guide me.
    Nith

    Nith,
    I doubt if there is one best practice that can cover all cases of migrating data from sql server to Oracle. l generally find various factors case-by-case that make me chose one approach over the other. Without considering the business case and environment specific factors, some of the things I would like to know would be: The data types of the tables columns, table sizes, number of tables and if this is a one time process or a recurring process.
    One of the easiest (some times rather pesky) process would be:
    -Dump source data (Sql Server data) into flat files, csv or any preferred format
    -Setup a set of staging set of tables in the destination DB (Oracle in your case). You can setup the stage tables to enforce data-types, value sets and even some level of integrity constraints or any data logic or what ever you would like to filter out. Load the flat file data into a set of Oracle stage tables (Sql*Loader would be a good candidate)
    -You can always move data from these stage tables to you application tables
    You can script this whole process to run as batch or on demand or how ever you would like.
    I am sure you can google and find a bunch of proprietary as well as open source tools to do the same with little to a lot of work.
    good luck!

  • Migration from sql server 2005 tables to oracle tables.

    Hi,
    Kindly give the steps to migrate from sql server 2005 tables to oracle tables.
    Kindly advise
    Oracle database version:
    Oracle Database 10g Release 10.2.0.1.0 - Production
    PL/SQL Release 10.2.0.1.0 - Production
    "CORE 10.2.0.1.0 Production"
    TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
    NLSRTL Version 10.2.0.1.0 - Production
    Edited by: 873127 on Jul 18, 2011 9:46 PM

    Are you migrating or taking continual updates?
    If migrating it might be worth considering The SQLDeveloper Migration Workbench (which moves more than just data)..
    http://www.oracle.com/technetwork/database/migration/sqldevmigrationworkbench-132899.pdf
    Cheers
    David

  • Replication Configuration issue after migrating from SQL Server 2005 to SQL Server 2008 R2

    Hi All,
    This weekend we have migrated one of our Core system from SQL Server 2005 SP3 to SQL Server 2008 R2 SP2. Migration went successful. However when we are trying to Configure transaction replication we are getting below Error:
    Msg 21854, Level 16, State 1, Procedure sp_MSrepl_addarticle, Line 573
    Could not add new article to publication 'abc' because of active schema change activities or a snapshot is being generated.
    Background:
    Database compability Changed from 90 to 100.
    A quick Help would be appreciated.
    Best Regards - Viral
    Thanks - Viral

    Is a snapshot being generated? the message seems to indicate one is.
    looking for a book on SQL Server 2008 Administration?
    http://www.amazon.com/Microsoft-Server-2008-Management-Administration/dp/067233044X looking for a book on SQL Server 2008 Full-Text Search?
    http://www.amazon.com/Pro-Full-Text-Search-Server-2008/dp/1430215941

  • How to access Oracle 8g from SQL Server 2005 SP3 EE 64 Bits ?

    Dear All,
    How to access Oralce 8g from SQL Server 2005 SP3 EE 64 Bits (liked server).
    Best regards,
    Miguel Gavinhos

    Hi!
    For the Oracle version is 8.1.6. what should I install, to access Oracle trought a linked server.
    Best regards
    Miguel Gavinhos

  • Siebel database migration from Sql Server 2005 to Oracle 11g RAC.

    Hi,
    We would like to migrate our Siebel database from Sql Server 2005 to Oracle 11g RAC. Can you suggest the best way to do that ?
    The current configurations are:
    Application : Siebel
    database : SQL Server 2005
    The hardware can be changed if needed. Can you please suggest the best approach ?
    Thanks,
    Naveen.
    Edited by: Naveen Kumar C on Mar 18, 2011 9:10 PM
    Edited by: Naveen Kumar C on Mar 18, 2011 11:44 PM

    Hi Naveen,
    We would like to migrate our Siebel database from Sql Server 2005 to Oracle 11g RAC. Can you suggest the best way to do that ?You will need much more which suggestions.
    You will need a Siebel professional which has done this type of migration. Migrating the Database is not a task so hard, after migrating your environment should be functional and healthy it is usually the task problematic.
    The hardware can be changed if needed. Can you please suggest the best approach ?We can recommend the minimum recommended, but this documentation already does, you need to do a analysis on your environment and ask a vendor Siebel tell the which is recommended for you and how to find the best "number" for you, in your case is very hard because everything changes.
    Check this Step-by-Step
    Migrating a Microsoft SQL Server Database to Oracle Database 11g
    http://st-curriculum.oracle.com/obe/db/hol08/sqldev_migration/mssqlserver/migrate_microsoft_sqlserver_otn.htm
    Regards,
    Levi Pereira

Maybe you are looking for