如果表已经建好,没有case 工具,在pb中 使用数据库画笔,打开表,使用 export syntax to log ,save log as 就会得到 相应的表和字段的说明.
如果有 case 工具 ,如erwin/erx , pd ,playcase ,rose 等,可以 进行 report or reverse engineer .
什么都没有,就只能 自己写sql ,如上几位大侠 所说, 从 pb system table 中
select from pbcattbl where type = '?'...
select from pbcattbl ,pbcatcol where ...