In this blog post, you’ll learn more about the Sybase Error Table already has a primary key and the reason for receiving this error
Sybase SQL Error Message
Table already has a primary key
Reason for this Error
You attempted to add a primary key on a table that already has a primary key defined. You must delete the current primary key before adding a new one.