大虾们都进来看看阿!简单的问题!(没分了,见谅)

audrey0512 2003-08-15 08:33:25
我想把表A中的某条数据整个复制一遍,然后还添加到这个表里面。
我该怎么做阿?
我不想一个一个字段取出来在增加进去,你们有什么别的好方法。
谢谢大虾们
...全文
43 13 打赏 收藏 转发到动态 举报
写回复
用AI写文章
13 条回复
切换为时间正序
请发表友善的回复…
发表回复
audrey0512 2003-08-20
  • 打赏
  • 举报
回复
up
yunfeng007 2003-08-15
  • 打赏
  • 举报
回复
一楼说得不错
haipingma 2003-08-15
  • 打赏
  • 举报
回复
insert into tablename select * from tablename where 某条数据
strongfisher 2003-08-15
  • 打赏
  • 举报
回复
insert into b select * from A where .....
lxqlogo0 2003-08-15
  • 打赏
  • 举报
回复
insert into A select * from A where ....
cloudtarget 2003-08-15
  • 打赏
  • 举报
回复
insert into B select * from A where ....
chenkangli 2003-08-15
  • 打赏
  • 举报
回复
insert into A select * from A where ....
zhenglc 2003-08-15
  • 打赏
  • 举报
回复
如果有自动编号的字段
insert into table1 ( f1, f2 ) select f1, f2 from table1 where...
不要选择自动编号的字段
audrey0512 2003-08-15
  • 打赏
  • 举报
回复
表里面的关键字段就拾自动编号的,改怎么解决?
dandy1437 2003-08-15
  • 打赏
  • 举报
回复
有阿,改怎么解决阿?
zhenglc 2003-08-15
  • 打赏
  • 举报
回复
或者表有唯一性约束
zhenglc 2003-08-15
  • 打赏
  • 举报
回复
是否有自动编号的字段?
audrey0512 2003-08-15
  • 打赏
  • 举报
回复
Insert Error: Column name or number of supplied values does not match table definition.
错误信息,怎么回事?

7,763

社区成员

发帖
与我相关
我的任务
社区描述
VB 基础类
社区管理员
  • VB基础类社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