databasedb2cobolmainframe

How to see constraints of table db2


I have a DB2 table and i want to see which columns are declared NOT NULL.

What are the other constraints of all columns of the table (Primary Key) ?


Solution

  • You have a choice of ways, it depends on your available tooling and it also depends on your Db2-server platform (z/os, i-series, linux/unix/windows/cloud).