語句是程式產生的,直接複製到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,department_seq,remark) values(1000000007,10007,1007,100000007,1007,10000000 '浪河分局','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,department_seq,remark) values(1000000007,10007,1007,100000007,1007,10000000 '浪河分局','2011-01-01',5,'')
#