dbTalk Databases Forums  

Shut down database on Windows CE

sybase.public.sqlanywhere.general sybase.public.sqlanywhere.general


Discuss Shut down database on Windows CE in the sybase.public.sqlanywhere.general forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Elias
 
Posts: n/a

Default 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.

Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.