Click here to Skip to main content
15,887,845 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more: (untagged)
Dear Sir,

I am beginner in MSSQL server 2005.
I have a data in .mdf file.Now i want to open it with mssql server 2005 then how can i see that data.
Pls suggest me any link or any idea.

Thanks in Advance.

Thanks
Abhishek
Posted

How do you want to "see" it?
You can view it in the Visual Studio Solution Explorer pane (right click "Data Connections" and select "Add Connection")
You can view it in SQL Server Management studio ("File" Menu, "Open...File with new connection")
Or you can code something!
 
Share this answer
 
Comments
abhiamity86 28-May-11 5:35am    
Thanks For Quick Reply..
But Sir pls elobrate it more so that i can see it.
OriginalGriff 28-May-11 5:36am    
How do you want to see it?
abhiamity86 28-May-11 5:42am    
Thanks Sir..
Now I am able to see the colomn name .I need to see the content of the table.
OriginalGriff 28-May-11 5:52am    
So right click on the table name, and you will get "show table data" (VS) or "select top 1000 rows" (MsSQL management studio)
Either one will show you the table data. (Please specify what you are using - it helps us to reply more specifically)
If you have SQL Server management studio running, open a connection and then right click on the attach option. You should then be able to attach the mdf to studio and read its contents.
 
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