Put the mssql table names in ascending order.

This commit is contained in:
Mark Crane
2012-07-28 21:32:44 +00:00
parent 95402463e0
commit 7820589aee

View File

@@ -236,7 +236,7 @@ include "root.php";
$sql = "show tables";
}
if ($this->type == "mssql") {
$sql = "SELECT * FROM sys.Tables";
$sql = "SELECT * FROM sys.Tables order by name asc";
}
$prep_statement = $this->db->prepare(check_sql($sql));
$prep_statement->execute();