From 71c2edd1bf79fd4e059399e4cece7d13eb9d028e Mon Sep 17 00:00:00 2001 From: Taras Kopets Date: Fri, 2 Jun 2017 13:14:47 +0300 Subject: [PATCH 1/2] 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": { From a5bfe286ed363cd2d402802bb6fd4e338d980b24 Mon Sep 17 00:00:00 2001 From: Taras Kopets Date: Fri, 2 Jun 2017 13:26:47 +0300 Subject: [PATCH 2/2] Bump version to 0.9.3 --- .bumpversion.cfg | 2 +- SQLTools.py | 2 +- messages.json | 3 ++- messages/v0.9.3.md | 8 ++++++++ 4 files changed, 12 insertions(+), 3 deletions(-) create mode 100644 messages/v0.9.3.md diff --git a/.bumpversion.cfg b/.bumpversion.cfg index fb9a15d..04e8595 100644 --- a/.bumpversion.cfg +++ b/.bumpversion.cfg @@ -1,5 +1,5 @@ [bumpversion] -current_version = 0.9.2 +current_version = 0.9.3 files = SQLTools.py tag = True commit = True diff --git a/SQLTools.py b/SQLTools.py index 5871f90..aa8c9ab 100644 --- a/SQLTools.py +++ b/SQLTools.py @@ -1,4 +1,4 @@ -__version__ = "v0.9.2" +__version__ = "v0.9.3" import sys import os diff --git a/messages.json b/messages.json index 9de32ed..9f1b692 100644 --- a/messages.json +++ b/messages.json @@ -7,5 +7,6 @@ "0.8.2": "messages/v0.8.2.md", "0.9.0": "messages/v0.9.0.md", "0.9.1": "messages/v0.9.1.md", - "0.9.2": "messages/v0.9.2.md" + "0.9.2": "messages/v0.9.2.md", + "0.9.3": "messages/v0.9.3.md" } diff --git a/messages/v0.9.3.md b/messages/v0.9.3.md new file mode 100644 index 0000000..a7a91ea --- /dev/null +++ b/messages/v0.9.3.md @@ -0,0 +1,8 @@ +## v0.9.3 Notes + +### Improvements + +* [Oracle] Get identifiers (tables, columns) in all schemas [#112](https://github.com/mtxr/SQLTools/issues/112) + + +Please restart Sublime Text after installing this update.