fix notebook job not working issue (#1758)

This commit is contained in:
Alan Ren
2022-11-09 20:31:02 -08:00
committed by GitHub
parent 75a7685f56
commit 26945bed8d

View File

@@ -41,7 +41,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Agent
}
using (SqlConnection connection = new SqlConnection(ConnectionService.BuildConnectionString(connInfo.ConnectionDetails)))
{
await connection.OpenAsync();
connection.Open();
using (SqlCommand sqlQueryCommand = new SqlCommand(sqlQuery, connection))
{
if (queryParameters != null)