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.
Iam new to this forum.I want to know how to create a new user in db2 by query language.If i Use the query create user username,it shows the following error, An unexpected token "user" was found following "create ".so provide me solution.
you can't create an user in DB2. You must already have an user-ID assigned to use DB2. ( assigned by UNIX , TSO-login , RACF .... depending on the platform you use ).
To control access to DB2-resources for that ID, you may use the GRANT and REVOKE - statements of DB2