如何在 Sybase 中按排序顺序查看 Table 列

How to see Table columns in sorted order in Sybase

sp_help 列出了 table 列,但它们没有按照它们的名称排序(我猜可能是按照它们在 table 中出现的实际顺序)。对于 table 中的许多列,很难找到列名,所以有什么方法可以让我看到按名称排序的列名。

select col.name from 
sysobjects tab 
inner join 
syscolumns col 
on tab.id = col.id 
where tab.type = 'U' 
and tab.name = 'TABLE_NAME' 
order by col.name