In my sql server I detached one database and then renamed the names of mdf and ldf files , then when I try to attch the database , it gave me an error.
In the end I had to put back the original names of the files .
My question is how to rename the mdf and ldf files.
Thanks in advance!!