new sql string variables validation function

in DbCon class