Link to home
Start Free TrialLog in
Avatar of Theodosios
Theodosios

asked on

SQL Server - exporting db data in flat file

Hi Everyone, I have a SQL Server 2005 db, and a client is asking for the data in a flat-file format.

I gave them both a db backup and a scripted db file, but that's only the db structure.
I also tried the Data Export wizard, exporting to a txt file, but still, no db data.

Any idea how I can do this?

Thanks,

Theo
ASKER CERTIFIED SOLUTION
Avatar of p_nuts
p_nuts
Flag of Netherlands 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
Avatar of Theodosios
Theodosios

ASKER

It's a 1 time deal only.  How do I run the query exactly? They need all the data in the db. Can I do this or do I need to do it table by table?

For example: server name is dbserver1, database name is photocollections1, and I want to save it to c:\dbdata.txt

Thanks,

Theo