added code to throw SQLProcessorException when select() falis in FormulaExists.