1 個回答
- 最新
- 最多得票
- 最多評論
0
You have hit a known issue that is on the roadmap. In the meantime, please rewrite your UPDATE statement as per below:
UPDATE #table2
SET Retail = a.Retail, Cost = a.Cost, GP = (a.Retail-a.Cost)/a.Retail * 100
FROM #table2 b, #table1 a
WHERE a.keyID = b.keyID
Important: make sure you are running the latest available version of Aurora PostgreSQL and Babelfish, which is this case is APG 14.5 and BBF 2.2. You can check the version through e.g. sqlcmd with:
SELECT CAST( SERVERPROPERTY('BabelfishVersion') AS VARCHAR )
已回答 1 年前
相關內容
- 已提問 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前