• aliens218 (4/16/2013)


    Hi all, I'm in need to import several flat files into a SQL table. I'm used to importing one at a time, but I'm new and starting to figure out SSIS. I do need to update a field in the destination table with the filedate (which is not always the current date or in any consistent format). So I was wondering if there are any methods to input this date variable in SSIS.

    Not easily. Your best bet is to set it as a parameter when you call it for a particular file, then launch it using command line for SSIS packages. It's pretty much the only way you want to approach this.

    You CAN get yourself msgboxes and the like via scripts, but they break the job if you ever run it outside of BIDS/VS, because it just hangs waiting for an answer.


    - Craig Farrell

    Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

    For better assistance in answering your questions[/url] | Forum Netiquette
    For index/tuning help, follow these directions.[/url] |Tally Tables[/url]

    Twitter: @AnyWayDBA