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.

 
Go Back  dBforums > Database Server Software > DB2 > cannot retreive data

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 08-01-09, 13:43
samuelhenryjohn samuelhenryjohn is offline
Registered User
 
Join Date: Aug 2009
Posts: 1
cannot retreive data

Hello everyone,
i installed the db2 client database.i created a username password iam trying to access the data of employee table of sample database..iam not able to get the data the error is

For more information about DB2 privileges search the DB2 Information
Center for "privileges" and "granting privileges" .

sqlcode: -551

sqlstate: 42501, 5UA0K

My query wasELECT * FROM "SYSTEM"."DEPARTMENT";
Reply With Quote
  #2 (permalink)  
Old 08-03-09, 04:55
aflorin27 aflorin27 is offline
Registered User
 
Join Date: Apr 2008
Location: Iasi, Romania
Posts: 317
Seems that your user does not have enough privileges. Take a look of GRANT statement.
IBM DB2 9.5 Information Center for Linux, UNIX, and Windows
__________________
Florin Aparaschivei
Iasi, Romania
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On