Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
Author |
Topic |
collie
Constraint Violating Yak Guru
400 Posts |
Posted - 2008-09-14 : 10:25:00
|
Hi,I have a foreach loop container in my package. The loop must go through files in a folder -the files can be of any type.I need to retrieve just the file's extension and send that value to the database.In the loop container i saw that you have the option of retrieving either the name only, name and extension or fully qualified. I want to get just the extension. How is this possible?ThanksWhisky-my beloved dog who died suddenly on the 29/06/06-I miss u so much. |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-09-14 : 13:40:24
|
use a derived column task and get only the extension from filename using substring. |
 |
|
visakh16
Very Important crosS Applying yaK Herder
52326 Posts |
Posted - 2008-09-15 : 01:14:23
|
you can use this article as a referencehttp://www.sqlis.com/55.aspx |
 |
|
|
|
|