Results 1 to 3 of 3
  1. #1
    Join Date
    May 2004
    Posts
    7

    Unanswered: 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?

  2. #2
    Join Date
    May 2003
    Location
    USA
    Posts
    5,737
    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

  3. #3
    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!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •