Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Stored Procedure to backup

Status
Not open for further replies.

risoam

MIS
Apr 17, 2002
33
US
I have a stored procedure:

CREATE PROCEDURE dbo.MVEMS_BACKUP AS
declare @dbbkpname as varchar(40)

select @dbbkpname='d:\ftp\myfolder\monroe.bak'
backup database MVEMS to disk=@dbbkpname

GO

that backs up my database. How do I make it so it doesnt append to the backup file? Each backup keeps appending and i'm not sure how to change it so it doesnt do that. Thanks!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top