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 > Error

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-14-09, 09:42
ratheeshknair ratheeshknair is offline
Registered User
 
Join Date: Jan 2009
Posts: 153
Error

Hi Experts,

I got error when i tried a select statment on table EXICRDAPPT

SQL0668N Operation not allowed for reason code "1" on table
"ADMINISTRATOR.EXICRDAPPT". SQLSTATE=57016.


Before doing this I ran a truncate table on another table.

Please Help

TIA
Reply With Quote
  #2 (permalink)  
Old 05-14-09, 09:55
ratheeshknair ratheeshknair is offline
Registered User
 
Join Date: Jan 2009
Posts: 153
Problem Solved
Reply With Quote
  #3 (permalink)  
Old 05-14-09, 09:56
Cougar8000 Cougar8000 is offline
Registered User
 
Join Date: Nov 2005
Location: IL
Posts: 554
You have an RI on the table.

You got to learn to utilize IBM to get answers to this easy question.

Download at Least Message Ref pdf files

IBM - DB2 9 for Linux, UNIX and Windows manuals

Or simply go here DB2 Database for Linux, UNIX, and Windows

and put your error code there

or do on the command line

db2 "? SQL0668N"


1 Execute the SET INTEGRITY statement with the IMMEDIATE CHECKED
option on table "<table-name>" to bring the table out of the
Set Integrity Pending No Access state. For a user
maintained materialized query table, execute the statement
with the IMMEDIATE UNCHECKED option instead of the
IMMEDIATE CHECKED option.
__________________
--
IBM Certified DBA on DB2 for Linux, UNIX, and Windows

DB2 v9.1.0.2 os 5.3.0.0
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