Not logged initially must be forbidden!

You can temporarily turn off logging for a table with the statement “ALTER TABLE ACTIVATE NOT LOGGED INITIALLY“. Do not do this if you are using archival logging; here is why: The ALTER statement will turn off logging for the table until the next commit....

Comparing DB2 10.5 Express-C with its competitors

DB2 Express-C is the free edition of the DB2 for Linux / Unix  / Windows database. Unlike Microsoft and Oracle express offerings, DB2 Express-C does have a huge limit on the size of database! The latest edition (10.5) relaxes its memory restriction by 400%! It will...

FREE DB2 SQL Cookbook

Did you end up here because you found out that Graeme Birchall’s website is shutdown and you want the free SQL Cookbook? Keep reading, we still have it! Graeme Birchall is the author of the free DB2 SQL Cookbook which has been extremely popular, but now his...

DB2 Handling -805 on SYSLH2 packages

Did you ever encounter a SQLCODE -805 (SQLSTATE 51002) in a distributed dynamic SQL environment? A bit strange because the SQLCODE -805 says DBRM or package not found in plan, but we are dealing with dynamic SQL. Here is what happened…It all started with an...