how come there aint no commant like insertUpdate - that takes the Pk cols, then the Pk values, then the other cols and the other vals - and if it finds a existing row with the Pk values then updates that with the other values else inserts a new row. For tables with a few columns this would be great.
Some thing like this:
insertUpdate (pkColName1, pkColName2, pkColName3, ...), (pkColValue1, pkColValue2, pkColValue3, ...) ( genColName1, genColName2, ...)
(genColValue1, genColValue2, ... )