Exporting several files using a table

  • Hey guys,

    In one of the SPs I created, creates a staging table and then a file is extracted using BCP Out. Requirement is changed now and they want me to extract different files (not 1 whole file) based on values in a field... Guys, can you please tell me the best way to do this... any sample script would be very helpful.

    Thanks in advance!!!

  • using cursor is the only option?

  • Your question is a little vague.

    Can you provide some more specifics? Like table definition and sample data?

    Forum Etiquette: How to post data/code on a forum to get the best help[/url]

    Edit: fixed URL

Viewing 3 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply