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: SQL*Plus and PL/SQL >> Create table

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: Create table
 saza  Posted: Apr 29, 2008 06:05:38 AM

 Total Post: 13
 Joined: Apr, 2008






 Hi

How to cheak privilages for a user on a table Import?

and how to create a tablesp and make that defult tbls for a user.

(I am gonna import a database on that tablesp and only that user will have accses to it)

hope anyone can help me

thanks!

 GOPU
Posted: Apr 29, 2008 06:09:38 AM  

 Total Post: 333
 Joined: Apr, 2008






 
to check the privileges of a user u can go through the views
dba_priviliges
user_priviliges
all_priviliges


how to create a tablespace is

create tablespace <tablespace_name> datafile '/path of the datafile/filename.dbf' size 100m;

then to make that tablespace as the default tablespace of a user is

alter user <username> default tablespace <tablespace_name>;

 Gitesh
Posted: Apr 29, 2008 06:48:37 AM  

 Total Post: 322
 Joined: May, 2005






 
One correction in above command. Give quota also to that user otherwise without quota user can't able to create table and insert in.

alter user user1 quota unlimited on <tablespace_name>;

 GOPU
Posted: Apr 29, 2008 06:52:58 AM  

 Total Post: 333
 Joined: Apr, 2008






 
thanks for correcting me Gitesh

 saza
Posted: Apr 29, 2008 08:21:08 AM  

 Total Post: 13
 Joined: Apr, 2008






 
Thankssssssssssssssss!

 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 Khokhar857
  Mohammed Taj746
  positive fanatic483
  Jayanta Sur479
  Vigyan Kaushik386
  Gopu Gopi333
  Gitesh Trivedi322
  Vinoth Kumar264
  neeraj sharma258
  Ramesh Jois246






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