From 71c2edd1bf79fd4e059399e4cece7d13eb9d028e Mon Sep 17 00:00:00 2001 From: Taras Kopets Date: Fri, 2 Jun 2017 13:14:47 +0300 Subject: [PATCH] Pull Oracle idenfiers in all schemas --- SQLTools.sublime-settings | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/SQLTools.sublime-settings b/SQLTools.sublime-settings index 9b6a489..2e11980 100644 --- a/SQLTools.sublime-settings +++ b/SQLTools.sublime-settings @@ -121,11 +121,11 @@ "args": "{username}/{password}@\"(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST={host})(PORT={port})))(CONNECT_DATA=(SERVICE_NAME={service})))\"", "queries": { "desc" : { - "query": "select concat(concat(concat(concat('|', owner), '.'), table_name), '|') as tbls from all_tables where owner = sys_context('USERENV', 'CURRENT_SCHEMA');", + "query": "select concat(concat(concat(concat('|', owner), '.'), table_name), '|') as tbls from all_tables;", "options": ["-S"] }, "columns": { - "query": "select concat(concat(concat(concat('|', c.table_name), '.'), c.column_name), '|') as cols from all_tab_columns c inner join all_tables t ON c.owner = t.owner and c.table_name = t.table_name where c.owner = sys_context('USERENV', 'CURRENT_SCHEMA');", + "query": "select concat(concat(concat(concat('|', c.table_name), '.'), c.column_name), '|') as cols from all_tab_columns c inner join all_tables t ON c.owner = t.owner and c.table_name = t.table_name;", "options": ["-S"] }, "desc table": {