sp_columns returns information about the type of data that can be stored in one or more columns.
1> DCSERVER...sp_columns "publishers", null, null, "p%" table_qualifier table_owner table_name column_name data_type type_name precision length scale radix nullable remarks ss_data_type colid remote_data_type -------------------------------- ------------------------------ ------------------------------ ------------------------------ ----------- ---------------------------------------------------------------------------------------------------------- ----------- ----------- ----------- ----------- ----------- -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- ------------ ----------- ---------------- NULL SYSTEM PUBLISHERS PUB_ID 1 CHAR NULL 4 NULL 0 0 NULL 47 1 96 NULL SYSTEM PUBLISHERS PUB_NAME 12 VARCHAR2 NULL 40 NULL 0 1 NULL 39 2 1 (2 rows affected) (return status = 0)
Any user can execute sp_columns.