1 Respuesta
- Más nuevo
- Más votos
- Más comentarios
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 )
respondido hace un año
Contenido relevante
- OFICIAL DE AWSActualizada hace un año
- OFICIAL DE AWSActualizada hace 3 años