I am using following query to get the list of all constraints of a single table in my database
sp_helpconstraint 'schema.tableName'
and then I am extracting the "Check Constraints" from the result set and using it. But as I have to run the above query every time for each table, therefore this makes my process slower. What I want is- a query in which I can get either the list of all constraints with their definition or only the List of Check Constraints for all tables of the database at once. As this will help to speed up my process in Sybase ASE