I'm having trouble updating an existing record in a database using the standard output tool and I'm not sure what the error is. A primary key is defined on the table and I can insert a record using this approach so I know it isn't permissions
Let's say the initial record in the database looks like the following
| AddressID (primary key) | City | State | Zip |
| 12345 | [null] | NY | 54321 |
I prepare my data to write and have it like this (to update the City)
| AddressID (primary key) | City | State | Zip |
| 12345 | ThisTown | NY | 54321 |
I'm using a the Update; Insert if New option and getting an error 'Duplicate Key violates unique constraint 'pk_addressID' key (addressID) = (12345) already exists
This is using a postgresql connection that I've used before and can't figure out whats wrong (connection string blanked out for this image)
