db2.information_schema.CHECK_CONSTRAINTS.sql Maven / Gradle / Ivy
The newest version!
SELECT
NULLIF(1, 1) AS CONSTRAINT_CATALOG,
STRIP(SYSCAT.CHECKS.TABSCHEMA) AS CONSTRAINT_SCHEMA,
STRIP(SYSCAT.CHECKS.CONSTNAME) AS CONSTRAINT_NAME,
SYSCAT.CHECKS.TEXT AS CHECK_CLAUSE
FROM
SYSCAT.CHECKS
ORDER BY
SYSCAT.CHECKS.TABSCHEMA,
SYSCAT.CHECKS.CONSTNAME
WITH UR
© 2015 - 2025 Weber Informatics LLC | Privacy Policy