How can I set an expression to the File mask input on Foreach loop enumerator in SSIS 2008? -


This question has been answered in SSIS 2012, but because of the expression function in SSIS 2008, how do I solve it

How can I set an expression in the file input on the Foreach loop enumerator in SSIS 2008, which will filter all filenames that contain numbers and .jpg and / or _number Ends with .jpg?

Background information: In SSIS 2008, I have a foreach loop that will store the file name in a variable for all JPG files. Encounters configuration for files currently: *. Jpg This will handle all JPG files.

What is the code, so it will only like names?:

  3414761506233.jpg 5414233177487.jpg 5414233177487_1.jpg 5414233177487_14.jpg   

but not like names:

  abc.jpg abc123 .jpg def.png 456.png   

Numbers represent EAN code the same way . I thought it was a RegEx ^ \ d + (_ \ d +)?. Can be done with Jpg $, but it can not say no error that no file is found. Thanks!

Enter image details here

< In the excerpts in your file enumerator (at the top), you want to specify your variable in FileSpec property

Enter image details here

Comments

Popular posts from this blog

Verilog Error: output or inout port "Q" must be connected to a structural net expression -

jasper reports - How to center align barcode using jasperreports and barcode4j -

c# - ASP.NET MVC - Attaching an entity of type 'MODELNAME' failed because another entity of the same type already has the same primary key value -