By decipherinfosysThis project needed to support having multiple NULL values in the column and still have a UNIQUE constraint. That is allowed by Oracle but not in SQL Server and DB2 LUW. There is a way to make this work in SQL Server and DB2 LUW also but that requires a work-around. Consider this table:
CREATE [...]
Archive for the ‘DB2’ Category
Multiple NULL values in a Unique index in SQL Server/DB2 LUW
Posted in DB2, Oracle, tagged db2 luw, DB2 Null, Oracle, SQL Server, unique index on May 3, 2008 | Leave a Comment »
Compare data between 2 identical tables in DB2
Posted in DB2, Oracle, tagged DB2, Oracle, sql query, sql query minus on May 3, 2008 | Leave a Comment »
User comments for the following queries are highly appreciated..
How does one compare data between 2 identical tables in DB2 ? In Oracle, one can use the minus option which is not there in DB2.
To truncate DB2 Table
Posted in DB2, tagged ALter, DB2, query, truncate on April 20, 2008 | Leave a Comment »
DB2 Truncate is not as straight forward as Oracle Truncate. If in Oracle you can use “truncate table “… You may use the below command to truncate table in db2.
alter table schema.table_name activate not logged initially with empty table
IBM Database Business Keeps Growing
Posted in DB2, tagged BI, business intelligence, cognos, database, DB2, db2 9.5, ibm on April 18, 2008 | Leave a Comment »
IBM officials said the company’s database business, bolstered by last year’s releases of DB2 9.5 and IDS 11, enjoyed a solid first quarter of 2008.
With all the talk surrounding IBM’s successful first quarter for 2008, the company’s data server business could get lost in the shuffle.
But the release of Big Blue’s DB2 9.5 database is [...]
DB2 LUW Performance: Table Read I/O and Overflows
Posted in DB2, tagged DB2, i/O performance, performance, query performance, query tuning, read, TBROVP, TBRRTX on April 10, 2008 | Leave a Comment »
Understanding Table I/O performance is critically important to properly diagnosing the health and efficiency of a database and pinpointing problems. In fact, if I only had just a few minutes to quickly assess a database, I’d look at 3 key measurements…
The Database Synchronous Read Percentage, SRP,
The Database Index Read Efficiency, IREF,
Table I/O measurements:
The average number [...]
Tips about DB2 database load
Posted in DB2, tagged apache, db2 load, db2 move, derby, test database on April 8, 2008 | Leave a Comment »
Requirement : With the DB2 databases on DB2 V8.1.0.12 on a SUSE 9 Linux image. The developers are using RAD and have Apache Derby on their Windows PCs to use for a development database. Need to export all the data from all the tables from two of our databases for them to import into their [...]


