update table1
from ( select top 20 * from table1 where ..........) as t1
where table1.field1=t1.field1
and table1.field2=t1.field2
and ..........
from ( select top 20 * from table1 where ..........) as t1
where table1.field1=t1.field1
and table1.field2=t1.field2
and ..........
解决方案 »
- 求两张结构相同的表,将一个中的数据插入到另一个
- 数据库连接问题
- 存储过程中如何进行循环查询
- 特殊的两张表查询问题,用JAVA的
- 同一排信息先按时间字段排序,再在上面的排序中按级别字段数排序。这个问题怎么实现?
- 操作数类型冲突 ntext与image不兼容 怎么解决兼容性?
- 今天遇到一个数据库难题,求救!!
- 在SQL2KSVR中怎样把一个DB从一台计算机搬家到另一台计算机?(...)
- 用Scroll Cursor写了一个分页的存储过程【还没封装】,大家来评价评价
- 再次请教疯子第
- 走过路过,千万要看看这到底是什么结果。按钮工程JJ,KingSunSha(弱水三千) ,Haiwer(海阔天空),IronPromises(铁诺) , N_chow(一劍飄香),mmzxg(超级笨蛋)......高手,你们都到那里拉,想见你。。。。。。
- 怎样调用在SQL Server中写的存儲过程呢?请高手指教,谢谢!
update Table set....
Set rowcount 20
Update tblName set Filed=Value
Set rowcount 0