In particular, doing a 'select * from Jobsets where ...' must be avoided, because the 'errormsg' column can be very big.