InsertOrUpdate

Not tested yet on MSSQL.