利用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為數(shù)字類型,則去掉單引號.
如果id為自動編號,就把改為:
insert into article (class,title,content) select '2',title,content from article where class='1'
如果class為數(shù)字類型,則去掉單引號.
相關文章
Hardware_Info.vbs 獲取硬件信息的VBS代碼
代碼沒有技術水準,網上搜索有一大堆類似代碼,關鍵是中文描述方式,支持多個硬盤、顯卡、內存、聲卡、網卡,CPU超頻識別,支持cmd調用2013-01-01

