Hello..
Can somebody please assist me here?
My goal is to have a sql script that will parse a DB2 schema and help identify the following:
NOTE: I HAVE ONE (WORKING SQL SCRIPT) FOR ORACLE AND IT WORKS, BUT WHAT SQL SCRIPTING DIFFERENCES WILL I HAVE TO ACCOUNT FOR, FOR DB2 UDB.
My goal is to have a sql script that will parse a DB2 schema and help identify the following inside a DB2 dB:
------ Distinct Object Types and their Count in the Schema
------ Distinct Column Data Types and their Count in the Schema
------ Tables With No Primary Key or Unique Index in the Schema
------ Tables with no PK or unique index and more than 32 columns
------ Tables Defined with Rowsize > 24k in the Schema
------ Tables With CLOB, BLOB, LONG, or LONG RAW Columns in the Schema
------ Tables With Columns of Special Datatypes in the Schema
------ IOT, Cluster, or Object Tables - in the Schema
------ Types of Constraints on the Tables in the Schema
------ Tables Defined with Triggers in the Schema
Thanks in advance for the assistance..
Can somebody please assist me here?
My goal is to have a sql script that will parse a DB2 schema and help identify the following:
NOTE: I HAVE ONE (WORKING SQL SCRIPT) FOR ORACLE AND IT WORKS, BUT WHAT SQL SCRIPTING DIFFERENCES WILL I HAVE TO ACCOUNT FOR, FOR DB2 UDB.
My goal is to have a sql script that will parse a DB2 schema and help identify the following inside a DB2 dB:
------ Distinct Object Types and their Count in the Schema
------ Distinct Column Data Types and their Count in the Schema
------ Tables With No Primary Key or Unique Index in the Schema
------ Tables with no PK or unique index and more than 32 columns
------ Tables Defined with Rowsize > 24k in the Schema
------ Tables With CLOB, BLOB, LONG, or LONG RAW Columns in the Schema
------ Tables With Columns of Special Datatypes in the Schema
------ IOT, Cluster, or Object Tables - in the Schema
------ Types of Constraints on the Tables in the Schema
------ Tables Defined with Triggers in the Schema
Thanks in advance for the assistance..