sql server - Update table with line number using Row_Number ...

sql server - Update table with line number using Row_Number ...

瀏覽:1238
日期:2025-04-29
with toupdate as ( select Document, 10 * row_number() over (partition by Document order by (select NULL)) as val from t ) update toupdate set ......看更多