mirror of
https://github.com/DeNNiiInc/dbgate.git
synced 2026-04-18 13:46:00 +00:00
get version result and login from oracle
This commit is contained in:
9
plugins/dbgate-plugin-oracle/src/backend/sql/views.js
Normal file
9
plugins/dbgate-plugin-oracle/src/backend/sql/views.js
Normal file
@@ -0,0 +1,9 @@
|
||||
module.exports = `
|
||||
select
|
||||
ao.owner as "schema_name", ao.object_name as "pure_name",
|
||||
'later' as "create_sql",
|
||||
object_id as "hash_code"
|
||||
from all_objects ao
|
||||
where exists(select null from user_objects uo where uo.object_id = ao.object_id)
|
||||
and object_type = 'VIEW'
|
||||
`;
|
||||
Reference in New Issue
Block a user