Unit: EgStrParser
type
TSqlDialect = (sqlMySQL, sqlElevateDB, sqlDBISAM, sqlPostgreSQL, sqlMSSQLServer, sqlSQLite,
sqlFirebird, sqlOracle, sqlAccess, sqlBDEParadox);
The SQL dialect of the literals written in SQLValues and
SQLExpression:
dates, times, date-times, booleans, and the escaping of strings and LIKE
patterns. It is the SqlDialect parameter of the full ParseInput, the value of
SetSQLDialect and
GetSQLDialect, and
the type of TEgStrParser.SqlDialect.
The default is sqlElevateDB.
| Value | Database | Date | Boolean |
|---|---|---|---|
sqlMySQL |
MySQL 5.x+ / MariaDB 10.x+ | DATE '2026-03-25' |
TRUE / FALSE |
sqlElevateDB |
ElevateDB 2.x+ | DATE '2026-03-25' |
TRUE / FALSE |
sqlDBISAM |
DBISAM 4.x | '2026-03-25' |
TRUE / FALSE |
sqlPostgreSQL |
PostgreSQL 9.x+ | DATE '2026-03-25' |
TRUE / FALSE |
sqlMSSQLServer |
Microsoft SQL Server 2008+ | '20260325' |
1 / 0 |
sqlSQLite |
SQLite 3.x+ | '2026-03-25' |
1 / 0 |
sqlFirebird |
Firebird 3+ / InterBase | DATE '2026-03-25' |
TRUE / FALSE |
sqlOracle |
Oracle 11g+ | TO_DATE('2026-03-25','YYYY-MM-DD') |
1 / 0 |
sqlAccess |
Microsoft Access (Jet / ACE) | #2026-03-25# |
True / False |
sqlBDEParadox |
BDE / Paradox | "25.03.2026" |
TRUE / FALSE |
The time and date-time formats, the string escaping and the LIKE patterns of each dialect are in SQL dialects.