利用sql語句復制一條或多條記錄
更新時間:2008年08月01日 23:50:10 作者:
sql 復制記錄
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為數字類型,則去掉單引號.
如果id為自動編號,就把改為:
insert into article (class,title,content) select '2',title,content from article where class='1'
如果class為數字類型,則去掉單引號.
相關文章
編寫可以打開文本文件并打亂在該文件中所找到的單詞順序的vbs腳本
編寫可以打開文本文件并打亂在該文件中所找到的單詞順序的vbs腳本...2007-03-03

