Unit: EgStrParser
procedure SetSQLDialect(Dialect: TSqlDialect);
Sets the global default dialect, used by the convenience overloads of
ParseInput (those
without a SqlDialect parameter). At startup the default is
sqlElevateDB.
The full overload of ParseInput and the TEgStrParser component
never read this value.
Not thread-safe: call it once at startup, before other threads use
ParseInput. See Thread
safety.
// At startup
SetSQLDialect(sqlPostgreSQL);
// Later
R := ParseInput(edDate.Text, itDate); // DATE '...' literals for PostgreSQL