title: db2 table inactive after a patch
body: <p>I ran the following db2 script with no problem on my terminal. but when I try to access the actual front end page involved with this table I get the error (code <strong>57016</strong>) that indicates the table is inactive. I restarted the db2 but still this issue is happening. </p>
  
  <p>Can anyone please help me out here</p>
  
  <pre><code>alter table CUSTOMER alter column Delivery set default 0! 
  alter table CUSTOMER alter column Delivery set not null! 
  
  alter table CUSTOMER add constraint pref_ck4 check (Delivery between 0 and 1)!
  
  commit!
  quit!
  </code></pre>
  
  <p>and the rollback was:</p>
  
  <pre><code>alter table CUSTOMER alter Delivery drop DEFAULT!
  alter table CUSTOMER alter COLUMN Delivery drop NOT NULL!
  
  alter table CUSTOMER drop constraint pref_ck4!
  
  reorg table CUSTOMER!
  
  commit!
  quit!
  </code></pre>
  
  <p>The error I receive:</p>
  
  <pre><code>UncategorisedDatabaseException: Query=[SELECT * FROM CUSTOMER WHERE ID = ?], database       vendor error message is: DB2 SQL error: SQLCODE: -668, SQLSTATE: 57016, SQLERRMC: 7;CUSTOMER, UncategorisedDatabaseException errorCode = -668
  
  db2 =&gt; ? 57016
  
  SQLSTATE 57016: The table cannot be accessed, because it is inactive.
  </code></pre>