Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 sql database backup/restore

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2002-03-20 : 09:41:12
neel writes "i am neel from india

i am working on microsoft products
here i am some problem with sql and vb6


as i want backup and restore the datbase as and when i wanted but i want do it thro vb6 coding as front end control

so plz suggest me in this regard

thanking u

neel"

izaltsman
A custom title

1139 Posts

Posted - 2002-03-20 : 11:03:26
I am pretty sure there is an object called Backup in SQL-DMO that does exactly what you need. You can find its description in BOL...



Go to Top of Page

AjarnMark
SQL Slashing Gunting Master

3246 Posts

Posted - 2002-03-20 : 14:15:50
Or you could just issue the BACKUP DATABASE... and RESTORE DATABASE... commands via an open connection.

------------------------
GENERAL-ly speaking...
Go to Top of Page
   

- Advertisement -