RE: user account setup

Alter session set current_schema =3D scott;

Mark J. Bobak
Oracle DBA
ProQuest Company
Ann Arbor, MI
"Post Hoc Ergo Propter Hoc"


-----Original Message-----
From: oracle-l-bounce@xxxxxxxxxxxxx
[mailto:oracle-l-bounce@xxxxxxxxxxxxx] On Behalf Of Nguyen, David M
Sent: Monday, June 21, 2004 4:00 PM
To: oracle-l@xxxxxxxxxxxxx
Subject: user account setup


I create an user account and grant "select any table" for someone to
query database tables that belongs to SCOTT schema.  In order to
describe table structure that belongs to SCOTT he has to type.
=20

SQL>  describe SCOTT.tablename;

=20

He asks me is there a way to query SCOTT object without typing "SCOTT."
in front of table name?

=20

=20

Also, how do I create an account and grant all SCOTT's privileges to
him?  I want his account exactly to be the same as SCOTT.

=20

Thanks,
David


----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------
----------------------------------------------------------------
Please see the official ORACLE-L FAQ: http://www.orafaq.com
----------------------------------------------------------------
To unsubscribe send email to:  oracle-l-request@xxxxxxxxxxxxx
put 'unsubscribe' in the subject line.
--
Archives are at http://www.freelists.org/archives/oracle-l/
FAQ is at http://www.freelists.org/help/fom-serve/cache/1.html
-----------------------------------------------------------------

Other related posts: