How to create SQL Server 2008 database full backup programmatically in desired folder

后端 未结 1 1132
野的像风
野的像风 2021-01-13 14:10

How to create SQL Server 2008 database full backup programmatically in desired folder with using Microsoft visual studio 2010 c#

1条回答
  •  野的像风
    2021-01-13 14:51

    Just execute SQL Server command

     BACKUP DATABASE database_name TO DISK='d:\path\to\backup\file\on\the\server.bak'
    

    0 讨论(0)
提交回复
热议问题