MERGE <hint> INTO <table_name>USING <table_view_or_query>ON (<condition>)WHEN MATCHED THEN <update_clause>DELETE <where_clause>WHEN NOT MATCHED THEN <insert_clause>[LOG ERRORS <log_errors_clause> <reject limit <integer | unlimited>];
SQLUPDATE message_dbSET …......WHERE mes_id = “Активное значение” AND ORA_ROWSCN = curOra