Shut down database on Windows CE -
05-10-2011
, 02:47 AM
My application on Windows CE needs to stop a database, but there is no
dbstop command. Is it possible in some other way?
It does not work to use a SACommand to execute "stop database mydb
unconditionally". It complains about existing connection (if I do not
close the connection before executing the command) or missing
connection (if I do close the connection).
The reason I want to stop the database is because I want the app to be
able to move the database files and that can't be done while it's
being used.
I'm using SQL Anywhere 10.0.1 and Windows CE 6. |