SQL Server 2000 to 2005

We have the following scenario:
Have an enterprise database whit MSSQLServer2000 ready to start to work in the final customer enterprise.
Now we have to restore that database in the customer MSSQLServer, which runs on 2005 version.
Do you know if we can have any incompatibility or problem?
Have you deal with this before?
Any help will be appreciated. Thank you!

Hello,
The only problem could be detected is temporary table exists. I suggest you to perform database check up before restore and upgraded. Try to use this query in SQL analyzer :
--Upgrade Checks Script for note no. 1000846 for 2004A version or higher
--Version 2.0
--Last Update on 19.06.2007
select 'Please refer to Note 1047010' where exists
(select t0.docnum as OVPM_docnum,             
t1.docnum as VPM1_docnum,                    
t1.checknum as VPM1_checknum,                
t2.pmntnum as OCHO_pmntnum ,                 
T2.CHeckKey as OCHO_Ket                      
from OCHO T2
Left join OVPM T0 on T2.PmntNum = T0.Docnum  
Left Join VPM1 T1 on T2.PmntNum = T1.Docnum  
where t1.docnum is null and T0.docnum is null
And t2.pmntnum <> 0)
Union all
select 'Please refer to Note 1047010' where exists
(select t0.docnum as OVPM_docnum,                 
t1.docnum as VPM1_docnum,                        
t1.checknum as VPM1_checknum,                    
t2.pmntnum as OCHO_pmntnum ,                     
T2.CHeckKey as OCHO_Ket                          
from OCHO T2                                     
Left join OVPM T0 on T2.PmntNum = T0.Docnum
Left Join VPM1 T1 on T2.PmntNum = T1.Docnum      
where T0.docnum is not null and T1.docnum is null
And T0.checksum <> 0)
Union all
select 'Please refer to Note 920198' where exists
(select BankCode, Account, branch,  country from DSC1 where
bankcode not in (select bankcode from ODSC) )                   
Union all
select 'Please refer to Note 920198' where exists
(Select  T0.BankCode, T0.CountryCod, T1.Bankcode,   
T1.Bankcode, T1.country from ODSC T0 inner join DSC1 T1       
on T0.bankCode = T1.Bankcode and T0.CountryCod <> T1.country ) 
Union all
select 'Please refer to Note 923307' where exists
(Select  T0.Name as 'Object',                                    
Case  T0.Type                                                   
when 'V' then 'View' When 'FN' then 'User defined Function'     
when 'U' then 'User table'                                      
when 'P' then 'Stored procedure'                                
when 'TR' then 'Trigger'                                        
else T0.Type end as 'Object type',                              
T3.Name as 'Dependent on'                                       
from sysobjects T0                                              
inner join sysdepends T2 on T0.id = T2.id                       
inner join sysobjects T3 on T2.depId = T3.id                    
Where T0.type not in ('S') and                                  
T2.deptype <> 0 and T3.id in                                    
(select  id From sysobjects where type = 'U' and (len(name)= 4 or
len(name)= 5) and                                               
name not like '@%' and uid = 1)                                
Group by T0.Name, T3.Name, Case  T0.Type                        
when 'V' then 'View' When 'FN' then 'User defined Function'     
when 'U' then 'User table'                                      
when 'P' then 'Stored procedure'                                
when 'TR' then 'Trigger'                                        
else T0.Type end     )                                           
Union all
select 'Please refer to Note 878123' where exists
(select absentry, linenum, loginstanc, objtype, count(*)             
from ADO5                                                           
group by absentry, linenum, loginstanc, objtype having count(*) <> 1 )
Union all
select 'Please refer to Note 823304' where exists
(SELECT count() FROM OALT where code <0 having count() <6)
Union all
select 'Please refer to Support Center with Note no. 823129' where exists
(SELECT * FROM CUFD T0 WHERE T0.NotNull = 'Y' and T0.Dflt IS NULL)
Union all
select 'Please refer to Note 909693' where exists
(Select * from ORPD where CreateDate Is null)
Union all
select 'Please refer to Note 909693' where exists
(Select * from OPCH where CreateDate Is null)
Union all
select 'Please refer to Note 928403' where exists
(Select Itemcode, manbtchnum, mansernum From OITM where  
invntitem = 'N' and (manbtchnum = 'Y' or mansernum = 'Y'))
Union all
select 'Please refer to Support Center with Note no. 920503' where exists
( Select *                                           
From OWKO                                          
where OWKO.OrderNum in                             
(SELECT T0.OrderNum FROM OWKO T0 WHERE             
T0.OrderDate > T0.ExpFinishD or ExpFinishD is null) )
Union all
select 'Please refer to Support Center with Note no. 920503' where exists
(Select *             
From OWKO            
where Instance is null)
Union all
select 'Please refer to Support Center with Note no. 920503' where exists
(select t3.itemcode from oitm t3                                        
where t3.invntitem='n' and t3.itemcode in                             
(SELECT t2.code  FROM ITT1 T2 WHERE T2.Father in                       
(SELECT T0.ItemCode FROM WKO1 T0 INNER JOIN OWKO T1 ON T0.OrderNum =   
T1.OrderNum                                                            
WHERE T1.Status ='o' GROUP BY T0.ItemCode) )                           
and t3.itemcode not in (select t4.itemcode from oitw t4))
Union all
select 'Please refer to Note 994071' where exists
(SELECT COUNT(*) FROM
  SELECT T2.DocEntry
    FROM [dbo].[OINM] T0
      INNER JOIN [dbo].[DLN1] T1 ON T0.CreatedBy = T1.DocEntry AND T0.DocLineNum = T1.LineNum
      INNER JOIN [dbo].[INV1] T2 ON T2.BaseEntry = T1.DocEntry AND T2.BaseLine = T1.LineNum AND T2.BaseType = 15
      INNER JOIN [dbo].[OINV] T3 ON T3.DocEntry = T2.DocEntry
      WHERE T0.TransType = 15  AND (T2.LineStatus <> 'C'  OR  T3.DocStatus <> 'C')
    GROUP BY T2.DocEntry, T2.LineNum
) T
having count (*)>30000)
union all
select 'Please refer to Note 1001878' where exists
(select *
from rdoc
where doccode not in (select distinct doccode from ritm))
union all
select 'Please refer to note no. 970630' where exists
(select *
from ouqr
where qtype = 'R' and qstring not like 'SELECT%')
union all
select 'Please refer to Support Center with Note no. 1014856' where exists
(select  (select count() from VPM1 ) -(select count() from OCHO where
CreateJdt = 'N' and PmntNum <> 0  )
where (select count() from VPM1 ) -(select count() from OCHO where
CreateJdt = 'N' and PmntNum <> 0  ) > 0)
union all
select 'Please refer to Support Center with Note no. 946360' where exists
(select serialnum from OWKO
group by serialnum
having count(*)>1)
union all
select 'The Databse you are trying to upgrade is after ugrade failure attempt, please try to upgrade the original database.' where exists
(select * from sysobjects t0
inner join cinf on 1=1
where cinf.version<680000 and t0.xtype='U' and ( t0.[name] ='OACP' or t0.[name]='ALR3' )  )
union all
select 'Please refer to Note 1056335' where exists
(select * from sysobjects where [name] like '@%'
and name not in
(select '@'+tablename from outb) and xtype='U')
let me know if you find the result.
Rgds,

