How do I look at column metadata in Sybase?
问题 I have a list of columns a co-worker has given to me, but these columns reside in different tables in the DB. Is there some kind of tool in Sybase where I can query the table a column belongs to? (I've tried Google-ing for this kind of tool, but no luck so far) 回答1: syscolumns holds column metadata. select * from syscolumns where name = ; The id column in syscolumns is the id of the column's table, in sysobjects; select b.name as tablename, a.name as columnname from syscolumns a join