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 > db2 on linux question

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-18-04, 18:22
unika unika is offline
Registered User
 
Join Date: May 2004
Posts: 7
db2 on linux question

i just installed the db2 on my home linux machine and cannt figure out how i can grant create database to some user other then instance owner.
i've got three db2 related users: db2admin, db2inst, db2fenc.
Now how i can create a database MYDB as a user say user1, and use sql statements like select * from table1, without explicit schema name?
Reply With Quote
  #2 (permalink)  
Old 08-18-04, 19:14
Marcus_A Marcus_A is offline
Registered User
 
Join Date: May 2003
Location: USA
Posts: 5,196
Create database is not an SQL command so it is not governed by normal grant and revoke SQL. I beleive that you need to put them in the sysadm group in the database manager parms (DBM).
__________________
M. A. Feldman
IBM Certified DBA on DB2 for Linux, UNIX, and Windows
IBM Certified DBA on DB2 for z/OS and OS/390
Reply With Quote
  #3 (permalink)  
Old 08-19-04, 05:13
unika unika is offline
Registered User
 
Join Date: May 2004
Posts: 7
Quote:
Originally Posted by Marcus_A
Create database is not an SQL command so it is not governed by normal grant and revoke SQL. I beleive that you need to put them in the sysadm group in the database manager parms (DBM).
ok, i got it.
thanks!
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