Add an SQL Server Version Check and a SQL Server Database State Check