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
 BCP File

Author  Topic 

Kambozr
Starting Member

3 Posts

Posted - 2012-02-12 : 09:37:54
Hi Guys

I require to export data from a specific table into a txt file.

Is BCP the correct method or best method to use?

The task is basically to create a comma seperated flat file which generates a header (with todays date), the body (showing rows of data from a table) and a footer (maybe containing a count).

Thanks Guys.

visakh16
Very Important crosS Applying yaK Herder

52326 Posts

Posted - 2012-02-12 : 12:00:57
yep..you can use BCP or OPENROWSET or export import task for that

------------------------------------------------------------------------------------------------------
SQL Server MVP
http://visakhm.blogspot.com/

Go to Top of Page
   

- Advertisement -