In certain circumstances such as a deployment you may want to verify that you have the correct Episerver database version for your CMS package. Here are the steps for that.
1) Run the following stored procedure.
declare @ver int exec @ver=sp_DatabaseVersion print @ver
2) Use the following utility to match the database version with the corresponding CMS.Core package version.