MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

diff betn AUTHORIZATION & PRIVELEGES

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database
View previous topic :: View next topic  
Author Message
pzmohanty
Beginner


Joined: 20 May 2004
Posts: 97
Topics: 43
Location: hyderabad, India

PostPosted: Thu Aug 26, 2004 7:22 am    Post subject: diff betn AUTHORIZATION & PRIVELEGES Reply with quote

hi all,
In DB2 Context can any one explain with examples ,what is the difference between :

1) Authorization & Priveleges in DB2.
2) DB2 Instances & DB2 Databases.

Thanx in advn

P.R.Mohanty
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger
blitz
Beginner


Joined: 24 Dec 2002
Posts: 28
Topics: 4

PostPosted: Thu Aug 26, 2004 9:02 am    Post subject: Reply with quote

check out some manuals here

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/FINDBOOK?filter=db2

you should be able to find your answer.
Back to top
View user's profile Send private message
kolusu
Site Admin
Site Admin


Joined: 26 Nov 2002
Posts: 12378
Topics: 75
Location: San Jose

PostPosted: Thu Aug 26, 2004 9:22 am    Post subject: Reply with quote

Pzmohanty,

1. Before you issue DB2 commands, run utilities, run application packages and plans, or use most other DB2 functions, you need the appropriate authorization or privilege. For example, to make changes to a table, you need authorization to access that table. A privilege allows an action on an object. For example, to insert data into a table requires the privilege to insert data.

Check this link which explains in detail about data access. Read subtocpics 2.6.4.1.1 & 2.6.4.1.2 in the link below.

http://publibz.boulder.ibm.com/cgi-bin/bookmgr_OS390/BOOKS/DSNITH10/2.6.4.1?SHELF=&DT=20010219152025&CASE=

2. In DB2, a database is a set of table spaces and index spaces. These index spaces contain indexes on the tables in the table spaces of the same database. Databases are defined using the CREATE DATABASE statement and are primarily used for administration. Whenever a table space is created,it is explicitly or implicitly assigned to an existing database.

Any action you take on a database can be termed as an instance.For example CREATE TABLE statement creates one empty instance of the table, and all application processes
use that one instance of the table.

Hope this helps...

Cheers

Kolusu
_________________
Kolusu
www.linkedin.com/in/kolusu
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> Database All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group