提取sybase表结构
select u.suid,u.uid,u.name uname,
o.id oid,o.name oname,o.type,
c.id tid,c.colid,c.name cname,
c.type,t.name tname,c.length
from syscolumns c,sysobjects o,sysusers u,systypes t
where c.type=t.type
and c.id=o.id
and o.uid=u.uid
select u.suid,u.uid,u.name uname,
o.id oid,o.name oname,o.type,
c.id tid,c.colid,c.name cname,
c.type,t.name tname,c.length
from syscolumns c,sysobjects o,sysusers u,systypes t
where c.type=t.type
and c.id=o.id
and o.uid=u.uid