2021-02-12 13:36:50 +01:00
|
|
|
|
namespace Umbraco.Cms.Infrastructure.Persistence.SqlSyntax
|
2013-12-18 17:22:00 +11:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Represents the version name of SQL server (i.e. the year 2008, 2005, etc...)
|
|
|
|
|
|
/// </summary>
|
2016-08-09 15:33:35 +02:00
|
|
|
|
/// <remarks>
|
|
|
|
|
|
/// see: https://support.microsoft.com/en-us/kb/321185
|
|
|
|
|
|
/// </remarks>
|
2013-12-18 17:22:00 +11:00
|
|
|
|
internal enum SqlServerVersionName
|
|
|
|
|
|
{
|
|
|
|
|
|
Invalid = -1,
|
|
|
|
|
|
V7 = 0,
|
|
|
|
|
|
V2000 = 1,
|
|
|
|
|
|
V2005 = 2,
|
|
|
|
|
|
V2008 = 3,
|
|
|
|
|
|
V2012 = 4,
|
2016-08-09 15:33:35 +02:00
|
|
|
|
V2014 = 5,
|
|
|
|
|
|
V2016 = 6,
|
|
|
|
|
|
Other = 100
|
2013-12-18 17:22:00 +11:00
|
|
|
|
}
|
2017-07-20 11:21:28 +02:00
|
|
|
|
}
|