I have to backup a database using the SQL commands
EXEC sp_addumpdevice ...
BACKUP DATABASE ...
EXEC sp_dropdevice ...
and when I do it times out (the DB is quite large). I can't find how to increase the timeout value. It doesn't appear to be using that of the connection I have established...
ADO seems to be inconsistent in reporting errors whilst executing commands. Sometimes they are reported but other times they are simply not reported and nothing appears to go wrong, however the command is not executed.
For example I am executing the following 3 sql lines
1. CREATE DATABASE...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.