venerdì, settembre 14, 2007

Grant per vedere le informazioni delle sessioni Oracle

Di quali grant abbiamo bisogno per vedere le informazioni sulle sessioni? Ovvero, per poter vedere le informazioni presentate da TOAD nel Session Browser?

Semplice!

grant select on v_$session to scott;
grant select on v_$process to scott;
grant select on v_$sess_io to scott;
grant select on v_$session_wait to scott;
grant select on v_$session_event to scott;
grant select on v_$access to scott;
grant select on v_$sesstat to scott;
grant select on v_$statname to scott;
grant select on v_$open_cursor to scott;
grant select on v_$sql to scott;
grant select on v_$lock to scott;
grant select on v_$session_longops to scott;
grant select on v_$transaction to scott;
grant select on v_$rollname to scott;
grant select on v_$sqltext_with_newlines to scott;

0 commenti: