diff options
| author | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-01-31 11:38:36 +0200 |
|---|---|---|
| committer | Roy Ben Shabat <Roy.mail.net@gmail.com> | 2019-01-31 11:38:36 +0200 |
| commit | 59fee3a258ff15567d21021b661f27d0a6958f8c (patch) | |
| tree | 3ddce746890ac8a40f35463308e1c5a05fd3ec59 /Software/Visual_Studio/Tango.Core | |
| parent | c64b07d93d944a294df08cee553800a09757d6ec (diff) | |
| download | Tango-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.cs | 2 |
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); |
