aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Core
diff options
context:
space:
mode:
authorRoy Ben Shabat <Roy.mail.net@gmail.com>2019-01-31 11:38:36 +0200
committerRoy Ben Shabat <Roy.mail.net@gmail.com>2019-01-31 11:38:36 +0200
commit59fee3a258ff15567d21021b661f27d0a6958f8c (patch)
tree3ddce746890ac8a40f35463308e1c5a05fd3ec59 /Software/Visual_Studio/Tango.Core
parentc64b07d93d944a294df08cee553800a09757d6ec (diff)
downloadTango-59fee3a258ff15567d21021b661f27d0a6958f8c.tar.gz
Tango-59fee3a258ff15567d21021b661f27d0a6958f8c.zip
Some fixes.
Diffstat (limited to 'Software/Visual_Studio/Tango.Core')
-rw-r--r--Software/Visual_Studio/Tango.Core/DB/DbManager.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Core/DB/DbManager.cs b/Software/Visual_Studio/Tango.Core/DB/DbManager.cs
index 1d90b30e8..9350f426a 100644
--- a/Software/Visual_Studio/Tango.Core/DB/DbManager.cs
+++ b/Software/Visual_Studio/Tango.Core/DB/DbManager.cs
@@ -152,7 +152,7 @@ namespace Tango.Core.DB
SqlCommand cmd = new SqlCommand("EXEC sp_MSForEachTable 'ALTER TABLE ? NOCHECK CONSTRAINT ALL'", _connection);
cmd.ExecuteNonQuery();
- cmd = new SqlCommand("EXEC sp_MSForEachTable 'DELETE FROM ?'", _connection);
+ cmd = new SqlCommand("EXEC sp_MSForEachTable 'SET QUOTED_IDENTIFIER ON; DELETE FROM ?'", _connection);
cmd.ExecuteNonQuery();
cmd = new SqlCommand("EXEC sp_MSForEachTable 'ALTER TABLE ? WITH CHECK CHECK CONSTRAINT ALL'", _connection);