Below query can be used to get all the logins having sa role in Sybase database.

select @@servername,l.name,l.fullname,u.name from syslogins as l,sysroles as r,sysloginroles as sr,sysusers as u where l.suid=sr.suid and u.uid=r.lrid and r.id=sr.srid and srid = 0

Sample outputRead the rest