Skip to content

Commit

Permalink
sort table and column names
Browse files Browse the repository at this point in the history
  • Loading branch information
Kyle Foreman authored and Taras Kopets committed Mar 4, 2019
1 parent f7f25f3 commit d0717ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions SQLTools.sublime-settings
Original file line number Diff line number Diff line change
Expand Up @@ -530,13 +530,13 @@
"-o", "timing=False"]
},
"desc": {
"query": "SELECT TABLE_SCHEMA || '.' || TABLE_NAME AS tbl FROM INFORMATION_SCHEMA.TABLES;",
"query": "SELECT TABLE_SCHEMA || '.' || TABLE_NAME AS tbl FROM INFORMATION_SCHEMA.TABLES ORDER BY tbl;",
"options": ["-o", "output_format=plain",
"-o", "header=False",
"-o", "timing=False"]
},
"columns": {
"query": "SELECT TABLE_NAME || '.' || COLUMN_NAME AS col FROM INFORMATION_SCHEMA.COLUMNS",
"query": "SELECT TABLE_NAME || '.' || COLUMN_NAME AS col FROM INFORMATION_SCHEMA.COLUMNS ORDER BY col;",
"options": ["-o", "output_format=plain",
"-o", "header=False",
"-o", "timing=False"]
Expand Down

0 comments on commit d0717ba

Please sign in to comment.