Skip to content

Commit

Permalink
sql server tests3 drop table fix (#695)
Browse files Browse the repository at this point in the history
  • Loading branch information
keitherskine authored Feb 8, 2020
1 parent 7908081 commit 46b3c99
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions tests3/sqlservertests.py
Original file line number Diff line number Diff line change
Expand Up @@ -1627,11 +1627,7 @@ def test_columns(self):
table_name = 'pyodbc_89abcdef'[:i]

self.cursor.execute("""\
BEGIN TRY
DROP TABLE {0};
END TRY
BEGIN CATCH
END CATCH
IF OBJECT_ID (N'{0}', N'U') IS NOT NULL DROP TABLE {0};
CREATE TABLE {0} (id INT PRIMARY KEY);
""".format(table_name))

Expand Down

0 comments on commit 46b3c99

Please sign in to comment.