Export query to two files

  • Just split the datastream into two datastreams by using the multicast component. That way you'll have two outputs. Connect each of them to the corresponding file.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Koen Verbeeck (1/26/2012)


    Just split the datastream into two datastreams by using the multicast component. That way you'll have two outputs. Connect each of them to the corresponding file.

    Or maybe you could add a file copy at the end of your package - use a file system task or script task to do this.


  • Phil Parkin (1/26/2012)


    Koen Verbeeck (1/26/2012)


    Just split the datastream into two datastreams by using the multicast component. That way you'll have two outputs. Connect each of them to the corresponding file.

    Or maybe you could add a file copy at the end of your package - use a file system task or script task to do this.

    Hmmm, an even better solution!

    It reduces network traffic and has less memory impact on the server that runs SSIS.

    Need an answer? No, you need a question
    My blog at https://sqlkover.com.
    MCSE Business Intelligence - Microsoft Data Platform MVP

  • Great, thank you for the advice.

Viewing 4 posts - 1 through 5 (of 5 total)

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