code tidy up for Type2SQLType and buildConditions
uncomment testProcessorsTx