你可以试试
UPDATE PrepaySET PrepayTransactionDesc = CASE WHEN prepayID = 57770 THEN 'Funded Repeat Voucher 153118' WHEN prepayID = 57771 THEN 'Funded Repeat Voucher 153119' WHEN prepayID = nextID THEN 'Next Value' ENDWHERe prepayID in (1,2,4,57770... all your ids here)
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)