Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Commit 71c2edd

Browse files
committed
Pull Oracle idenfiers in all schemas
1 parent e78265b commit 71c2edd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SQLTools.sublime-settings

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,11 +121,11 @@
121121
"args": "{username}/{password}@\"(DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST={host})(PORT={port})))(CONNECT_DATA=(SERVICE_NAME={service})))\"",
122122
"queries": {
123123
"desc" : {
124-
"query": "select concat(concat(concat(concat('|', owner), '.'), table_name), '|') as tbls from all_tables where owner = sys_context('USERENV', 'CURRENT_SCHEMA');",
124+
"query": "select concat(concat(concat(concat('|', owner), '.'), table_name), '|') as tbls from all_tables;",
125125
"options": ["-S"]
126126
},
127127
"columns": {
128-
"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');",
128+
"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;",
129129
"options": ["-S"]
130130
},
131131
"desc table": {

0 commit comments

Comments
 (0)