1.--读取库中的所有表名
--读取库中的所有表名
select
name
from
sysobjects
where
xtype=
'u'
--读取指定表的所有列名
syscolumns
id=(
max
(id)
and
=
'表名'
)