由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Database版 - 如何only update the first occurrence in a table
相关主题
%如何把一个table所有的column都选出来%analyze 在oracle里怎么用?
SQL combine two columns from two different tables no shared (转载)问个external table field definition的问题
也問 Common Table Expression 问题another question--怎么delete a row from a table
[转载] what's wrong with this PL/SQL如何用SQL语句判断一个TABLE是否存在?
How to delete column and row in tablesql question
请教oracle sql query questionask for help
Table Merge (SQL Server)请教一个query in mysql
其实有个问题好久没有明白!有包子!sql procedure 来rank不同table里面的数据
相关话题的讨论汇总
话题: occurrence话题: update话题: column
进入Database版参与讨论
1 (共1页)
e*e
发帖数: 10
1
我有两行一模一样的数据, 只想修改其中一行的一个Column的值
update tablename
set column = 'new value'
where [occurrence=1??]
该怎麽写呀?谢谢!
e*e
发帖数: 10
2
已经知道啦, 先set ROWCOUNT=1, 再reset回来.

【在 e*e 的大作中提到】
: 我有两行一模一样的数据, 只想修改其中一行的一个Column的值
: update tablename
: set column = 'new value'
: where [occurrence=1??]
: 该怎麽写呀?谢谢!

1 (共1页)
进入Database版参与讨论
相关主题
有包子!sql procedure 来rank不同table里面的数据How to delete column and row in table
请教sql server的dbo prefix请教oracle sql query question
MapReduce 请教:key 能用pair value吗?比如 (转载)Table Merge (SQL Server)
初级问题其实有个问题好久没有明白!
%如何把一个table所有的column都选出来%analyze 在oracle里怎么用?
SQL combine two columns from two different tables no shared (转载)问个external table field definition的问题
也問 Common Table Expression 问题another question--怎么delete a row from a table
[转载] what's wrong with this PL/SQL如何用SQL语句判断一个TABLE是否存在?
相关话题的讨论汇总
话题: occurrence话题: update话题: column