From d0717baf7bf8fdedbcaa9c4e7bf1c20c508332ee Mon Sep 17 00:00:00 2001 From: Kyle Foreman Date: Tue, 26 Feb 2019 17:16:28 -0800 Subject: [PATCH] sort table and column names --- SQLTools.sublime-settings | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQLTools.sublime-settings b/SQLTools.sublime-settings index cef937d..e99728f 100644 --- a/SQLTools.sublime-settings +++ b/SQLTools.sublime-settings @@ -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"]