利用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为数字类型,则去掉单引号.
相关文章
Hardware_Info.vbs 获取硬件信息的VBS代码
代码没有技术水准,网上搜索有一大堆类似代码,关键是中文描述方式,支持多个硬盘、显卡、内存、声卡、网卡,CPU超频识别,支持cmd调用2013-01-01


最新评论