hi i am having .mdf file and .ldf file ..how can i get the all
table in my .mdf..plz give solution

Answers were Sorted based on User's Feedback



hi i am having .mdf file and .ldf file ..how can i get the all table in my .mdf..plz give solution..

Answer / samba shiva reddy . m

Right click on Databases then click on attach it will pop window (Attach Database) then click on add button then select the .mdf file then automatically it will select the .ldf file
then click on Ok
that data base is ready for use.

Is This Answer Correct ?    3 Yes 0 No

hi i am having .mdf file and .ldf file ..how can i get the all table in my .mdf..plz give solution..

Answer / venkat reddy.ravu

First create a floder on the drive.copy and paste .mdf
and .ldf files into that folder.

Connect to database engine
|
Object Explorere
|
Databases(Right click)
|
Attach

select the .mdf file ,then .ldf will be automatically
selected.in the pouup window window you will bew asked to
enter the database name.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More SQL Server Interview Questions

Can you explain powershell included in sql server 2008?

0 Answers  


Differentiate between a having clause and a where clause.

0 Answers  


What does executeupdate return?

0 Answers  


What is history table in sql server?

0 Answers  


What is a virtual table in sql?

0 Answers  






What is the purpose of object explorer and its features? : sql server management studio

0 Answers  


Differentiate between mongodb vs. Sql server?

0 Answers  


What are the types of lock supported by ?

0 Answers   HCL,


Is resultset an interface?

0 Answers  


Why use “in” clause in sql server?

0 Answers  


What is the library index called?

0 Answers  


Tell me the difference between clustered and non-clustered index?

0 Answers  


Categories