I’m working on a VB6 executable that uses ODBC to update a DB2 Table. When trying to update a row that does not exist the program does not throw an error as would be expected. Why would this happen?
objAdoConn.Execute("Update T1234 Set A = 'X' Where B = 'y'");
Because this is a valid SQL statement that results in “0 rows affected”. Which is success.