Quantcast
Channel: dBforums – Everything on Databases, Design, Developers and Administrators
Viewing all articles
Browse latest Browse all 13329

How to give select permission on particular table to user

$
0
0
Hi all,
in aix environment , i want to give only select permission on particular table to a user.

i tried to creat new user and add

# The following three lines have been added by UDB DB2.
if [ -f /home/db2inst1/sqllib/db2profile ]; then
. /home/db2inst1/sqllib/db2profile
fi
but it giving complete permission, so i remoted above lines from testuser again

from db2inst1,run following command , it is successful

db2 "grant connect on database to user testuser"

DB20000I The SQL command completed successfully.

but db2 is not working in testuser

what to do to run db2 in testuser, where i am missing??

anybody can help me ???

Viewing all articles
Browse latest Browse all 13329

Trending Articles