Click here to Skip to main content
15,919,358 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I want to backup the SQL database to a mdf file during runtime(execution) or after a time slot.

Is it possible?

If so please help me.

Or mail the way to [email removed]
Posted
Updated 28-Sep-10 23:37pm
v3
Comments
aayu 29-Sep-10 5:36am    
first you have to search in google about this anyways

I want to backup the SQL database to a mdf file during runtime(execution) or after a time slot

Probably I think you are misunderstanding something, Because backup can not be taken to .mdf file it is backed up in .bak file.

and you could use SSMS inbuilt function for backup and can set up schedule for that,

Please vote and Accept Answer if it Helped.
 
Share this answer
 
Comments
krishnaspmoorthy 29-Sep-10 12:24pm    
Pls tel the procedure to backup database in .bak file
krishnaspmoorthy 29-Sep-10 12:25pm    
Reason for my vote of 5
Automatic vote of 5 for accepting answer.
 
Share this answer
 
Comments
krishnaspmoorthy 11-Nov-10 4:44am    
That i Know. Is der any way to attach it Programatically?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900