All Downloads are FREE. Search and download functionalities are using the official Maven repository.

db2.information_schema.DATABASE_USERS.sql Maven / Gradle / Ivy

SELECT
  AUTHID AS USERNAME,
  BINDADDAUTH,
  CONNECTAUTH,
  CREATETABAUTH,
  DBADMAUTH,
  EXTERNALROUTINEAUTH,
  IMPLSCHEMAAUTH,
  LOADAUTH,
  NOFENCEAUTH,
  QUIESCECONNECTAUTH,
  SECURITYADMAUTH,
  SQLADMAUTH,
  WLMADMAUTH,
  EXPLAINAUTH,
  DATAACCESSAUTH,
  ACCESSCTRLAUTH,
  CREATESECUREAUTH
FROM
  SYSIBMADM.AUTHORIZATIONIDS A
  LEFT JOIN SYSCAT.DBAUTH D
    ON D.GRANTEE = A.AUTHID
WHERE
  AUTHIDTYPE = 'U'
WITH UR




© 2015 - 2025 Weber Informatics LLC | Privacy Policy