Hello,
I am using Microsoft SQL server (2008 r2). I have requirement that need to detach a DB, then rename the old mdf and ldf files and attach the DB with new mdf and ldf files.
I want to do those with command line ( cmd ). Is there any command lines to do that ?