I need the list of the primary keys for each table in a database . if a table has 1 key or 2 primary keys . it should show me in result set.
Please help me with the query . i am using the below "sp_pkeys". it is giving me correct and required result set .
exec sp_pkeys 'tableName'
but i need a Query .
My database is Sybase 15