Click here to Skip to main content
15,887,812 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi all,

I have .mdf file & .ldf file for one database(say Ram),I get these files from my class room system.Now i want to get to see this database in my sql server using these .ldf & .mdf files.

How to do this please let me know anybody.
Posted

1 solution

Run Sql Server Management Studio
In the Object Explorer pane, right click "Databases" and select "Attach..." from the context menu.
In the dialog that appears, press the "Add" button.
Browse to your database, and click "OK"
Click "OK" to close the Add Dialog.

You can now see this database in SQL server.
 
Share this answer
 

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