title: Discover primary / unique keys in Sybase ASE
body: <p>In Sybase ASE, I would like to discover all primary and unique keys. I want to do something similar to what is explained in this answer:</p>
  
  <p><a href="https://stackoverflow.com/questions/4943420/identifying-sybase-tables-fields-keys-constraints#5038914">Identifying Sybase tables, fields, keys, constraints</a></p>
  
  <p>But unfortunately, this doesn't work for me. Somehow the <code>syskeys</code> table does return any rows for my own keys, only for system table keys.</p>
  
  <p>What may I be doing wrong? Some missing grants? I have installed Sybase ASE 15.5 and I'm connecting with user <code>dbo</code>, login <code>sa</code></p>