您的位置:程序门 -> vb -> 数据库(包含打印,安装,报表)



关于insert into语句


[收藏此页] [打印本页]选择字色:背景色:字体:[][][]


关于insert into语句[已结贴,结贴人:fongzl]
发表于:2007-08-03 17:47:53 楼主
insert   into   all   select   table1.*   from   table1
上面这个语句直接写在access中可以执行,但是在vb中就提示出错,这是为什么?
发表于:2007-08-03 18:50:491楼 得分:7
把 all 换个名字
发表于:2007-08-06 09:15:392楼 得分:7
cn.EXECute   "insert   into   [all]   select   table1.*   from   table1 "
发表于:2007-08-06 10:39:153楼 得分:6
insert   into   [all]   select   table1.*   from   table1
不过对于sql中的关键字最好不要使用,可以作一下修改如:all_table


快速检索

最新资讯
热门点击