页面导航: 首页脚本专栏vbs → 正文内容 sql 复制记录

利用sql语句复制一条或多条记录

发布:dxy 字体:[增加 减小] 类型:转载
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为数字类型,则去掉单引号.
浏览次数:载入中... 打印本文关闭本文返回首页

文章评论

共有 位脚本之家网友发表了评论我来说两句

同 类 文 章
最 近 更 新
热 点 排 行