查询一个表的所有字段

select COLUMN_NAME from information_schema.COLUMNS where table_name = '要查询表的名字'; 

猜你喜欢

转载自www.cnblogs.com/sunxun001/p/10996254.html