Unit: EgStrParser
function GetSQLDialect: TSqlDialect;
Returns the global default dialect: the value of the last call to SetSQLDialect, or
sqlElevateDB when SetSQLDialect was never
called. The convenience overloads of ParseInput (those without
a SqlDialect parameter) use this dialect.
Not thread-safe with SetSQLDialect: do not call it while
another thread may change the dialect. See Thread safety.
if GetSQLDialect <> sqlMySQL then
SetSQLDialect(sqlMySQL);