Тёмный

SSIS Tutorial Part 28-Archive Files with Datetime after Loading into SQL Server Table 

TechBrothersIT
Подписаться 90 тыс.
Просмотров 73 тыс.
50% 1

Опубликовано:

 

14 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 79   
@thandotshijila9703
@thandotshijila9703 7 месяцев назад
It's 2024 and this video is still helpful!🙏
@balajiabhi9039
@balajiabhi9039 3 года назад
Thanks is a small word of gratitude sir which won't be sufficient to wish you. However thanks a million sir!!!
@TechBrothersIT
@TechBrothersIT 3 года назад
So nice of you. Thank you so very much for kind words. Good luck with learning.
@laurenhammer2350
@laurenhammer2350 6 лет назад
Thank you! This worked perfectly the very first time after following your steps. Great video!
@DenatBalla
@DenatBalla 2 года назад
Still super useful in 2022. Thank you!
@sischero
@sischero 8 лет назад
This video is very helpful. I figure it out by your help. Thanks a million. Keep up the good work. And also I just wanted to add a comment that removing the semicolon from the name of the full path is not an option, it should be removed or replaced otherwise SSIS throws an error.
@sqldbasaga337
@sqldbasaga337 2 года назад
Very Helpful video.. Thank you So much!!
@TechBrothersIT
@TechBrothersIT 2 года назад
Glad it was helpful!
@FabricioMachado
@FabricioMachado 4 года назад
Very good! Is 2020 and your video still save lives heuehueheueheue Thanks!
@billg.7139
@billg.7139 5 лет назад
Best 'How To' Video on RU-vid!!!!
@edreimpanduki1139
@edreimpanduki1139 5 лет назад
Thank you for this video, very concise and easy to follow
@TechBrothersIT
@TechBrothersIT 5 лет назад
You are very welcome. Thanks for the support and liking our effort.
@aakashr2300
@aakashr2300 2 года назад
@@TechBrothersIT But at last there is nothing in input folder right but it ill cause an error right while next time executon of package right , either file is not found at c drive or you don't have access to the path can you suggest how to fix this issue
@chetmon
@chetmon 2 года назад
Thank you!!!! This tutorial helps a lot.. You're a blessing
@TechBrothersIT
@TechBrothersIT 2 года назад
You're very welcome!
@Loves-f3y
@Loves-f3y Год назад
For the variables created within the Foreach Loop Container the scope is the Foreach Loop Container?
@pushpa_coder
@pushpa_coder 10 месяцев назад
Hello. I have a small doubt. at @8:10, Since we already are using foreachloop container to iterate the process of going through file names, why do we need to configure the expression in property of the FlatFIle connection manager? Thanks for your help in advance!
@jen4770
@jen4770 9 лет назад
Thank you so much to find the error. I tried it and it works. Thank you to post and share such a wonderful tutorial.
@TechBrothersIT
@TechBrothersIT 9 лет назад
+Jinyuan Xu Glad to hear that it solved the issue. You are welcome and thanks for kind words!
@pearldatasolutions3782
@pearldatasolutions3782 8 лет назад
Your videos and instructions are excellent. Can you please slow down in the future. It requires that I pause and back up time and time again
@TechBrothersIT
@TechBrothersIT 8 лет назад
+PearlDataSolutions Hi, will do our best:) Thanks for watching!
@5kpwc14
@5kpwc14 2 года назад
Good tuto , have any idea how to imported file.shp geographic data?
@zx-25r12
@zx-25r12 4 года назад
Thank you so much, veri informative video and easy to follow.
@connectdeba
@connectdeba 8 лет назад
Hi Ameer , can you please explain if you need to perform a validation check before actually do the dataflow task , how would you do that. For example if you check if the file name consists certain naming format , then how the flow would have changed.
@Tulluruupendar
@Tulluruupendar 8 лет назад
Thank you for the video.It is very helpful and Instructions are excellent
@rahulgautam511
@rahulgautam511 3 года назад
Thanks in advance. I have created two packages similar to this video, which means I took the similar source folder and archive folder in both cases. But when I run the packages, they throw an error "the process cannot access the file because it is being used by another program" in both cases. When I changed the folder paths, packages run perfectly fine. Could you please advise why this is happening? Does it mean we can't have the same paths?
@EIStudent
@EIStudent 4 года назад
Worked like a charm! Thanks you!
@Oxx76
@Oxx76 6 лет назад
Just wanted to say thank you. Helped a great deal. Cheers! :)
@mrhoangvo
@mrhoangvo 6 лет назад
How do you execute FileSystemTask upon "success" of multiple DFTs? Individually it worked but when added more than 1 source, it did nothing.
@vipexecsuite8350
@vipexecsuite8350 4 года назад
Very good tutorial. Thank you!
@maxmeista
@maxmeista 6 лет назад
For some reason, I get an error after the first file gets loaded and archived... It seems as if it's looking for the same file in the Input_File and that it can't switch to the others that are present. Any suggestions? =)
@senithhashika8751
@senithhashika8751 4 года назад
Very great and usefull video
@supamanFTM
@supamanFTM 7 лет назад
Helped alot.. thank you!!
@aakashr2300
@aakashr2300 2 года назад
Can you make a video for moving a single file to the archieve folder please I need the video can you make it
@alaeddin1414
@alaeddin1414 9 лет назад
dude ... THANK YOU for this video
@TechBrothersIT
@TechBrothersIT 9 лет назад
Alaeddin A.D.B You are welcome!
@parimal2267
@parimal2267 9 лет назад
hi just have one question is it possible to have single ssis package for three different source file of text format to convert to other format using configuration or something else . I am able to process in 3 different packages in one solution but client is asking to have single package for all how ???
@TechBrothersIT
@TechBrothersIT 9 лет назад
Hi, sure you can have single ssis package for multiple files. The config you are using for each can be put in one.
@Funlikalibra
@Funlikalibra 9 лет назад
Your video is great I followed it step by step although I am using an excel source. I have a slight problem the package stops after only one file is uploaded into SQL and moved over to the archive folder. Do you have any idea on why this may be happening? Thanks in advance.
@TechBrothersIT
@TechBrothersIT 9 лет назад
Hi Billye, So your all excel files has one sheet? or One file has multiple sheets you are trying to load? Do you have all the files with same extension, Maybe you are reading only .xls files and there are some files which are new with extension .xlsx and in your foreach loop you have specified extension only for .xls.
@Funlikalibra
@Funlikalibra 9 лет назад
Tech Brothers Thanks for the quick response. I am loading multiple files with one sheet. I used the wildcard to make sure the files are picked up with similar names. This is what I use "prospect*.xls*" Before I was tasked to append the date to the files once archived the files all uploaded and moved over seamlessly. With the move file selected but now the error code I am getting is saying [SSIS.Pipeline] Error: "Prospect_B" failed validation and returned validation status "VS_ISBROKEN". When I look in SQL Prospect_B is uploaded and the folder is archived. The package stops there.
@TechBrothersIT
@TechBrothersIT 9 лет назад
Billye Jackson You might forgot to set Delay Validation property true. It might try to validate the connection and expression are not true at pre validation.
@Funlikalibra
@Funlikalibra 9 лет назад
I have it set it to true. Any other suggestions. What should the filename variable be?
@TechBrothersIT
@TechBrothersIT 9 лет назад
Billye Jackson that will be the name of file which will be extracted from folder. I will create a video how to load and archive Excel files, will try to do it this week.
@alexandersimbolon3617
@alexandersimbolon3617 6 лет назад
Thank you, Great video !
@cheis509
@cheis509 7 лет назад
Very helpful.....Thank you
@TechBrothersIT
@TechBrothersIT 7 лет назад
You are welcome, thanks for watching.
@youthcollections23
@youthcollections23 6 лет назад
Exactly i did follow these steps even also i am getting some errrors like "[File System Task] Error: An error occurred with the following error message: "The given path's format is not supported.". Task Archive the file after loading failed".Can any one explain me what we have to do?
@sarveshnundram866
@sarveshnundram866 3 года назад
hello what if the file contain a date for example test_20210401.txt - we load it ok and tomorrow the file comes in again with test_20210402.txt ? where can I change it to take it dynamic?
@TechBrothersIT
@TechBrothersIT 3 года назад
You will use foreach loop and you don't have to provide any date in that, you will only read files from folder and they will be read automatically with different names.
@amarnadhgunakala2901
@amarnadhgunakala2901 4 года назад
you just renamed file in file system task but howcome its moved actually ?
@Abhishekkumar-uy6he
@Abhishekkumar-uy6he 5 лет назад
Thanks you for the video :)
@narkall
@narkall 8 лет назад
Thanks a lot it's very usefull !!
@TechBrothersIT
@TechBrothersIT 8 лет назад
+Dim You are welcome and thanks for watching!
@krishnachaitanya3346
@krishnachaitanya3346 4 года назад
how to download excel files from sharepoint web application folder and archive the same sharepoint URL starts with ?
@saibomma3758
@saibomma3758 7 лет назад
For me I Am getting [File System Task] Error: An error occurred with the following error message: "The given path's format is not supported.". i Did exactly what in video. but i am getting this error can any one please help me
@syedrahaman4005
@syedrahaman4005 3 года назад
How will get all your videos together ?
@TechBrothersIT
@TechBrothersIT 3 года назад
They all are online, If you want to follow them by course, I will suggest you to go to www.techbrothersit.com and follow by course.
@saurabhagrawal8460
@saurabhagrawal8460 7 лет назад
very nice..
@jen4770
@jen4770 9 лет назад
Very good education Video. Thank you so much. I follow your example and create SSIS package. I get an error of [File System Task] Error: an error occurred with the following error message: " could not find file 'C:\Windows\System32\PTI_daily20150920.txt. TXT' " .
@TechBrothersIT
@TechBrothersIT 9 лет назад
Hi. Looks like you have written wrong expressions. You have extension twice. Remove the .txt from expressions and try.
@georgigeorgiev4871
@georgigeorgiev4871 8 лет назад
Dude, it is a good video. But please define at the beginning what archiving means for you. If it is simply copying to another folder, you could've specified this in the title...
@shovabaral2797
@shovabaral2797 6 месяцев назад
Please show how I can move excel files ❤
@parimal2267
@parimal2267 9 лет назад
only the location is different for them where file is to be taken out and where file is to be move
@TechBrothersIT
@TechBrothersIT 9 лет назад
Got you. You will need six variables or six parameters to save you configuration for 3 input and 3 output folders.
@chavatdon
@chavatdon 9 лет назад
gives me error on file system task. variable is used as a source or destination and is empty. i also set delayvalidation to true still its not working
@TechBrothersIT
@TechBrothersIT 9 лет назад
Ho Aseem, provide any values to variable such as test. I remember getting this error if u leave the variable without value. The vale will be overwritten when we will execute ssis package. Thanks.
@chavatdon
@chavatdon 9 лет назад
I did set FileName as test.txt . it still gives me an error
@chavatdon
@chavatdon 9 лет назад
Tech Brothers When i gave a test value to inputFullPath and FullArchivePath it worked. but it doesnt move files to my destination folder yet
@TechBrothersIT
@TechBrothersIT 9 лет назад
You need to provide text value to only FileName variable. Rest of variables should have your folder path, FullArchive path variable also does not need to have any value as it will constructed by using Expressions. Watch video one more time and give a try. Stop the video and configure step by step. It should work fine.
@chavatdon
@chavatdon 9 лет назад
Tech Brothers Yay !!! the error was inputFullPath and FullArchivePath properties were not set to be evaluated as expression. so I changed evaluate as expression for both of them to true.. and it worked
@VelevGeorgi
@VelevGeorgi 9 лет назад
well ..it is a good tutorial
@TechBrothersIT
@TechBrothersIT 9 лет назад
Thanks Georgi. Glad you liked it!!
@jhungyi
@jhungyi 8 лет назад
Thank you for the excellent videos.
@TechBrothersIT
@TechBrothersIT 8 лет назад
Hi Justin, Thanks for kind words, glad to hear that you liked my effort. Thanks for watching and leaving comments.
Далее
06 How do I archive files in SSIS
20:10
Просмотров 12 тыс.
150 How to move files to month wise folders in ssis
14:13
136 How to move 3 days older files to a folder in SSIS
12:01
7 Database Design Mistakes to Avoid (With Solutions)
11:29
Tutorial - How to Rename and Archive Files via SSIS
8:32