migration from standard edition to enterprise edition

  • Hi,

    I have written a Point of Sale vb application that does all the processing on the client side and that fetches, deletes, inserts, and edits records in acentral sql data base through the vb ado object and stored procedures that are triggered from the vb applicatio on the client side.  The sql server that I use is enterprise edition.  Noe comes the real moment and, trying to save money on licences, I need to migrate to standard edition, let alone I don't need the capacity allowed by enterprise edition.  My question is whether I need to do alot of manipulation in the vb code as well as in the transferring the database from enterprise to standard edition.  I am somewhta concerened since I have been through this migration issue in the past when I migrated from MS Access to MS SQL Server 2000 Enterprise Edition -- anyone who has been through this knows thal all the sql statements and the tables and the queries needed to be migrated to the sql server instance and that was a demnading process, not tro mention lengthy.  So I ask the experts and the seasoned ones, would it be easy to migrate from Enterprise to Standard edition?  My intuition tells me that it should not be hard, that it could be done very fast, and that nothing would need to be rewritten in on the VB application provided that all worked fine with the Enterprise Edition.  But there is that chance that I'm wrong and that is why I would be greatly appreciative if anyone could shed some light on the issue in question.

     

    thank you all in advance

     

    Avi

  • As long as your application does not use the features of SQL Server Enterprise, you should be fine.

    See BOL Features Supported by the Editions of SQL Server 2000.

    Database Engine Features Supported by the Editions of SQL Server 2000

    This table shows the database engine features and the editions of SQL Server 2000 that support them.

    Database Engine FeatureEnterprise EditionStandard EditionPersonal EditionDeveloper EditionDesktop Engine (MSDE 2000)SQL Server CEEnterprise Evaluation Edition
    Multiple Instance SupportSupportedSupportedSupportedSupportedSupportedN/ASupported
    Failover Clustering (up to four nodes)SupportedN/AN/ASupportedN/AN/ASupported
    Failover Support in SQL Server Enterprise ManagerSupportedN/AN/ASupportedN/AN/ASupported
    Log ShippingSupportedN/AN/ASupportedN/AN/ASupported
    Parallel DBCCSupportedN/AN/ASupportedN/AN/ASupported
    Parallel CREATE INDEXSupportedN/AN/ASupportedN/AN/ASupported
    Enhanced Read-ahead and ScanSupportedN/AN/ASupportedN/AN/ASupported
    Indexed ViewsSupportedN/AN/ASupportedN/AN/ASupported
    Federated Database ServerSupportedN/AN/ASupportedN/AN/ASupported
    System Area Network (SAN) SupportSupportedN/AN/ASupportedN/AN/ASupported
    Graphical DBA and Developer Utilities, WizardsSupportedSupportedSupportedSupportedN/AN/ASupported
    Graphical Utilities Support for Language SettingsSupportedN/AN/AN/AN/AN/AN/A
    Full-Text SearchSupportedSupportedSupported (except on Windows 98)SupportedN/AN/ASupported
    SQL MailSupportedSupportedSupportedSupportedN/AN/ASupported
    Replication Features Supported by the Editions of SQL Server 2000

    This table shows the replication features and the editions of SQL Server 2000 that support them.

    Replication Publisher Feature

    Enterprise Edition

    Standard Edition

    Personal Edition

    Developer Edition

    Desktop Engine (MSDE 2000)

    SQL Server CE

    Enterprise Evaluation Edition
    Snapshot ReplicationSupportedSupportedSupportedSupportedSupportedN/ASupported
    Transactional ReplicationSupportedSupportedSubscriber onlySupportedSubscriber onlyN/ASupported
    Merge ReplicationSupportedSupportedSupportedSupportedSupportedAnonymous Subscriber onlySupported
    Immediate Updating SubscriptionsSupportedSupportedSupportedSupportedSupportedN/ASupported
    Queued Updating SubscribersSupportedSupportedSupportedSupportedSupportedN/ASupported
    Analysis Services Features Supported by the Editions of SQL Server 2000

    This table shows the Analysis Services features and the editions of SQL Server 2000 that support them.

    Analysis Services Feature

    Enterprise Edition

    Standard Edition

    Personal Edition

    Developer Edition

    Desktop Engine (MSDE 2000)

    SQL Server CE

    Enterprise Evaluation Edition
    Analysis ServicesSupportedSupportedSupportedSupportedN/AN/ASupported
    User-defined OLAP PartitionsSupportedN/AN/ASupportedN/AN/ASupported
    Partition WizardSupportedN/AN/ASupportedN/AN/ASupported
    Linked OLAP CubesSupportedN/AN/ASupportedN/AN/ASupported
    ROLAP Dimension SupportSupportedN/AN/ASupportedN/AN/ASupported
    HTTP Internet SupportSupportedN/AN/ASupportedN/AN/ASupported
    Custom RollupsSupportedSupportedSupportedSupportedN/AN/ASupported
    Calculated CellsSupportedN/AN/ASupportedN/AN/ASupported
    Writeback to DimensionsSupportedN/AN/ASupportedN/AN/ASupported
    Very Large Dimension SupportSupportedN/AN/ASupportedN/AN/ASupported
    ActionsSupportedSupportedSupportedSupportedN/AN/ASupported
    Real-time OLAPSupportedN/AN/ASupportedN/AN/ASupported
    Distributed Partitioned CubesSupportedN/AN/ASupportedN/AN/ASupported
    Data MiningSupportedSupportedSupportedSupportedN/AN/ASupported
    Data Transformation and Decision Support Query Features Supported by the Editions of SQL Server 2000

    This table shows the data transformation and decision support query features and the editions of SQL Server 2000 that support them.

    Analysis Services Feature

    Enterprise Edition

    Standard Edition

    Personal Edition

    Developer Edition

    Desktop Engine (MSDE 2000)

    SQL Server CE

    Enterprise Evaluation Edition
    Data Transformation ServicesSupportedSupportedSupportedSupportedDeployment onlyN/ASupported
    Integrated Data MiningSupportedSupportedSupportedSupportedN/AN/ASupported
    English QuerySupportedSupportedSupportedSupportedN/AN/ASupported

    ©1988-2004 Microsoft Corporation. All Rights Reserved.

     

     

  • thanks for the prompt reply and the BOL tables you have attached -- it really puts me in a better position.  From looking at those tables, I think that the only thing I will need to do is manipulate the indexed views that I have.  My question is whether the migration will necessitate rewriting the indexed views, or would the Standard Edition ignore the indexed views.

     

    Another mind boggling issue is the transfer itself  -- suppose I have a database called mydatbase that contains tables, views, stored procedures, etc.  Will I be able to transfer the entire databes in one shot or will I need to deal with the objects seperately.  That is, is is possible just to copy the database from the enterprise edition to the stored procedure?

     

    Once again, I appreciate the help. 

     

    Avi

  • I perfer to copy entire database over by using sp_detach_db/sp_attach_db or backup/restore commands.

  • thank you again for the prompt reply.  From your last reply I understand that it is possible to use the restore functionality of the sql server with respect to a database created in enterprise edition such that the restore will be prformed in standard edition.  Thoug I onlt have the enterprise edition right now, I intennd to purchse the licenses per Standard edition, and once I do so, I'll use the restore option. 

     

    thanks for the good help

     

    Avi

  • You mentioned that you use indexed views. To get that performance in standard edition, you'll have to modify your queries a bit.

    To use indexed views in SQL Server 2000 Standard Edition, you must specify the NOEXPAND view hint in the FROM clause of the SELECT statement.

    A simple example looks like this:

    SELECT * FROM myView WITH (NOEXPAND)

    According to BOL, the following SET options must be set as follows:

    SET NUMERIC_ROUNDABORT OFF

    SET ANSI_NULLS ON

    SET ANSI_WARNINGS ON

    SET CONCAT_NULL_YIELDS_NULL ON

    SET ANSI_PADDING ON

    SET ARITHABORT ON

    SET QUOTED_IDENTIFIERS ON

    Also, the full syntax from BOL is:

    < view_hint > ::= { NOEXPAND [ , INDEX ( index_val [ ,...n ] ) ] }

    Arguments

    NOEXPAND

    Specifies that the indexed view is not expanded when the query optimizer processes the query. The query optimizer treats the view like a table with clustered index.

    INDEX ( index_val [ ,...n ] )

    Specifies the name or ID of the indexes to be used by SQL Server when it processes the statement. Only one index hint per view can be specified.

    INDEX(0) forces a clustered index scan and INDEX(1) forces a clustered index scan or seek.

    If multiple indexes are used in the single hint list, the duplicates are ignored and the rest of the listed indexes are used to retrieve the rows of the indexed view. The ordering of the indexes in the index hint is significant. A multiple index hint also enforces index ANDing and SQL Server applies as many conditions as possible on each index accessed. If the collection of hinted indexes does not contain all columns referenced in the query, a fetch is performed after retrieving all the indexed columns.

  • hello mkeast,

    Thank you for your input -- it's always good to know as many details as possible before embarking on a new road of migrating from one system to another.

    From your words I understand that it is still possible to make the Standard Edition take account of the

  • hi again,

     

    Something happened with respect to my last reply--- not all the contents of that reply went through. So to continue from where I was cut off....

     

    Thank you for your input -- it's always good to know as many details as possible before embarking on a new road of migrating from one system to another.

    From your words I understand that it is still possible to employ the indexed view with standard Edition provided that I ass the NOEXPAND hint, along with abiding by some rules regarding the settings of some variables.  Please correct me if I'm wrong.

    If that is the case, I wanted to know what would happen if I just transfer the indexed views from Enterprise to Edition without attnding to the modification I need to embed with respect to Indexed Views.  It might seem a bit out of the mission, but I have to admit that there are not too many indexed views in my database, and I'm more concentrated on the migration task.  So assuming it's possible to restore the database created with Enterprise as a new database in Standard Edition, would this process go through without manipulating the indexed views with the NOEXPAND hint? 

     

     

    once again, thanks for your help

     

    Avi

  • Indexed views should not be a problem. The difference between Standard edition and Enterprise edition is that the query optimizer considers indexed views automatically in the Enterprise edition but not in the Standard edition.

     

  • Once again, mkeast, many thanks for the important input that I will certainly take account of once going about migrating from the expensive Enterprise Edition to the less expensive Standfard Edition

     

    Avi

  • I want to ask you a question

    do you intend to migrate from Enterprise to Standard in the same Cmputer ?

    by the way make a backup of your working Database and restore it in another SQL Server Standard (Temp Server).

    or make a Detach , Copy, and Attach.

    I hope this help u.


    Alamir Mohamed
    Alamir_mohamed@yahoo.com

  • hi Alamir,

     

    For financial reasons, I would like to use the Standard rather than the Enterprise.  Currently I have an instance of SQL enterprise edition, and all the databases I need reside in that instance.  I believe the migration will take place in the same computer. 

     

    Your tip is very useful and technical, as I knew that the migration is possible but I did not exactly how to do it, so I now I know that your way is the way to do it.

     

    Thank you very much for your support

     

    Avi

  • by the way, the best way to remove SQL Server is to :

    1- Put your Setup CD of your SQL Server Enterprise Ed.

    2- make a steps as you install a new DB server .. but in last Screen , it will ask you to install  a new instance or to Remove the SQLServer ... Select to remove it

    Now SQL Server is uninstalled ...

    3- Restart your server and Install SQL Server Standard Edition ..

    4- attach your DB (I think you will find it in the same place you keep it .. but it is recommended to move it to any place rather than [program files] Folder)

    I hope this help u much


    Alamir Mohamed
    Alamir_mohamed@yahoo.com

Viewing 13 posts - 1 through 12 (of 12 total)

You must be logged in to reply to this topic. Login to reply