Commits

Mikhail Denisenko committed d9830b8 Merge

merge

Comments (0)

Files changed (1)

sqlserver/base.py

             cursor = self._cursor()
         cursor.execute("EXEC sp_MSforeachtable 'ALTER TABLE ? NOCHECK CONSTRAINT all'")
         # this breakes test on ado, see Issue #2
-        #while cursor.nextset():
-        #    pass
+        while cursor.nextset():
+            pass
         cursor.close()
         return True
 
             cursor = self._cursor()
         cursor.execute("EXEC sp_MSforeachtable 'ALTER TABLE ? WITH NOCHECK CHECK CONSTRAINT all'")
         # this breakes test on ado, see Issue #2
-        #while cursor.nextset():
-        #    pass
+        while cursor.nextset():
+            pass
         cursor.close()
 
     def check_constraints(self, table_names=None):