In order to view the schema of the database, you will need to have
schema privileges. This can be accomplished for users or for user
groups. To grant schema privileges for users, in the Control Center,
expand the object tree until you see the Schemas folder. Open the
folder and then right click over the schema you want to grant
privileges to. This will open the Schema Privileges notebook. In the
User box, you will see all the users with privileges for that schema.
To add a user, click on Add User. Select the user from the Users list.
Then you can Grant All or grant individual privileges. From that
point, users with privileges will be able to alter the schema.
To Alter a schema, from the Control Center, get to the Schemas Folder
again. Right click over the schema you want and select Alter. The
Alter Schema window will then open.
To create schemas, again, in Control Center, get to the Schema's
window (see above) Right click the Schemas folder and choose Create.
The Create Schema window will open. Type a name for the new schema.
The name must:
-Consist of 1 to 8 characters, including uppercase letters (A-Z),
digits (0-9), underscore (_), dollar sign ($), pound sign (#), and the
at sign (@)
-Must begin with a letter (A-Z)
-Must not begin with SYS
-Can be an ordinary or delimited identifier
After naming, in the Authorization Name, select the owner of the
schema.
Thanks for your question. If you need any further clarification or
assistance, please let me know and I will do my best to help.
Regards,
-THV
References:
DB2 Administrators Guide
http://www-3.ibm.com/software/data/db2/udb/ad/v7/adg/db2a0/frame3.htm#db2a0238
DB2 Survival Guide
http://www.michael-thomas.com/db2/ |
Request for Answer Clarification by
comprodguy-ga
on
30 Oct 2002 12:36 PST
The only thing is, the DB2 database itself is on the AS/400, so the
interface is the AS/400's green screen--not the Windows control center
in this case, which only affects the DB2 Connect software, not the DB2
database. So the answer I'm looking for would probably involve some
command I would enter into the command center in the control center,
or a command I would enter on the actual AS/400 terminal.
Thanks!
|