Open .mdf and .ldf files in Microsoft SQL Server without attach
You can't add a database that way, you will need to attach the database using the files you have as follows:


Copy the files to the correct location.
Attached the database with EXEC sp_attach_db '&lt;name&gt;', '&lt;name.mdf&gt;', '&lt;name.ldf&gt;' or using the relevant GUI command in SSMS (if the files are not in the SQL instance's default directories you will need to provide a full path rather than just the filename).


In the question you say "without attach" which might mean you don't want to use this method (or that you can't use the attach command in SSMS for some reason, or &lt;other reason&gt; - could you explain that part?