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.
| 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 productshere i am some problem with sql and vb6as i want backup and restore the datbase as and when i wanted but i want do it thro vb6 coding as front end controlso plz suggest me in this regardthanking uneel" |
|
|
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... |
 |
|
|
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... |
 |
|
|
|
|
|