Question: where are ldf files stored?
Answer: When the detach operation is complete, copy the data files (. mdf and . ldf) to the destination machine's database folder. By default, the database folder is C:\Program Files\Microsoft SQL Server\MSSQL.