#新增数据 INSERT INTO goods VALUES(10,'豆豆','男',85.2,'2016-12-14',5000.36,'2016-12-14 12:05:06','高') INSERT INTO goods VALUES(11,'小小','女',86.2,'2016-12-13',5000.36,'2016-12-13 11:05:06','高'); INSERT INTO goods VALUES(12,'笑笑','女',84.2,'2015-12-14',5000.36,…
查询表名为tb_menu的所有列名 select name from syscolumns where id=object_id('tb_menu') 查询表名为tb_menu的所有列名个数 select count(name) from syscolumns where id=object_id('tb_menu') 或者 select count(syscolumns.name) from syscolumns ,sysobjects where syscolum…