Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 General SQL Server Forums
 New to SQL Server Programming
 SQL file to text file

Author  Topic 

d confz
Starting Member

12 Posts

Posted - 2008-02-23 : 22:01:41
Hi..:)

How can I generate a text file using the data from my database (sql)?

Thanks a lot..:)

sodeep
Master Smack Fu Yak Hacker

7174 Posts

Posted - 2008-02-23 : 22:10:22
Use SQL import/export wizard.
Go to Top of Page

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2008-02-24 : 01:30:46
or use bcp utility:-

[url]http://msdn2.microsoft.com/en-us/library/aa196743(SQL.80).aspx[/url]
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2008-02-25 : 04:02:19
or
http://sqlblogcasts.com/blogs/madhivanan/archive/2007/08/27/bcp-export-data-to-text-file.aspx

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page
   

- Advertisement -