1 列出数据库里所有的用户表名
select name from sysobjects where type='U'
2 获取表的列名及其属性
select * from information_schema.columns where table_name='log4j'
select name from sysobjects where type='U'
2 获取表的列名及其属性
select * from information_schema.columns where table_name='log4j'