diff --git a/sys/db/drivers/firebird.php b/sys/db/drivers/firebird.php index 3070a1a..00871a0 100644 --- a/sys/db/drivers/firebird.php +++ b/sys/db/drivers/firebird.php @@ -135,6 +135,7 @@ class firebird extends DB_PDO { SELECT "RDB\$RELATION_NAME" FROM "RDB\$RELATIONS" WHERE "RDB\$RELATION_NAME" NOT LIKE 'RDB$%' AND "RDB\$RELATION_NAME" NOT LIKE 'MON$%' + ORDER BY "RDB\$RELATION_NAME" ASC SQL; $this->statement = $this->query($sql); diff --git a/sys/db/drivers/pgsql.php b/sys/db/drivers/pgsql.php index fc0d0e7..518bfaf 100644 --- a/sys/db/drivers/pgsql.php +++ b/sys/db/drivers/pgsql.php @@ -61,7 +61,7 @@ class pgSQL extends DB_PDO { $sql = <<query($sql); @@ -82,6 +82,7 @@ SQL; SELECT "tablename" FROM "pg_tables" WHERE "tablename" NOT LIKE 'pg_%' AND "tablename" NOT LIKE 'sql_%' + ORDER BY "tablename" ASC SQL; $res = $this->query($sql); @@ -155,6 +156,7 @@ SQL; WHERE "schemaname" NOT IN ('pg_catalog', 'information_schema') AND "viewname" !~ '^pg_' + ORDER BY "viewname" ASC SQL; $res = $this->query($sql); @@ -175,7 +177,8 @@ SQL; $sql = <<query($sql); diff --git a/sys/db/drivers/sqlite.php b/sys/db/drivers/sqlite.php index 7c6d3c4..aed7f52 100644 --- a/sys/db/drivers/sqlite.php +++ b/sys/db/drivers/sqlite.php @@ -64,9 +64,10 @@ class SQLite extends DB_PDO { { $tables = array(); $sql = <<query($sql);