Job Seekers   Employers
dbapool: Authors | Submissions | Contact Us
   Forgot password? | Sign up
  Home   Discussion Forum   Articles   Interview Questions   FAQs   Scripts   Rewards   Analyzer   White Papers   Blog   Certification   Downloads   Tools
 

Topic: User Administration >> granting select access to user on schemas objects

Disclaimer: The purpose of all dbapool forums including OCP and Other Oracle Certification forums is to help each other with specific issues but not to share dump and copyrighted exam content, materials or intellectual property. You may review the entire Oracle Certification Program Candidate Agreement online Here.



  


 Title: granting select access to user on schemas objects
 tanuja  Posted: May 17, 2007 12:50:06 PM

 Total Post: 1
 Joined: Feb, 2007






 How do i give select access on all tables of a perticular schema.

 Nand
Posted: Jun 11, 2007 05:27:36 AM  

 Total Post: 22
 Joined: Jun, 2007






 
first you need to get the list of tables in that particular schema. and then grant select privilege.

you can write something like this;

select 'grant select on '|| table_name ||' to user'|| from dba_tables where owner='schema owner';

replace user with the name of the user who will get the select privileges.


Nand


 Time Zone: EDT

  




Forum Rules & Description


Who Can Read The Forum? Any registered user or guest
Who Can Post New Topics? Any registered user
Who Can Post Replies? Any registered user




 








Get FREE Magazines

Top 10 Forum User

  Murtuja Khokhar814
  Mohammed Taj694
  Jayanta Sur479
  Vigyan Kaushik386
  positive fanatic361
  Gitesh Trivedi322
  Gopu Gopi242
  neeraj sharma228
  Ramesh Jois226
  snehalatha p169






oracle Mag



  About Us Advertise Terms of Use Privacy Newsletters Contact Us    

Home   Discussion Forum   FAQs  Articles  Jobs   Newsletters  Directory  Downloads 

Our Premium Sponsor
Confio Software