Reading an .SDF file (a Pocket PC SQL Server CE database) from Clarion

Applies to: a 2004 thread; no Clarion version and no SQL CE version is named.

Problem

A developer asked for pointers on reading an .SDF file, which he took to be a Pocket PC mobile database, using Clarion.

Solution

  1. Identify the file first. One poster said .SDF files are usually comma delimited files exported from dBase III .DBF files. Another said that in this case it was more likely a SQL Server CE database, and the asker confirmed it was.
  2. A SQL CE file cannot simply be copied from the device and read on the desktop, because SQL CE is a SQL engine.
  3. The one route offered was a third-party product, RemoteSQLce, which sets up a data tunnel between the desktop and the Pocket PC so that the desktop can query the SQL CE engine on the device.
  4. The poster who named it did not know how well it works with Clarion, but noted that some of its code looks similar to how ADO works.

Caveats

  • The tunnel needs the device to be connected to the desktop in some way (wire, wireless, ActiveSync, Bluetooth).
  • Nobody in the thread tried it with Clarion, and the asker only said he would look at it the next day.
  • The thread did not name an ODBC or Clarion driver for SQL CE.

Today (2026)

Not re-tested. The product named is a 2004 third-party tool; check that it still exists before relying on it. See also the entry on SQL Server Compact Edition and Clarion in the hub.

Sources: Paul M. (Oct 2004, the question), Ben B., John C., Clayton M. (Oct 2004) in softvelocity.clarion.databasedrivers.