Search
 
SCRIPT & CODE EXAMPLE
 

SQL

grant read only privileges postgres user

grant connect on database "mydatabase" to "user";
GRANT USAGE ON SCHEMA public TO "user";
GRANT SELECT ON ALL TABLES IN SCHEMA "public" TO "user";
ALTER DEFAULT PRIVILEGES IN SCHEMA "public"
   GRANT SELECT ON TABLES TO "user";
Comment

PREVIOUS NEXT
Code Example
Sql :: postgres database sizes 
Sql :: mysql procedures 
Sql :: postgresql get last 10 records 
Sql :: sql query to search for a string in all columns 
Sql :: python how escape sql 
Sql :: drop foreign key mysql 
Sql :: trim leading zeros in sql 
Sql :: allsource oracle 
Sql :: select table column name in sql 
Sql :: current year sql 
Sql :: ORA-00942 
Sql :: psql while loop 
Sql :: get date ISO in psql 
Sql :: sql where max date 
Sql :: delete dublicate rows sql 
Sql :: duplicate table sql 
Sql :: sql add column to table 
Sql :: oracle sql listagg 
Sql :: how to rename a database in tsql 
Sql :: date between in mysql 
Sql :: add primary key with auto increment sql server 
Sql :: use concat in group_concat 
Sql :: cannot drop database because it is currently in use 
Sql :: concatenate two strings in sql 
Sql :: datediff 
Sql :: store select query result in variable sql server 
Sql :: check duplicate values plsql 
Sql :: mysql update join 
Sql :: create mysql database on windows 
Sql :: oracle revoke grant 
ADD CONTENT
Topic
Content
Source link
Name
5+9 =