Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: acccessing the sample database on oracle 10g
Nospam wrote:
> I have installed oracle 10g on red hat linu 9. I am wondering what I type
> to access the sample dataase scott/tiger v$ession. what do I type after
>
> sysdba /nolog
>
> to access and manipulate the sample databases?
>
> thanks
In so short a pragraph evidence a number of misunderstandings
SQL> conn / as sysdba SQL> GRANT SELECT ON v_$session TO scott; SQL> conn scott/tiger SQL> SELECT * FROM v$session;
If you want to view information about the scott user logging on as SYS then:
SQL> conn / as sysdba
SQL> SELECT * FROM v$session WHERE username = 'SCOTT';
-- Daniel A. Morgan University of Washington damorgan_at_x.washington.edu (replace 'x' with 'u' to respond)Received on Sat Aug 14 2004 - 11:14:22 CDT