When I did the Recorder 2002 to Recorder 6 data transfer for the London Bat Group I supplied them with a SQL Server 2005 Express database. This can’t be used with an MSDE/SQL Server 2000 installation, however, if you install SQL Server 2005 or 2008 Express alongside MSDE, you will be able to use that for both your personal data and the LBG data. SQL Server 2005 Express is a little easier to install with Windows XP but, in that, the database size is limited to 4 GB whereas in SQL Server 2008 Express the limit is 10 GB. SQL Server 2005 and 2008 Express are free downloads from Microsoft but there are a lot of versions to choose from. http://www.recorder6.info/ should help you select an appropriate version but download and install one that includes the SQL Server tools. The procedure for swapping from MSDE to SQL Server Express is very similar to swapping from MSDE to SQL Server 2000 – the instructions for which are in the Network Installation Guide (page 10) which is available from http://jncc.defra.gov.uk/page-4595 , except that you should use the SQL Server 2005/8 tools, called Management Studio Express, instead of Enterprise Manager, the SQL Server 2000 tools. Note that if you copy and paste the query in point 11, you often need to re-type the quotes before it will run. The R6 database will be in something like C:\Program Files\Microsoft SQL Server\MSSQL$RECORDER6\Data in an MSDE installation. In SQL Server 2005 Express, it will be in C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Data.
You will need the SQL Server tools to swap databases. Start Management Studio Express by selecting Start – All Programs – Microsoft SQL Server 2005/8 – SQL Server Management Studio Express. Note that this may vary depending on how it gets installed on your system. At the ‘Connect to Server’ dialogue box click ‘Connect’, assuming the Server name defaults to your SQL Server instance. In the Object Explorer hierarchy on the left, click the + beside ‘Databases’ to expand that node, then
• Detach the Recorder 6 database, NBNData, by right clicking it, selecting Tasks and Detach, then clicking OK.
• Rename the Recorder 6 database, NBNData_Data.MDF, and the associated log file, nbndata_data_log.LDF.
• Copy in the .MDF and .LDF for the other database, although it isn’t essential to copy in the .LDF. If there is no .LDF when you attach a database, SQL Server will create one for you.
• Attach the other Recorder 6 database by right clicking ‘Databases’ in the Object Explorer hierarchy on the left in SQL Server Management Studio Express, and selecting Attach. Use the add button in the dialogue box that appears and navigate to where NBNData_Data.MDF is stored, select it and click OK and OK again. You won’t be able to use Recorder 6 again until the database is attached. If the attach fails, try it without the log file.
When you run Recorder 6 you will now be accessing the other database.
If you are loading the other database from a backup, typically NBNData.bak, detach your database and take a copy of it then re-attach it, or take a backup and secure it. Place the backup of the other database in the backup location, usually C:\Program Files\Microsoft SQL Server\MSSQL.1\MSSQL\Backup in SQL Server 2005 Express, and restore it.
Sally Rankin, JNCC Recorder Approved Expert
E-mail: s.rankin@btinternet.com
Telephone: 01491 578633
Mobile: 07941 207687