TEIIDDES-2378 added check for defaultTableSQL flag