Erase a Windows Mobile database

SQL Anywhere for Windows Mobile does not support the Erase Database Wizard, the DROP DATABASE statement, or the Erase utility (dberase). You must manually erase databases from your Windows Mobile device. The database must not be running when you attempt to delete it.

There are two methods for erasing a database from your Windows Mobile device. You can erase a database through the device interface, or you can connect your device to a computer and erase the database using Windows Explorer.

After you delete the database, delete the transaction log file, if one exists.

To erase a database using the device interface
  1. From the Start menu, tap Programs » File Explorer and navigate to the directory containing the database file that you want to erase.

  2. Tap and hold the database file.

  3. Tap Delete.

  4. Tap Yes to confirm the deletion.

To erase a database using Windows Explorer
  1. Place your Windows Mobile device in its cradle and ensure that it connects to the computer via ActiveSync.

  2. Open Windows Explorer on your computer.

  3. Browse to the Windows Mobile directory where the database file is stored.

  4. Right-click the database file and choose Delete.

  5. Click Yes.