Similar Messages

  • Unable to install SQL server 2000 and 2005 on Satellite A205-s5831

    Hello everyone.
    I Needs some helps from all of you.
    I have Toshiba Laptop Satellite A205-S5831.
    Its Have Windows Vista Home Premium.
    And I am unable to install SQL server 2000 and 2005.
    I also Unable to Install Windows XP SP2.
    Problem is SATA driver.
    Plz Help me ...!
    Response me

    Hi
    The Windows XP needs a SATA driver if you want to install it on the notebook with SATA HDD controller.
    The SATA driver can be found in the Intel Storage Manager.
    I would recommend using the nLite program to include a SATA driver into the new Windows XP CD and then to boot from the new created XP CD.
    Here you will find all details regarding the nLite:
    http://www.nliteos.com/
    Regarding SQL server issue;
    Maybe you will be able to install in on Windows XP. Possibly there is a compatibility issue between the Vista and the SQL server software

  • MS SQL server 2000 to 2005 migration

    Hi Experts,
    My application is developed in jdk1.4 and JRUN using MS SQL server 2000.Now I want to upgrade with MS SQL server 2005
    Few questions here:
    1) How can I achieve this ?
    2) Is jdk 1.4 compatible with MS SQL Server 2005 ?
    3) How can I change the driver?
    Thanks
    Harshmeet

    Hi Harshmeet,
    As your application is not SAP, please follow the steps in the link below for upgrade
    how can I upgrade SQL server 2000 to SQL server 2005 sp2 - SQL Server - www.windows-noob.com
    For JDK support refer link below
    using Microsoft SQL Server 2005 JDBC Driver with JDK 1.3 (or JRE 1.3)
    Hope this helps.
    Regards,
    Deepak Kori

  • BO 6.5 switching from SQL Sql Server 2000 to 2005

    Need information for BO 6.5 on issues switching from Sql Server 2000 to Sql Server 2005.
    Thanks in advance for any information!

    If you're migrating the Repository database as well from SQL 2000 to SQL 2005, you need to also to update the security files by taking the steps below:
    1. Stop the server
    2. Rename the existing security files (bomain.key and bomain.lsi)
    3. Run the Safe Recovery to regenerate a new bomain.key
    4. Run the Scan, Repair and Compact of the Repository
    5. Copy the new bomain.key to the locdata located at u2026\nodes\<server>\<cluster>\locdata
    Regards,
    Jeff

  • Resource Breaks When Upgrade from SQL Server 2000 to 2005 - Help!

    I have a resource that connects to mutiple databases:
    <ResourceAttribute name='Databases' displayName='com.waveset.adapter.RAMessages:RESATTR_DATABASES'
    description='com.waveset.adapter.RAMessages:RESATTR_DATABASES_HELP' multi='true'>
    <value>dbOne</value>
    <value>dbTwo</value>
    <value>Employee_Info</value>
    </ResourceAttribute>
    It all works fine when the backend SQL server is 2000, but since we've upgraded it to 2005, the connection fails with this error:
    Test connection failed for resource(s):MenuSQL: Required database dbOne not found.MenuSQL: Required database dbTwo not found.MenuSQL: Required database Employee_Info not found.
    I'm using the MS SQL JDBC driver for 2005 and I've verified that my connection url is good:jdbc:sqlserver://%h:%p;databaseName=%d;integratedSecurity=true; where %h and %p are the correct host and ports.
    I turned on tracing of com.waveset.adapter.MSSQLServerResourceAdapter and com.waveset.adapter.JdbcResourceAdapter and I don't see any errors or issues reported.
    If I set it back to connect to the SQL 2000 databases, it works. If I change it to only connect to one database, rather than 3 it works. However, I need this working on 2005 with all three databases. Any ideas on what I can look at or how I can further troubleshoot this?
    Thanks in advance for any help!

    Turns out the driver I'm using is fine (sqljdbc.jar). The problem is that the IdM source code executes "sp_databases" to list the databases. In SQL versions prior to 2005 this would work by default. But with 2005 a user has to be granted permissions to do so.
    To fix it you need to either grant the IdM ID you're using VIEW DEFINITION permission at an appropriate scope: object level, database level or server level or modify the stored procedure so that it executes under the credentials of the owner.
    Here's some info: http://msdn.microsoft.com/en-us/library/ms187113.aspx

  • SQL Server 2000-2005/2008 Upgrade

    I was wondering if there was anyone out there who had been using SQL Server 2000, and upgraded it to SQL 2005/2008 during a tools upgrade? We are currently on tools 8.44 and performance is bogging down at times on SQL 2000. Curious to see if and what your experiences were? Also has anyone had any success data archiving with tools 8.44?
    Appreciate replies

    Hi,
    I have successfully done an upgrade from tools 8.44 to 8.49 (also sql server 2000 to 2005 sp3) in 2009
    The performance was way better in 2005, also managing the database :).. also you wont hav to face the dreadful deadlock problem in 2005
    I should say that this activity was part of an application+tools upgrade

  • SQL Server 2000\2005 compatibility with Active Directory 2012

    Hi All,
    We are currently using Active Directory 2003 and will be upgrading to AD 2012.  I'm trying to determine if there is any known compatibility issues when running older versions of SQL Server (2000 and 2005) when upgrading to AD 2012.   I've
    read forums from when others went from AD 2003 to AD 2008 and didn't experience any issues.  We have the newer versions of SQL but I'm not too concerned about these.  Any advice would be greatly appreciated?   Has anyone been through
    this process. 
    Thanks,

    Hi CraftsmanRobert,
    Based on my understanding, you used Active Directory 2003, then it would be upgraded to Active Directory 2012. You wanted to run older versions of SQL Server (2000 and 2005) with Active Directory 2012.
    Firstly, there can be a compatibility problem when run older version with Active Directory 2012. SQL Server 2005 (the release version and service packs) and earlier versions of SQL Server are not supported on Windows Server 2012 R2, Windows Server 2012,
    Windows 8.1, or Windows 8. For more information, please refer to this article: How to use SQL Server in Windows and Windows Server environments (http://support.microsoft.com/kb/2681562/en-us).
    Besides, Microsoft doesn’t provide assisted support for SQL Server 2000 and SQL Server 2005 already. Please upgrade the existing instance of SQL Server 2000 and SQL Server 2005 to a new version like SQL Server 2012. You can download SQL Server 2012 Express
    from this link:
    http://www.microsoft.com/en-us/download/details.aspx?id=29062.
    Best regards,
    Qiuyun Yu

  • ODI's CDC Support for MS SQL Server 2000

    Hi,
    Does ODI provides CDC with log for MS SQL Server 2000? I read somewhere that we need to get a separately priced adapter for this because ODI supports only trigger based CDC for MS SQL Server 2000 and 2005.
    Could anyone please shed some light on this?
    Thank you.

    Hi,
    Are you able to find out any info on this?
    Appreciate your help on any leads..
    Regards
    Naveen

  • Regarding ReCreating Catalog in SQL Server 2005 which was existing in SQL Server 2000

    Hello
    I was using SQL SERVER 2000 ... In one table I've created FULL TEXT SEARCHING ( Full text catalog along with full text indexing)
    Now we had to install our db in SQL SERVER 2005 standard edition. But while taking script it gave me two lines like:
    if (select DATABASEPROPERTY(DB_NAME(), N'IsFullTextEnabled')) <> 1
    exec sp_fulltext_database N'enable'
    GO
    if not exists (select * from dbo.sysfulltextcatalogs where name = N'DEV_CAS_DiagnosisCatalog')
    exec sp_fulltext_catalog N'DEV_CAS_DiagnosisCatalog', N'create'
    GO
    so I used this in the new db creation script...
    But I couldn't get where it actually is in SQL SERVER 2005 standard edition.
    and also plz help how should we create if it doesn't exist...
    What could be the problem....
    Thanks In advance

    if (select DATABASEPROPERTY(DB_NAME(), N'IsFullTextEnabled')) <> 1
    exec sp_fulltext_database N'enable'
    GO
    if not exists (select * from dbo.sysfulltextcatalogs where name = N'DEV_CAS_DiagnosisCatalog')
    exec sp_fulltext_catalog N'DEV_CAS_DiagnosisCatalog', N'create'
    GO
    sp_fulltext_catalog [ @ftcat= ] 'fulltext_catalog_name' ,
    [ @action= ] 'action'
    [ , [ @path= ] 'root_directory' ]
    Full-text catalog and index data is stored in files created in a full-text catalog directory(not on SSMS). The full-text catalog directory is created as a sub-directory of the directory specified in
    @path or in the server default full-text catalog directory if
    @path is not specified. The name of the full-text catalog directory is built in a way that guarantees it will be unique on the server. Therefore, all full-text catalog directories on a server can share the same path.
    Refer the path column by running the below query. full text catalog file is created under the root directory by default if the path is not specified.
    select * from dbo.sysfulltextcatalogs where name = N'DEV_CAS_DiagnosisCatalog'
    Refer
    http://technet.microsoft.com/en-us/library/ms189520(v=sql.90).aspx
    Regards, RSingh

  • Data Import from Oracle Dump to SQL Server(2000/2005)

    Hi Friends,
    I'm using Oracle 10g.
    I've a scenario.
    I've Oracle Dump file. Now i would like import in SQL Server(2000/2005).
    Can any one suggest me how to do this?
    Any idea,clue will be highly appreciated.

    I think you will need to import the data into SQL Server from an ASCII flat file using SQL Server DTS if avialable. You can use SQL Plus to extract the data outof Oracle into comma delimited flat files and then use SQL Server DTS load into the SQL Server database.

  • Changes required to switch from SQL Server 2000 to SQL Server 2005?

    I'm converting a legacy app from SQL Server 2000 to SQL Server 2005.  The app is written in VB6 and utilizes CR 8 OCX.  When I invoke a report from VB I'm getting Error# 20599 Cannot open SQL server.  I redefined the ODBC DSN specifying Windows Authentication, and the SQL Server instance supports mixed mode.
    Searching for the error, I found an article that suggests I need p2sodbc8.zip, but I can't find a link to it in the Downloads area.
    Would greatly appreciate any help at all - including a link to p2sodbc8.zip if that's the likely resolution.
    Thanks in advance,
    Pete

    Hi Peter,
    As you are having issue with SDK's.
    I would suggest you to post your question in
    Business Objects SDK Application Development » [Legacy Application Development SDKs|;
    That forum is monitored by qualified technicians and you will get a faster response there. Also, all  SDK queries remain in one place and thus can be easily searched in one place.
    Thank you for your understanding,
    Shweta

  • SQL SERVER 2000 / 2005 ( Certificate Version )

    How to find out version of certificate in sql server 2000/2005...
    I am working as a client plz provide me any solution like t'sql script ...........
    regards
    ravendraindia

    Once the certificate is created in the database, you can view it by querying the
    sys.certificates
    systemcatalog view:
    SELECTname,
    pvt_key_encryption_type_desc, issuer_name
    FROM
    sys.certificates

  • Sql server 2000 vs. 2005

    This is probably a stupid question... A client of mine is
    going to upgrade from MS Access to sql server. If he decides to use
    sql server 2005, can I still work with it even though I only have
    sql server 2000? Are there any major differences between the two
    applications that would affect me being able to work with the 2005
    database on the server if I don't have the most recent version
    installed locally? I hope I'm making sense :)

    You will need the 2005 version
    Ken

  • HOM: MS SQL Server 2000 - MS SQL Server 2005 [sp sap_use_var_MAX]

    Hi guys,
    Procedure
    Homogeneous System Copy on SQL Server
    Source Platform
    Windows 2003 Server x86
    SQL Server 2000 SP4
    SQL_Latin1_General_CP850_BIN2
    SAP R/3 4.7 x200
    SAP Kernel 6.40 Patch 347 x86 (Sep 10 2010)
    SAP_BASIS 620 Patch 69
    Target Platform
    Windows 2008 Server x64
    SQL Server 2005 SP3
    SQL_Latin1_General_CP850_BIN2
    SAP R/3 4.7 x200
    SAP Kernel 6.40 Patch 347 x64 (Sep 10 2010)
    SAP_BASIS 620 Patch 69
    Symptom
    When running STM (SAP Tools for SQL Server) on the target server I get the following error:
    - Errors when executing sql command: (Microsoft)(ODBC SQL Server Driver)(SQL Server)Could not find stored procedure u2018sap_use_var_MAXu2019.
    Further Analysis
    I'm able to start the SAP system.
    Tx SICK returns the following:
    - Wrong long datatypes. Perform SQL Server after upgrade steps. Please see note 126973
    Troubleshooting
    Note 126973 - SICK messages with MS SQL Server
    Solution:
    Proceed as described in Note 1291861
    Note 1291861 - SICK message: Wrong long datatypes
    2. If the problem occurred following a system copy from SQL Server 2000 to SQL Server 2005 or later then execute the following statements:
      setuser 'sid'
      exec sap_use_var_MAX
    Where 'sid' is the SAPSID of your system in lower case.
      setuser 'dev'
      exec sap_use_var_MAX
    Msg 2812, Level 16, State 62, Line 2
    Could not find stored procedure 'sap_use_var_MAX'.
    Request
    I'm thinking if any one of you is able to access an SAP system on SQL Server (2005 or other) with the above mentioned stored procedure present you could scipt it to a txt file and post it here in order for me to create it manually on my system.
    I've checked several SAP Notes on this subject and none of them explains how to create this store procedure from scratch, they all just assume it's already there and tell you to execute it.
    Thank you.
    Bruno Pereira

    I was able to solve this issue just now the following way:
    - A friend of mine scripted it to a file which I then used to create the sap_use_var_MAX on the target database.
    Here is a copy of that file:
    USE [<SID>]
    GO
    SET ANSI_NULLS ON
    GO
    SET QUOTED_IDENTIFIER ON
    GO
    create proc [<sid>].[sap_use_var_MAX] as
    begin
      declare @tabname sysname
      declare @colname sysname
      declare @datatype sysname
      declare @nullflag nvarchar(1)
      declare @cmd nvarchar(1024)
      declare @n_altered int
      declare c cursor for
        select t.TABLE_NAME,c.COLUMN_NAME,c.DATA_TYPE,
                  nullflag = substring(c.IS_NULLABLE,1,1)
          from INFORMATION_SCHEMA.COLUMNS c,
               INFORMATION_SCHEMA.TABLES t
          where c.TABLE_NAME = t.TABLE_NAME AND
                c.TABLE_SCHEMA = t.TABLE_SCHEMA AND
                t.TABLE_TYPE like '%TABLE%' AND
                c.TABLE_SCHEMA = schema_name() AND
                c.DATA_TYPE IN ('text','ntext','image')
          order by t.TABLE_NAME,c.COLUMN_NAME
      open c
      set @n_altered = 0
      fetch next from c into @tabname,@colname,@datatype,@nullflag
      while (@@fetch_status <> -1)
      begin
        if (@@fetch_status <> -2)
        begin
          set @cmd = N'alter table [' + @tabname +
                      N'] alter column [' + @colname +
                      N'] '
          if @datatype = N'text'
            set @cmd = @cmd + N'varchar(MAX)'
          else if @datatype = N'ntext'
            set @cmd = @cmd + N'nvarchar(MAX)'
          else
            set @cmd = @cmd + N'varbinary(MAX)'
          if @nullflag = N'N'
              set @cmd = @cmd + ' NOT NULL'
          else
              set @cmd = @cmd + ' NULL'
          -- print @cmd
          exec( @cmd )
          set @n_altered = @n_altered + 1
        end
        fetch next from c into @tabname,@colname,@datatype,@nullflag
      end
      close c
      deallocate c
      select convert(varchar,@n_altered) + N' columns were altered'
    end -- sap_use_var_MAX
    Mind you, you'll have to change <SID> and <sid> acoordingly, considering also if your db is dbo schema or sid schema owned!
    Thank you for your help nonetheless!
    Bruno Pereira

  • SQL Server 2000, 2005 and 2008 migration

    Hi,
    we have to migrate SQL Server 2000, 2005 and 2008 to SQL Server 2014. Can anyone please help with some good links to migrate DTS and SSIS package from 2000, 2005 and 2008 to SQL Server 2014?
    Regards,
    Satendra Singh

    Please see these links:
    Migration SQL Server 2000 to SQL Server 2012
    Migrating to SQL Server 2014
    T-SQL Articles
    T-SQL e-book by TechNet Wiki Community
    T-SQL blog

Maybe you are looking for