title: How to find primary key on a table in DB2?
body: <p>I am unable to fetch primary key in DB2. I used following code but It is not working for me.</p>
  
  <p>SELECT TBCREATOR, TBNAME, NAME, KEYSEQ
         FROM SYSIBM.SYSCOLUMNS
         WHERE TBCREATOR = 'DSN8710'
         AND TBNAME = 'EMPLOYEE'
         AND KEYSEQ > 0
           ORDER BY KEYSEQ;</p>
  
  <p>And what is the means of TBCREATOR in this code and how to modified TBCREATOR value according to my case?</p>