I think the following will work in Oracle: update (select t.*, row_number() over (order by id) as newid) toupdate set id = newid.
確定! 回上一頁