SQL to get the roles assigned to a permission list.



SELECT B.ROLENAME, B.CLASSID AS PERMISSION_LIST
      FROM PSCLASSDEFN A, PSROLECLASS B
     WHERE A.CLASSID = B.CLASSID AND A.CLASSID = 'PTPT1200'
     ORDER BY 1,2;

Comments

Popular posts from this blog

BI Publisher: If Condition with sub-string in rtf template