Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Is there a way to create a Text File from a SQL Table using SP? 1

Status
Not open for further replies.

meny21

IS-IT--Management
Oct 4, 2002
101
MX
Hi Guys!

I have this situation, I need to create a flat file from a SQL table that I got, but I don't know how to do it inside an SP... I tried with DTS and it Works good....

The thing is that I need to do it in a SP and not on DTS, I tried to find the DTS code in order to put it on a SP but I couldn't find any...

Also do you know if there is an Easy clause like "Select ... Into" but instead of create another table creates a Text File? also could be use with delimiters?

Thanks for any suggestions

<MR>
 
Hi Sunila,

Thanks for the information, I think this is what I need... just when I tried to put the BCP in my SP on SQL 9.0 Version it doesn't recognize this command... did you use it before?

Thanks!

MR
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top