SSIS Package||How to Delete multiple files having similar pattern in a folder?

Опубликовано: 30 Май 2023
на канале: LearnSQLtoSSIS
937
5

Following are steps to develop package:
1. Create Four Variables:
FileName - String - No value
FilePattern - String - Emp*.txt
FullyQualifiedPath - String - @SourcePath+@FileName
SourcePath - String - provide the path
2. Drag ForEachLoop Container to iterate the files from the source path..
Select For Each File Enumerator
Write two expressions for Directory(SourcePath) and FileSpec (FilePattern) properties
Browse the folder where your files located
Mention Emp*.txt in files
Opt Name and Extension
Select FileName in Variable Mappings
3. Drag File System Task (FST)inside ForEachLoop Container
select Delete File Operation
Change status of IsSourcePathVariable to TURE
Select FullyQualifiedPath variable in Source Variable
Change thr Delay Validation property to True for FST


На этой странице сайта вы можете посмотреть видео онлайн SSIS Package||How to Delete multiple files having similar pattern in a folder? длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь LearnSQLtoSSIS 30 Май 2023, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 937 раз и оно понравилось 5 зрителям. Приятного просмотра!