Applies to: Clarion 6 and later; the question came from a MySQL-on-ODBC application moving to SQL Server.
Problem
Which driver to pick, and what changes in an existing ODBC application when the backend becomes SQL Server.
Solution
- Staying on the ODBC driver keeps the application "open world": one dictionary, one code base, and a later move to PostgreSQL or another backend costs little. Switching to SQL Server then means a new owner string and the schema prefix (
dbo.) on table names, best held in variables primed at start-up. - The MSSQL driver is worth it when you use server features the generic driver handles less well: stored procedures with result sets, driver-specific properties, and performance tuning. Several long-time users saw no need for it.
- Whatever you choose, check these before the first run: date and time columns (see the date/time entry), hard-coded stored procedures that must be translated, and the server-side auto-increment driver options, which differ between the two drivers.
- A quick structural check: rename the table on the server and let the application create it (dictionary "create" on); compare the generated table with the real one.
Caveats
The "no change at all" promise holds for plain tables. Anything that touched backend-specific SQL in PROP:SQL has to be reviewed.
Today (2026)
The choice still exists. The MSSQL driver now rides Microsoft's ODBC Driver 17/18 (the old Native Client is retired); verify the current driver help for the supported client list before advising a version.
Sources: Achim (Feb 2012, the question), JP G., Jon W., Pratik, Joe T. (Feb 2012) in softvelocity.clarion.databasedrivers.