select
utc.column_name 字段名,
utc.data_type 字段类型,
utc.data_length 数据长度,
utc.data_precision 数据精度,
utc.nullable 是否为空 ,
ucc.comments 备注
from user_tab_columns utc,user_col_comments ucc
where utc.column_name = ucc.column_name and utc.Table_Name = ucc.Table_Name
and utc.Table_Name = 'xxx' and owner='模式名字'