class SQLQueryString replaced with SQLQueryStringFlexible

class not directly replaced just to make sure it is acceptable first