Delphi / Object Pascal · Database exception

dbExpress MissingParameterMarker Error

What does dbExpress MissingParameterMarker Error mean in Delphi / Object Pascal?

Returned when a parameterized query's SQL text is missing the expected '?' parameter marker that the parameter-binding code expects to find.

dbExpress MissingParameterMarker ErrorDelphi (VCL) · Delphi (FireMonkey) · Delphi (dbExpress)

Condition

Returned when a parameterized query's SQL text is missing the expected '?' parameter marker that the parameter-binding code expects to find.

Fix

Check the SQL text uses the parameter marker syntax the dbExpress driver expects for that backend, and make sure the number of markers in the SQL matches the number of parameters the code is binding.

Related database exception