Upsert (update or insert) in Sybase ASE?

前端 未结 6 1612
北恋
北恋 2021-02-20 17:32

I\'m writing an application to move data from Oracle to Sybase and need to perform update / insert operations. In Oracle, I\'d use MERGE INTO, but it doesn\'t seem to be availab

6条回答
  •  北恋
    北恋 (楼主)
    2021-02-20 18:09

    Maybe it could work. Tested in ASA9.

    insert into my_table (columns) on existing update values (values);
    

提交回复
热议问题