如题。
试了这样写:
LOCK TABLES d_order WRITE,d_order_insert WRITE,d_chooseware WRITE,d_insert_table WRITE;
insert into d_insert_table (oderId,surname,sex,tel,adress,) values ('20101031432262861','ax','ax','ax','ax','ax');
INSERT INTO d_order_insert  SELECT * FROM d_insert_table;TRUNCATE TABLE d_insert_table;UNLOCK TABLES;错误提示:
1192-Can't execute the given command becouse you have acitve tables or an active transaction