Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Calling SQL SERVER backup & restore fro VFP
Message
 
To
07/07/2006 15:35:09
Stephen Hunt
Admit Computer Services Inc.
Farmingdale, New York, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
01134436
Message ID:
01134623
Views:
19
>Ok the backup works ! Thanks ! Now I am trying to do the restore but it tells me that the database is in use, so I tried an SQLDISCONNECT() then SQLEXEC() to run the restore but I know longer have a connection handle to send with the SQLEXEC(). Is there anyway to attach to the database without actually opening it ?
>
>Thanks Again for all your help !
>Stephen J. Hunt

What does your connection string look like? Try to connect to the master database in the Initial Database instead of "your" database.
Semper ubi sub ubi.
Previous
Reply
Map
View

Click here to load this message in the networking platform