Last active
August 4, 2020 12:50
-
-
Save jsranko/a4df33acbb845bb76db617e33e06a642 to your computer and use it in GitHub Desktop.
All sources of the system with SQL
This file contains 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
select a.table_schema, a.table_name, b.table_partition, c.recorddata | |
from systables a | |
join syspartitionstat b | |
on a.table_name = b.table_name | |
and a.table_schema = b.table_schema | |
join table(siiia/SIPFM_ListData(a.table_schema, a.table_name, b.table_partition)) c | |
on 1 = 1 | |
where a.file_type = 'S' | |
; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment