欧美bbbwbbbw肥妇,免费乱码人妻系列日韩,一级黄片

利用sql語句復(fù)制一條或多條記錄

 更新時間:2008年08月01日 23:50:10   作者:  
sql 復(fù)制記錄
insert into article (id,class,title,content) select id,'2',title,content from article where class='1' 

如果id為自動編號,就把改為: 
insert into article (class,title,content) select '2',title,content from article where class='1' 

如果class為數(shù)字類型,則去掉單引號.

相關(guān)文章

最新評論