SAP ASE includes several procedures and functions you can use to get information about databases, tables, and other database objects.
See the Reference Manual: Procedures and also the Reference Manual: Building Blocks for information about the procedures and functions for additional information.