Skip to content

Commit 5878c9b

Browse files
committed
ServerCollation must also be added to the output if you want to see it (pro-tip)
1 parent 29381fe commit 5878c9b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CI/Azure-DevOps/CreateSQLVM_azcli.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Log-Output 'DONE: Applying SqlVM Config'
162162

163163
Log-Output 'START: Prep SQL Server for tSQLt Build'
164164
$DS = Invoke-Sqlcmd -InputFile "$dir/GetSQLServerVersion.sql" -ServerInstance "$FQDN,$SQLPort" -Username "$SQLUserName" -Password "$SQLPwd" -As DataSet
165-
$DS.Tables[0].Rows | %{ Log-Output "{ $($_['LoginName']), $($_['TimeStamp']), $($_['VersionDetail']), $($_['ProductVersion']), $($_['ProductLevel']), $($_['SqlVersion']) }" }
165+
$DS.Tables[0].Rows | %{ Log-Output "{ $($_['LoginName']), $($_['TimeStamp']), $($_['VersionDetail']), $($_['ProductVersion']), $($_['ProductLevel']), $($_['SqlVersion']), $($_['ServerCollation']) }" }
166166

167167
$ActualSQLVersion = $DS.Tables[0].Rows[0]['SqlVersion'];
168168
Log-Output "Actual SQL Version:",$ActualSQLVersion;

0 commit comments

Comments
 (0)