Lit*_*les 10
您必须通过对您决定的列进行排序来确定表中的最高记录.
也就是说,您可以在SQL Server中执行此操作:
UPDATE [YourTable]
SET [YourColumn] = SomeValue
WHERE [PrimaryKey] IN
(
SELECT TOP 1 [PrimaryKey]
FROM [YourTable]
ORDER BY [PrimaryKey] -- You need to decide what column you want to sort on
)
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
16452 次 |
| 最近记录: |