------解决方案-------------------- USE helloworld UPDATE [saleManagerD.ContactDetail] SET amount=2800, unitprice=2500 WHERE ContactID=56 GO
SELECT * FROM [saleManager.ContactDetail] GO
------解决方案--------------------
楼主仔细看你的代码: USE helloworld UPDATE saleManagerD.ContactDetail --这里修改的数据表是saleManagerD.ContactDetail SET amount=2800, unitprice=2500 WHERE ContactID=56 GO
SELECT * FROM saleManager.ContactDetail --这里查询的数据表是saleManager.ContactDetail GO