ProcedureDA: Add other SQL Server version numbers.
This commit is contained in:
@@ -41,7 +41,7 @@ namespace VAR.DatabaseExplorer.Code.DataAccess
|
||||
var cnx = new SqlConnection(connectionString);
|
||||
cnx.Open();
|
||||
|
||||
if (cnx.ServerVersion.StartsWith("10.") || cnx.ServerVersion.StartsWith("11."))
|
||||
if (cnx.ServerVersion.StartsWith("10.") || cnx.ServerVersion.StartsWith("11.") || cnx.ServerVersion.StartsWith("13.") || cnx.ServerVersion.StartsWith("14."))
|
||||
{
|
||||
dataAdapter = new SqlDataAdapter(@"
|
||||
SELECT
|
||||
@@ -88,7 +88,7 @@ namespace VAR.DatabaseExplorer.Code.DataAccess
|
||||
var cnx = new SqlConnection(connectionString);
|
||||
cnx.Open();
|
||||
|
||||
if (cnx.ServerVersion.StartsWith("10.") || cnx.ServerVersion.StartsWith("11."))
|
||||
if (cnx.ServerVersion.StartsWith("10.") || cnx.ServerVersion.StartsWith("11.") || cnx.ServerVersion.StartsWith("13.") || cnx.ServerVersion.StartsWith("14."))
|
||||
{
|
||||
dataAdapter = new SqlDataAdapter(@"
|
||||
SELECT
|
||||
|
||||
Reference in New Issue
Block a user