语句是程序生成的,直接复制到FRONT下执行没有问题,但是在程序中执行就会提示错误:
1062:Duplicate entry '1000000007' for key 'PRIMARY'
请大虾帮忙分析原因看看
实际上插入是成功的,但是一直提示错误
insert into department_t(department_id,department_type_id,department_name,department_short_name,build_date,department_seq,remark) values(1000000007,1,'浪河分局','浪河分局','2011-01-01',5,'')
实际上插入是成功的,但是一直提示错误
insert into department_t(department_id,department_type_id,department_name,department_short_name,build_date,department_seq,remark) values(1000000007,1,'浪河分局','浪河分局','2011-01-01',5,'')