If you have enterprise manager on your computer, hook up the reference to the Microsoft SQLDMO Object Library. I can't give you any specific code, I just know that a guy that worked for us used it in an asp page (vbscript) to automate the backups of our SQL Data.
Have a scout around on the microsoft site for methods and that.
(I know you should start off something like this...
Dim oSQL As SQLDMO.SQLServer
oSQL.Connect
)
Hope this helps any
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.