如何针对PervasiveSql调整此MySql查询?

时间:2016-06-03 14:38:49

标签: mysql sql pervasive pervasive-sql

如何将以下更新查询从MySql改为PervasiveSql?

UPDATE Rx_Annotations 
INNER JOIN User_Master
    ON Usr_Username = Rxa_Usr_Id_Added 
SET Rxa_Usr_Id_Added = Usr_Id 
WHERE Rxa_Usr_Id_Added = 'WEB'

1 个答案:

答案 0 :(得分:0)

UPDATE Rx_annotations
SET Rxa_Usr_Id_Added = User_Master.Usr_Id
FROM Rx_Annotations 
     INNER JOIN User_Master ON User_Master.Usr_Username = Rx_annotations.Rxa_Usr_Id_Added 
WHERE Rx_Annotations.Rxa_Usr_Id_Added = 'WEB'