https://blog.faq400.com/en/system-administration-en/checking-ptf-level-with-sql-2/
PTFs and PTF Groups: Are you up to date? Let's check via SQL