不用For循环
解决方案 »
- 还是托盘小问题.为什么我获得到的tip和路径只是如"dows\systems\TTplayer.exe"这样不全的.
- 最新的DevExpress控件下载
- 简单问题
- 请问delphi可以实现“留痕”的功能吗,类似功能一般怎么才能实现呢?不太指望能实现,顶就给分
- ShellExecute的问题。。
- combobox怎麼把dbgrid(裡面可以包含多個子段)嵌套在裡面
- 判断一个文件是否能被打开?文件任意。
- ADO怎样才能存取oracle的lob字段,我用的是微软的provider 高手请进!
- 如何取得拨号连接成功的事件
- 如何将同一表中某一年和某一月的数据统计到同一个QUERY中????
- 请教关于SQL操作时有语法错误的时候,若想不要跳出微软的提示框,想要messagebox,怎么办?
- 高分送上 MS Development Encironment 怎么安装?
insert table2 (select ID from table1 where ID not in select ID from table2)
其中ID为公有字段
更正如下:insert table2 (select * from table1 where ID not in select ID from table2)两表结构完全一致(字段名、排列顺序),才可用上句!否则如下式:insert table2(A,B,C,D) (select A,B,C,D from table1 where ID not in select ID from table2)
其中A,B,C,D为表字段名
table1 ,table2 都有 name,id ,两栏位
首先判定 table1 ,table2 纪录条数是否相同,相同的话再求两个表的交集,记录条数
不变的话就相同select name||id from table1
intersect
select name||id from table2
纪录条数相同,则两个表完全相同,没有用for的哟