How to write this sroted procedure without temp table. I want to keep both tblPurchase and tblProductStock table permanent. Don't need to delete

前端 未结 0 1032
再見小時候
再見小時候 2021-01-19 01:53
SELECT MAX(ItemName) ItemName,

ItemCode, SUM(Quantity) Quantity INTO #tmp FROM tblPurchase GROUP BY itemCode;

UPDATE tblProductStock SET Quan

相关标签:
回答
  • 消灭零回复
提交回复
热议问题