Unique Naming Convention

  • I have a package that has simple data flow task. The data flow task has an ole db connection to a SQl

    2005 database and it executes a query that then flows to a csv file to a location.

    The package will be executed many times overwriting the same file output.

    My question is, how can you name the ouput file with a unique naming convention so that we

    keep a history of each output. Example, I wish to name my output file Customer_30062008_v1.csv


    Kindest Regards,

  • Well, the easiest way is to use the date/time in the filename.

    Will that work for you?

    Watch my free SQL Server Tutorials at:
    http://MidnightDBA.com
    Blog Author of:
    DBA Rant – http://www.MidnightDBA.com/DBARant

    Minion Maintenance is FREE:

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

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