Link to home
Start Free TrialLog in
Avatar of dmehran
dmehranFlag for United States of America

asked on

converting data in .mdf and .ldf files to excel or tab delimited file formats

Hi, I am very new to MS SQL Server. I am given a set of .mdf and .ldf files and I eventually need to import the data in these files into a MYSQL database running on Linux.  For now I like to somehow extract the data and export them into a tab delimited or comma delimited file formats. I downloaded and installed MS SQL server 2005 express edition but I am not sure what needs to be done from this point. This will probably be the only time that I have to deal with MS SQL server so I am not too eager to spend a lot of time on MS SQL server.  Could someone show me how to import the .mdf file into my MS SQL server and export the data to tab delimited file? Is there a better way to achieve this?

thanks
ASKER CERTIFIED SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

How to: Start the SQL Server Import and Export Wizard
http://msdn2.microsoft.com/en-us/library/ms140052.aspx
Avatar of dmehran

ASKER

thanks for the hints. I am not sure if I have SQL Server Management Studio installed, Ill give this a try and get back to you.
Avatar of dmehran

ASKER

OK, after 3 days of SBC-yahoo DSL outage in my area (which is not very uncommon where I live) I finally got a chance to download and install the SQL server management studio and attach the database in my .mdf file. Now, how do I export the data in my tables into tab or comma delimited text files. Is there such a tool for this in the management studio GUI? you need to excuse my basic questions. I am used to linux command line and phpMyAdmin as GUI interface for MYSQL database, so these MS SQL tools are a bit new to me.

thanks.
Avatar of dmehran

ASKER

never mind my last comment/question. After installing the SQL Management Studio the rest was pretty easy. thanks for all the answers