diff --git a/Snowflake.Data.Tests/IntegrationTests/SFDbDataReaderIT.cs b/Snowflake.Data.Tests/IntegrationTests/SFDbDataReaderIT.cs index d69d350d3..f2613acf6 100755 --- a/Snowflake.Data.Tests/IntegrationTests/SFDbDataReaderIT.cs +++ b/Snowflake.Data.Tests/IntegrationTests/SFDbDataReaderIT.cs @@ -181,10 +181,10 @@ public void TestDateOutputFormat() { conn.ConnectionString = ConnectionString; conn.Open(); + IDbCommand cmd = conn.CreateCommand(); try { - IDbCommand cmd = conn.CreateCommand(); cmd.CommandText = "alter session set DATE_OUTPUT_FORMAT='MM/DD/YYYY'"; cmd.ExecuteNonQuery();