Найти в Дзене
Илья Хохлов

Создание нового пользователя / схемы в ORACLE. Какие права дать. Sys или System

Как создать пользователя / схему данных в ORACLE. В чем разница. Какие права (привилегии) дать новому пользователю. Sys или System. SQL Developer. Постарался раскрыть самые нужные темы. Листинг: alter session set "_ORACLE_SCRIPT"=true; CREATE USER test identified by 111; grant create session to test; grant create table to test; grant create procedure to test; grant create trigger to test; grant create view to test; grant create sequence to test; grant alter any table to test; grant alter any procedure to test; grant alter any trigger to test; grant alter profile to test; grant delete any table to test; grant drop any table to test; grant drop any procedure to test; grant drop any trigger to test; grant drop any view to test; grant drop profile to test; grant select on sys.v_$session to test; grant select on sys.v_$sesstat to test; grant select on sys.v_$statname to test; grant SELECT ANY DICTIONARY to test; Спасибо за внимание! Буду рад, если подпишешься на мой канал или оставишь комм

Как создать пользователя / схему данных в ORACLE. В чем разница. Какие права (привилегии) дать новому пользователю. Sys или System. SQL Developer.

Постарался раскрыть самые нужные темы.

Листинг:

alter session set "_ORACLE_SCRIPT"=true;

CREATE USER test identified by 111;

grant create session to test;

grant create table to test;

grant create procedure to test;

grant create trigger to test;

grant create view to test;

grant create sequence to test;

grant alter any table to test;

grant alter any procedure to test;

grant alter any trigger to test;

grant alter profile to test;

grant delete any table to test;

grant drop any table to test;

grant drop any procedure to test;

grant drop any trigger to test;

grant drop any view to test;

grant drop profile to test;

grant select on sys.v_$session to test;

grant select on sys.v_$sesstat to test;

grant select on sys.v_$statname to test;

grant SELECT ANY DICTIONARY to test;

Спасибо за внимание!

Буду рад, если подпишешься на мой канал или оставишь комментарий под видео!