Search
 
SCRIPT & CODE EXAMPLE
 

SQL

Priviledges on table from other schema

SELECT PRIVILEGE
FROM ALL_TAB_PRIVS_RECD
WHERE PRIVILEGE = 'SELECT'
AND TABLE_NAME = 'GN_VERSION'
AND OWNER = 'USER_A'
UNION ALL
SELECT PRIVILEGE
FROM SESSION_PRIVS
WHERE PRIVILEGE = 'SELECT ANY TABLE';
Comment

PREVIOUS NEXT
Code Example
Sql :: postgres multiple left join causing duplicates jsonb_agg 
Sql :: select all fron table 
Sql :: sql data type of query 
Sql :: oracle single row functions 
Sql :: sql convert to linq online 
Sql :: compare subqueries oracle 
Sql :: db2 foreign keys 
Sql :: sql after date 
Sql :: express api ith mysql data 
Sql :: sqlalchemy where in query 
Sql :: how to convert exponential expression to n decimal float in postgresql 
Sql :: MYSQL create new query tab 
Sql :: how to find shortest and longest name in sql 
Sql :: mysql installer no packages found 
Sql :: create database like 
Sql :: pgsql commit rollback example 
Sql :: except in sql alchemy 
Sql :: how to create an SQL save method in ruby 
Sql :: enable mysql remote connection to two specific ip address 
Sql :: how we can perform acid Operations in sql with examples 
Sql :: sql null functions 
Sql :: convert sql query to linq online 
Sql :: with_for_update sqlalchemy 
Sql :: druid sql list all tables 
Sql :: how to check table in postgresql from terminal 
Sql :: sql server assembly 
Sql :: sqdqsd 
Sql :: for each row trigger postgresql 
Sql :: c# add a textbox in mysql select 
Sql :: postgres drop all tables owned by a user 
ADD CONTENT
Topic
Content
Source link
Name
1+8 =