首页 > 代码库 > SQLException: Column count doesn't match value count at row 1

SQLException: Column count doesn't match value count at row 1

INSERT INTO table_name(col_name1, col_name2, col_name3) VALUES(‘value1‘,‘value2‘); 

语句中,前后列数不等造成的

转自:http://blog.csdn.net/ilbubby/article/details/6596119