views:

38

answers:

0

I'm working on a mobile device with a sdf database. I'm wondering if there's a quick easy way to export the table to CSV. Currently the c++ application opens the tables, and walks through it one record at a time and one field at a time, appending to a file.

It's ugly and slow and predates my employment. I'm wondering if there is a better way to do this? Perhaps the database engine has something that would be faster, because 1000 records seems to take almost 15 seconds.

I've optimized my code as much as I can think of, but still I'm yoked with a huge bottle neck.