How To Migrate Sql Server 2000 Databases - Siemens SIMATIC HMI Series System Manual

Hide thumbs Also See for SIMATIC HMI Series:
Table of Contents

Advertisement

Migration

5.4 How to migrate SQL Server 2000 databases

5.4
How to migrate SQL Server 2000 databases
WinCC projects that were created with versions prior to WinCC V6.2 SP2 include database
settings of the SQL Server 2000.
To access databases with SQL Server 2014 that were created with versions prior to SQL
Server 2005, you must change the compatibility setting.
To do so, use the SQL Server Management Studio up to maximum SQL Server 2008. You
connect the database using the *.MDF file, change the settings and remove the database once
again.
Edit all databases that are part of your WinCC project:
● Databases in the local WinCC project
● Distributed systems: Databases on all PCs of the WinCC system
● Databases on the file server
● Databases on an archive server
● Swapped-out databases
Requirement
● You have created backup copies of the databases in the WinCC system.
Back up the associated *.LDF file for each *.MDF file.
● The SQL Server up to version SQL Server 2008 is installed on the PC.
Procedure
1. Open the SQL Server Management Studio.
2. Connect to the WinCC instance. Enter the following path in the "Server name" field:
– <Computer name>\WINCC
3. Select the entry "Append" in the shortcut menu of "Databases".
The "Append databases" dialog opens.
4. Click "Add".
The "Search database files" dialog opens.
5. Select the project database and confirm with "OK".
6. Select the item "Properties" in the shortcut menu of the database.
The "Database Properties" dialog opens.
In the "Options" view, the field "Degree of compatibility" has the entry "SQL Server 2000
(80)".
7. In the "Degree of compatibility" drop down list under "Options" select the entry "SQL Server
2008 (100)". Confirm your entries with "OK".
8. Select the item "Tasks > Disconnect" in the shortcut menu of the database.
The "Disconnect database" dialog opens.
142
WinCC: General information and installation
System Manual, 02/2017, A5E40840020-AA

Advertisement

Table of Contents
loading

Table of Contents