Prepared CCPDB updater for longer SQL statements