?
Solved

Different USER ID and Schema in DB2

Posted on 2009-05-16
4
Medium Priority
?
748 Views
Last Modified: 2012-05-07
Hi,
How to create different user ids in DB2. Also how to create different schema for each user.
0
Comment
Question by:cuttieveenz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
  • 2
4 Comments
 
LVL 46

Expert Comment

by:Kent Olsen
ID: 24402847
Hi cuttie,

DB2 defers to the underlying operating system for user validation.  To create a DB2 user, create a user on the server where DB2 is running.

You can always create additional schemas.  The DBA (or anyone with sufficient privilege) would create one with the CREATE SCHEMA statement.

In most releases of DB2, I believe that a user's default schema is the user's name.


Good Luck,
Kent
0
 

Author Comment

by:cuttieveenz
ID: 24402863
How do I create user on the server?
0
 
LVL 46

Accepted Solution

by:
Kent Olsen earned 2000 total points
ID: 24402882
Depends on the server.

If it's Windows, start with My Computer / Manage.

If it's linux or unix, the adduser (or useradd) command will create a new user.  You can specify the password when you create the user or use the passwd command to change/set it.

If it's an OS/2 or AS/400 server, we'll have to get someone else to chime in as I'm not a mainframe type.


Kent
0
 

Author Closing Comment

by:cuttieveenz
ID: 31582225
Thanks Kdo. Your comments were useful.
0

Featured Post

DFW AZURE MEETUP TONIGHT FRI 6PM

We will be discussing what Azure Stack is, how does it fit into the suit of offerings that Azure has currently, and where can it fit into your organizations technology stack. We will also be discussing limitations of the platform while covering various applicable scenarios.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recursive SQL in UDB/LUW (you can use 'recursive' and 'SQL' in the same sentence) A growing number of database queries lend themselves to recursive solutions.  It's not always easy to spot when recursion is called for, especially for people una…
Recursive SQL in UDB/LUW (it really isn't that hard to do) Recursive SQL is most often used to convert columns to rows or rows to columns.  A previous article described the process of converting rows to columns.  This article will build off of th…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
How to fix incompatible JVM issue while installing Eclipse While installing Eclipse in windows, got one error like above and unable to proceed with the installation. This video describes how to successfully install Eclipse. How to solve incompa…
Suggested Courses

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question