If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > DB2 > Revoke tablespace privileges.

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-02-04, 22:12
cgprakash cgprakash is offline
Registered User
 
Join Date: Feb 2002
Posts: 96
Question Revoke tablespace privileges.

How can i revoke tablespace privileges(from a userid) in DB2 V6.1? Because V6 does not support this. Since this is production system, i can not drop and recreate tablespaces. Is there any way to do it??
Reply With Quote
  #2 (permalink)  
Old 02-03-04, 11:45
famudba famudba is offline
Registered User
 
Join Date: Jan 2004
Location: Tallahassee, FL, USA
Posts: 96
Re: Revoke tablespace privileges.

Quote:
Originally posted by cgprakash
How can i revoke tablespace privileges(from a userid) in DB2 V6.1? Because V6 does not support this. Since this is production system, i can not drop and recreate tablespaces. Is there any way to do it??

Prakash,


In DB2 UDB V6.x , tablespace privileges can not granted.

but in V7

following command can be used to control tablespace privileges


REVOKE USE OF TABLESPACE tablespace-name FROM USER


Let me know , if any questions


Thank You

Lekharaju Ennam
Reply With Quote
  #3 (permalink)  
Old 02-04-04, 06:35
cgprakash cgprakash is offline
Registered User
 
Join Date: Feb 2002
Posts: 96
Thanks.

Yes. We can not grant tablespace privileges seperately(in V6).
But when we create a database, tablespace(userspace1) USE privilege will be granted to PUBLIC(by default). How can we revoke this??
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On