Portal | Manuals | References | Downloads | Info | Programs | JCLs | Mainframe wiki | Quick Ref
IBM Mainframe Computers Forums Index
 
Register
 
IBM Mainframe Computers Forums Index Mainframe: Search IBM Mainframe Forum: FAQ Memberlist Profile Log in to check your private messages Log in
 
TABLE-SPACE DROP PRIVILEGE Question

 
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2
View previous topic :: :: View next topic  
Author Message
Amit Suri

New User


Joined: 28 Oct 2008
Posts: 25
Location: hyderabad

PostPosted: Sat Jul 31, 2010 6:00 pm    Post subject: TABLE-SPACE DROP PRIVILEGE Question
Reply with quote

Hi All

While preparing for the DB2-700 Certification i came across this question

I read in the IBM Study material that DBADM CAN NOT create or Drop the
tablespace

Now coming to another popular Db2 Book , it is written that a USER with the CONTROL Privilege On the TABLE-SPACE can Drop it And only the one with SYSADM or DBADM can Grant user the CONTROL Privilege
This tells me that Indirectly a DBADM can Drop the tablespace

The first book is :IBM material for Preparing for DB2-700
Second one is DB2-700 Fundamental Study Guide by Sanders

Could someone please clarify where i am getting it wrong?

Thanks
Amit Suri
Back to top
View user's profile Send private message

sushanth bobby

Senior Member


Joined: 29 Jul 2008
Posts: 1013
Location: India

PostPosted: Mon Aug 02, 2010 6:03 am    Post subject:
Reply with quote

Amit,

Quote:
DBADM CAN NOT create or Drop the tablespace

True. If that administrator doesn't have DBADM authority on that database.

Check this link

Is there any reason for writing V8 certification exam(700), when V9 exam(730) for the same is available ?

Thank You,
Sushanth
Back to top
View user's profile Send private message
Amit Suri

New User


Joined: 28 Oct 2008
Posts: 25
Location: hyderabad

PostPosted: Mon Aug 02, 2010 11:13 am    Post subject: Reply to: TABLE-SPACE DROP PRIVILEGE Question
Reply with quote

Thanks for your response .
Back to top
View user's profile Send private message
Manshadi

New User


Joined: 31 Aug 2005
Posts: 82

PostPosted: Tue Aug 03, 2010 7:54 pm    Post subject:
Reply with quote

Hi,
The following statements is copied from DB2 administrator version 7 on ZOS :

DBADM │ Database administration, which includes DBCTRL over a │
│ │ specific database, plus privileges to access any of its │
│ │ tables through SQL statements. If held with the GRANT │
│ │ option, DBADM can grant those privileges to others. │
│ │ │
│ │ Can also drop and alter any table space, table, or index │
│ │ in the database, issue a COMMENT ON, LABEL ON, or LOCK │
│ │ TABLE statement for any table, and issue a COMMENT ON │
│ │ statement for any index. If the value of field DBADM │
│ │ CREATE VIEW on installation panel DSNTIPP was set to YES │
│ │ during DB2 installation, a user with DBADM authority │
│ │ can: │
│ │ │
│ │  Create a view for another user ID. The view must be │
│ │ based on at least one table and that table must be │
│ │ in the database where the user ID that issued the │
│ │ CREATE VIEW statement has DBADM authority. See the │
│ │ description of the CREATE VIEW statement in Chapter │
│ │ 5 of DB2 SQL Reference. │
│ │ │
│ │  Create an alias for another user ID on any table in │
│ │ the database. │
│ │ │
│ │ However, a user with DBADM authority on one database can │
│ │ create a view on tables and views in that database and │
│ │ other databases if the authorization ID for which the │
│ │ view is created has all other privileges that are │
│ │ required to create the view. A user with DBADM authority │
│ │ cannot create a view on a view that is owned by another │
│ │ user I

I hope it would be help full.

Regards
Manshadi
Back to top
View user's profile Send private message
View previous topic :: :: View next topic  
Post new topic   Reply to topic    IBMMAINFRAMES.com Support Forums -> DB2 All times are GMT + 6 Hours
Page 1 of 1

 

Search our Forum:

Similar Topics
Topic Author Forum Replies Posted
No new posts Update table without cursor Ron Klop DB2 3 Wed Oct 11, 2017 1:06 pm
No new posts question about dfsms management clas... Hervey Martinez IBM Tools 0 Tue Oct 10, 2017 6:19 pm
No new posts Table(Unicode(Graphic) table) loading... muralikrishnan_new DB2 0 Thu Oct 05, 2017 5:10 pm
No new posts The TS7720 is out of cache space. Rex Montemayor All Other Mainframe Topics 2 Mon Sep 25, 2017 7:18 am
No new posts Insert a Row_number into table useit DB2 2 Tue Sep 19, 2017 1:07 pm

Facebook
Back to Top
 
Job Vacancies | Forum Rules | Bookmarks | Subscriptions | FAQ | Polls | Contact Us