In Sybase, there are some built-in sproc that helps you to manage/manipulate/view databases and tables. sp_helpconstraint sp_help sp_helptext