![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
Как правильно создать пользователя. [D7]
tytus © (2006-08-30 16:34:00)Нужно создать пользователя с провом SELECT и все. Делаю так:
create role SIMPLEROLE;
grant alter session to SIMPLEROLE;
grant create session to SIMPLEROLE;
grant select any sequence to SIMPLEROLE;
grant select any table to SIMPLEROLE;
grant update any table to SIMPLEROLE;
create user TESTUSER
identified by
default tablespace SYSTEM
temporary tablespace SYSTEM
profile DEFAULT;
grant select, update on MAINTABLE to TESTUSER;
grant connect to TESTUSER;
grant resource to TESTUSER;
grant simplerole to TESTUSER;
grant unlimited tablespace to TESTUSER;
Юзер логинится, но выполнить select * from maintable не
получается - пишет ORA-00942 - таблица или View не созданы...
Sergey13 (2006-08-30 16:38:00) [21]> temporary tablespace SYSTEM
Убивать за такое надо. 8-)
Sergey13 (2006-08-30 16:37:00) [22]select * from shem_name.maintable