mirror of
https://github.com/ckaczor/sqltoolsservice.git
synced 2026-02-16 10:58:30 -05:00
fix notebook job not working issue (#1758)
This commit is contained in:
@@ -41,7 +41,7 @@ namespace Microsoft.SqlTools.ServiceLayer.Agent
|
|||||||
}
|
}
|
||||||
using (SqlConnection connection = new SqlConnection(ConnectionService.BuildConnectionString(connInfo.ConnectionDetails)))
|
using (SqlConnection connection = new SqlConnection(ConnectionService.BuildConnectionString(connInfo.ConnectionDetails)))
|
||||||
{
|
{
|
||||||
await connection.OpenAsync();
|
connection.Open();
|
||||||
using (SqlCommand sqlQueryCommand = new SqlCommand(sqlQuery, connection))
|
using (SqlCommand sqlQueryCommand = new SqlCommand(sqlQuery, connection))
|
||||||
{
|
{
|
||||||
if (queryParameters != null)
|
if (queryParameters != null)
|
||||||
|
|||||||
Reference in New Issue
Block a user