added a mechanism to create an SQLProcessorSelect instance.

This is mainly used in FormulaExists to execute SELECT statement
internally.