We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 75bd15e commit fbf8b4bCopy full SHA for fbf8b4b
public/Get-DbaDbDetachedFileInfo.ps1
@@ -86,8 +86,12 @@ function Get-DbaDbDetachedFileInfo {
86
Stop-Function -Message "$servername cannot read the file $filepath. Is the database detached?" -Continue
87
}
88
89
+ # Source: https://sqlserverbuilds.blogspot.com/2014/01/sql-server-internal-database-versions.html
90
switch ($exactdbversion) {
91
+ 957 { $dbversion = "SQL Server 2022" }
92
+ 904 { $dbversion = "SQL Server 2019" }
93
869 { $dbversion = "SQL Server 2017" }
94
+ 868 { $dbversion = "SQL Server 2017" }
95
852 { $dbversion = "SQL Server 2016" }
96
782 { $dbversion = "SQL Server 2014" }
97
706 { $dbversion = "SQL Server 2012" }
0 commit comments