liquibase-core/src/main/java/liquibase/database/core/MSSQLDatabase.java
public String getEngineEdition() {
        try {
            if (getConnection() instanceof JdbcConnection) {
                String sql = "SELECT CASE ServerProperty('EngineEdition')\n" +
                    "         WHEN 1 THEN 'Personal'\n" +
                    "         WHEN 2 THEN 'Standard'\n" +
                    "         WHEN 3 THEN 'Enterprise'\n" +
                    "         WHEN 4 THEN 'Express'\n" +
                    "         WHEN 5 THEN 'Azure'\n" +
                    "         ELSE 'Unknown'\n" +
                    "       END";
                return ExecutorService.getInstance().getExecutor(this)
                    .queryForObject(new RawSqlStatement(sql), String.class);
            }
        } catch (DatabaseException e) {
            Scope.getCurrentScope().getLog(getClass()).warning(LogType.LOG, "Could not determine engine edition", e);
        }
        return "Unknown";
    }
public String getEngineEdition() {
        try {
            if (getConnection() instanceof JdbcConnection) {
                String sql = "SELECT CASE ServerProperty('EngineEdition')\n" +
                    "         WHEN 1 THEN 'Personal'\n" +
                    "         WHEN 2 THEN 'Standard'\n" +
                    "         WHEN 3 THEN 'Enterprise'\n" +
                    "         WHEN 4 THEN 'Express'\n" +
                    "         WHEN 5 THEN 'Azure'\n" +
                    "         ELSE 'Unknown'\n" +
                    "       END";
                return ExecutorService.getInstance().getExecutor(this)
                    .queryForObject(new RawSqlStatement(sql), String.class);
            }
        } catch (DatabaseException e) {
            Scope.getCurrentScope().getLog(getClass()).warning(LogType.LOG, "Could not determine engine edition", e);
        }
        return "Unknown";
    }
public String getEngineEdition ( ) { try { if ( getConnection ( ) instanceof JdbcConnection ) { String sql = "SELECT CASE ServerProperty('EngineEdition')\n" + "         WHEN 1 THEN 'Personal'\n" + "         WHEN 2 THEN 'Standard'\n" + "         WHEN 3 THEN 'Enterprise'\n" + "         WHEN 4 THEN 'Express'\n" + "         WHEN 5 THEN 'Azure'\n" + "         ELSE 'Unknown'\n" + "       END" ; return ExecutorService . getInstance ( ) . getExecutor ( this ) . queryForObject ( new RawSqlStatement ( sql ) , String . class ) ; } } catch ( DatabaseException e ) { Scope . getCurrentScope ( ) . getLog ( getClass ( ) ) . warning ( LogType . LOG , "Could not determine engine edition" , e ) ; } return "Unknown" ; }
Determines the capabilities ("Edition") of the SQL Server database. Possible values are currently
"Personal", "Standard", "Enterprise" (Developer Edition is also reported as Enterprise), "Express" or "Azure".

@return one of the strings above
Determines the capabilities ( Edition ) of the SQL Server database . Possible values are currently Personal Standard Enterprise ( Developer Edition is also reported as Enterprise ) Express or Azure .