Upsert (update or insert) in Sybase ASE?

前端 未结 6 2896
栀梦
栀梦 2021-02-20 17:40

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条回答
  •  Happy的楠姐
    2021-02-20 18:06

    Maybe it could work. Tested in ASA9.

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

提交回复
热议问题