This document is for customers using a full installation of SQL Server 2012 or newer to host the ESHA Database. This assumes a basic understanding of SQL Server Management Studio (SSMS).
- If the Server name includes either "\ESHA", or is literally "(localdb)\v11.0", then it is an ESHA instance of SQL Server, and you will use these instructions.
- If the Server name does not include "\ESHA" or "(localdb)\v11.0", you are using a full installation of SQL Server (non-ESHA instance), and will continue with the instructions below.
Download the script files
If you have not already done so, download and extract the .zip file for The Food Processor
Note: The script file names reflect the starting database structure version, not the ending. For example, "s11.9.0.sql" should be executed against a database structure of 11.9.0. After successful completion, the database structure will update to the next iteration (e.g. 11.9.1 or possibly 11.10.0).
These scripts must be executed in the correct order for the update to be successful.
Back up your database
- These instructions are meant to step you through backup using SQL Server Management Studio.
Run the scripts
Find your Database Version
- Select the appropriate database for your program. Typically 'eshadata' for Food Processor.
- Click File>New>Query with Current Connection.
- Type the following SQL statement: select * from UDatabaseVersion
- Press F5 to execute the query.
- Note the value in the Structure Version column.
Determine the Starting Script
Once you have found the version numbers for the database, you need to determine which script to run. Generally speaking, run the 's' script that matches the Structure Version you found above. For example, if your structure version is 9.6.0, the script to run is 's9.6.0.sql'. This means that the ending structure version will be higher than the last script you can run.
Execute Script
- After you've backed up the database, use SQL Server Management Studio (SSMS)and Open the correct 's' script determined above.
- Be certain you are connected to the proper database (again, 'eshadata' for Food Processor).
- Execute the script (F5, or click the Execute button on the SSMS ribbon).
- Wait for its completion. If there are any errors, stop and contact support with the Messages output.
- If successful, recheck the Structure Version (follow the Finding your Database Version steps above).
- Repeat until your Structure Version matches the Target Structure Version based on the table below.
Food Processor (First Release) |
Target DB Structure |
Final Script (*.sql) |
11.14.x (Oct 2023) | 11.14.0 | s11.11.0 |
11.11.x (Jan 2022) | 11.11.0 | s11.9.4 |
11.9.x (Dec 2020) | 11.9.0 | s11.7.8 |
11.7.x (Nov 2019) | 11.7.1 | s11.6.3 |
11.6.x (Oct 2018) | 11.6.0 | s11.5.4 |
11.5.x (June 2018) | 11.5.0 | s11.4.1 |
11.4.x (Nov 2017) |
11.4.0 | s11.3.2 |
11.3.x (April 2017) |
11.3.2 | s11.3.1 |
11.2.x (Oct 2016) |
11.2.1 | s11.2.0 |
11.1.x (June 2016) |
11.1.0 | s11.0.3 |
11.0.x (Oct 2015) |
11.0.2 | s9.8.6 |
10.15.x (Feb 2015) |
9.8.3 | s9.8.2 |
10.14.x (Nov 2014) |
9.7.5 | s9.7.4 |
10.13.x (Jan 2014) |
9.6.0 | s9.5.1 |
10.12.x (Feb 2013) |
9.5.1 | s9.5.0 |
10.11.x (July 2012) |
9.4.0 | s9.3.1 |
10.10.x (May 2012) |
9.3.1 | s9.3.0 |
10.9.x (Sept 2011) |
9.2.0 | s9.1.0 |
10.8.x (Jan 2011) |
9.1.0 | s9.0.1 |
10.7.x (July 2010) |
9.0.1 | s9.0.0 |
10.6.x (Mar 2010) |
8.9.2 | s8.9.1 |
10.5.x (Oct 2009) |
8.8.0 | s8.7.0 |
10.4.x (Mar 2009) |
8.7.0 | s8.6.1 |
10.3.x |
8.6.0 | s8.5.1 |
10.2.x (May 2008) |
8.5.1 | s8.5.0 |
10.1.x (July 2007) |
8.4.5 | s8.4.4 |
10.0.x (Jan 2007) |
8.3.5 | s8.3.4 |
Comments
0 comments
Please sign in to leave a comment.