Created
January 31, 2020 14:16
-
-
Save ghitti/d76f5585ff06352038b4114507b7ca02 to your computer and use it in GitHub Desktop.
Determine DDS described physical files with unique keys
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- Determine DDS described physical files with unique Keys | |
SELECT a.* | |
FROM QSYS2.SYSPARTITIONINDEXSTAT a | |
WHERE Table_Schema = 'yourSchema' | |
AND Index_Type = 'PHYSICAL' | |
AND UNIQUE = '0'; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment