1. 程式人生 > >mysql 批量插入、刪除

mysql 批量插入、刪除

insert into xwb20_voite_content (t_id,content,num,addtime) values(3,'測試',1,'1320595200'),(3,'測試',1,'1320595200')

delete  t,c  from  VOITE_TITLE t,VOITE_CONTENT c WHERE  t.id   = c.t_id  and t.id=$id and c.t_id=$id"