For issues relating to performing upsert (combination update/insert) operations.
I have a SQL Server 2008 many-to-many relationship table (Assets) with two columns: AssetId (PK, FK, uniqueidentifier, not null) AssetCategoryId (PK, …
sql sql-server sql-server-2008 tsql upsertI do get this error [2] from time to time when attempting to upsert (increment or insert) a document using method [1]. [1] …
spring mongodb upsertI'm trying to write a query like this in PostgreSQL 9.5.2: INSERT INTO a (id, x) SELECT id, x FROM b …
postgresql upsert postgresql-9.5I'm trying to do an insert or update in a postgres database using node.js with pg extension (version 0.5.4). So …
postgresql node.js upsert pgI'm using postgres 9.5.3, and I have a table like this: CREATE TABLE packages ( id SERIAL PRIMARY KEY, name VARCHAR NOT …
postgresql upsertI'm a postgres user that's new to MS SQL. I need to replicate ON DUPLICATE KEY UPDATE functionality (sometimes called …
sql sql-server upsert on-duplicate-key