SQL Server INSERT INTO with WHERE clause

后端 未结 7 1147
礼貌的吻别
礼貌的吻别 2021-01-05 05:39

I\'m trying to insert some mock payment info into a dev database with this query:

INSERT
    INTO
        Payments(Amount)
    VALUES(12.33)
WHERE
    Paymen         


        
7条回答
  •  迷失自我
    2021-01-05 06:07

    Do you want to perform update;

    update Payments set Amount  = 12.33 where Payments.CustomerID = '145300' 
    

提交回复
热议问题