Commit 5e52747c authored by Benjamin Eberlei's avatar Benjamin Eberlei

Merge branch 'DBAL-114' into 2.1.x

parents 3e6dafb9 075959aa
...@@ -306,7 +306,8 @@ class MsSqlPlatform extends AbstractPlatform ...@@ -306,7 +306,8 @@ class MsSqlPlatform extends AbstractPlatform
*/ */
public function getListTablesSQL() public function getListTablesSQL()
{ {
return "SELECT name FROM sysobjects WHERE type = 'U' ORDER BY name"; // "sysdiagrams" table must be ignored as it's internal SQL Server table for Database Diagrams
return "SELECT name FROM sysobjects WHERE type = 'U' AND name != 'sysdiagrams' ORDER BY name";
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment