Skip to content

Underlying ADO providers known issues and quirks

Nikos Sarris edited this page Nov 6, 2026 · 5 revisions

Access Client .net provider

  • .Net Framework only
  • Cannot retrieve store procedure datatable schema without invoking the procedure (SchemaOnly option ignored)

DB2 driver via DB2Connect license

  • License file needs to be copied to {executable path}\clidriver\license folder - or installed with "db2licm -a <license_file>" for the full package installation.
  • Some Merge based upsert calls break with an unspecified system error on the host while preparing when an identical query is executed on a recreated local table with the same name. Older versions of ODBC driver had a similar issue that was fixed. It is possible 11.5 or later (2.x upwards for core) might fix this issue, but it could be a host error related to the job types DB2 Connect uses. Need a valid 11.5 or later license to verify.

OleDb

  • x86 calls with parameters break with underlying provider error
  • Decfloats are truncated to smaller precision and scale
  • Chars are trimmed by the provider by default, overriden with connection string option
  • Inline sql comments break the provider
  • System.Data.OleDb v10.0.0 introduced a bug that throws random COM related AccessViolationExceptions: https://github.com/dotnet/runtime/issues/125221. Fix is planned for v11, prefer v9 until it is released.

ODBC

  • Xml columns break on schema calls. A work around has been applied to make SQL calls work, but most schema operations fail. Avoid using this provider if your schema includes XML columns
  • Truncate statemens succeed but throw an OverFlowException when reading the result code. Switched to DELETE statement (same as in v7.1) for ODBC.

Clone this wiki locally