Тёмный

How to Load Multiple Excel Files Data to SQL Data Table using SSIS Components [Live Example] 

Gurunatha D
Подписаться 4,2 тыс.
Просмотров 11 тыс.
50% 1

In this video we will see how to extract data from multiple excel files or from bulk excel folder and load the same data to SQL Server Data Warehouse table using SSIS components .
So in this example we have extracted the data using excel source component and load bulk excel files using Foreach loop container and also we did transformation using Data Conversion, Derived Column, Conditional Split, UnionAll components and for loading purpose we use ADO.NET destination component.
For more videos : www.questpond.com
For more tutorials : www.onlinebuff...

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

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 35   
@raghavendrapani6353
@raghavendrapani6353 2 года назад
Thank you bro ! This was helpful, I was missing delay validation and you video helped me lol , should have watched long back
@prashanthtalla
@prashanthtalla 2 месяца назад
Thank you so much. How to change this logic to read the files in parallel and load into the target in parallel instead of sequentially? The actual requirement is a SQL task prior to the Foreach Loop is feeding a list of databases against which same SQL has to be run in parallel (as the SQL runs for a long time) on all the databases that the Foreach Loop receives and the data extracted from each database should be loaded to the same target table in the target database.
@anukolushivareddy
@anukolushivareddy Год назад
very useful information, tq you so much mam. can you upload how to load text file to table in ssis
@tadivamsi4759
@tadivamsi4759 3 года назад
Nice Explination sir
@bhavikdaruwala5135
@bhavikdaruwala5135 3 года назад
Thank you Guru Sir.. Learned something new today.
@gurunathad13
@gurunathad13 3 года назад
Thanks
@alirezamogharabi8733
@alirezamogharabi8733 Год назад
Really helpful thank you ❤
@gurunathad13
@gurunathad13 Год назад
welcome happy learning
@sumanyarlagadda6271
@sumanyarlagadda6271 3 года назад
Hi Sir, your efforts are commendable. Helping a lot to improve my skills. Could you please do more videos on Deployment and Configurations. Thank you
@gurunathad13
@gurunathad13 3 года назад
Sure 👍
@abebetaye6003
@abebetaye6003 Год назад
This is really helpful and it provides a lot of useful information. Would you please make a video on how to load multiple JSON files in SSIS using script component? Thank you!
@gurunathad13
@gurunathad13 Год назад
Sure will do in few couple of days
@abebetaye6003
@abebetaye6003 Год назад
Thank you Gurunatha.
@sathiyamoorthi9224
@sathiyamoorthi9224 3 года назад
Nice explanation sir. Can please upload the same but multiple excel files from different directory
@prateeksharma5662
@prateeksharma5662 2 года назад
do i have to give a db name while writing the truncate table query...as we are already ging it the database location *New to ETL*
@gurunathad13
@gurunathad13 2 года назад
no not required ...
@selambedada5490
@selambedada5490 2 года назад
How do you know your Excel version is 2016 on connection manager????
@madhurao404
@madhurao404 3 года назад
Liked your video. But in my case the Excel filenames are in an SQL table with some other data in that table. How to loop through this table and connect to the filenames and get data from these files to sql server.
@gurunathad13
@gurunathad13 3 года назад
Hi sir, Concat full file path with SQL column row having excel file name For example : string filepath="c:\\excelfiles\ Query : select excelfilename from tablename Expression = filepath+datarow["excelfilename"]; Use foreach loop having ado enumerator. Then pass full file path to data flow task having excel source and set excel source path . Hope this will help to get an idea of execution. Thanks Happy Learning!!!
@santhoshburra8396
@santhoshburra8396 2 года назад
Can you please suggest me how to load 10csv. Files into different tables through ssis? ( At the same time we need to create tables and different columns and different data) is it possible with single ssis package
@gurunathad13
@gurunathad13 2 года назад
Use foreach loop component and in DF use Flat file source as expression
@KCchamp007
@KCchamp007 2 года назад
Thanks for the detailed video, but just one thing is For me it's working for a single file but when I tried to do it for multiple, am facing this issue:"[Excel Source [2]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Excel Connection Manager" failed with error code 0xC0209303. There may be error messages posted before this with more information on why the AcquireConnection method call failed".Any idea about this? Appreciate if you take sometime and reply
@gurunathad13
@gurunathad13 2 года назад
Hi thanks for your feedback... Now coming back to your question just need to convert project setting to 32 bit...go to project properties convert configuration to 32 bit ..it will work fine...
@KCchamp007
@KCchamp007 2 года назад
@@gurunathad13 Thanks for the quick reply, have fixed it and working...is there any way to fetch the filename and insert it into the SQL table from the excel files.TIA
@saddalaharinadh6368
@saddalaharinadh6368 2 года назад
Hi sir, how load one Excel file have multiple sheets ,i need to load one sheet in table and second sheet into another table as & third sheet into another table, please make i video on this
@gurunathad13
@gurunathad13 2 года назад
Yes you can achive multiple sheets with foreach loop where you have use variable for sheet name ... As an incremental option...sheet 1 and sheet 2
@saddalaharinadh6368
@saddalaharinadh6368 2 года назад
@@gurunathad13 Please share the related videos sir
@gurunathad13
@gurunathad13 2 года назад
@@saddalaharinadh6368 ru-vid.com/video/%D0%B2%D0%B8%D0%B4%D0%B5%D0%BE-v6tNHeN2Kac.html
@rajd621
@rajd621 3 года назад
Thank you Gurunath. Nice explanation. I am new to SSIS. I have 4 different sources and need to combine all into one target table in SQL server db. Can you please let me know how to proceed. I tried pulling all into one data flow task, then tried to merge join, but unable to do it. Here is the required columns from the 4 sources that needs to be in one target table. CUSTOMER_Info (SQL DB): Customer_ID, First_Name, Last_Name, Email, Phone_No Required All above Columns CUSTOMER Data (.txt file): First_Name, Last_Name, Age, DOB, Gender, Marital Status Required columns: Age, DOB, Gender, Marital Status CUSTOMER Address (.xls file): First_Name, Last_Name, Address1, Address2, City, State,zipcode Required columns: Address1, Address2, City, State, Zipcode CUSTOMER Region (.csv file): First_Name, Last_Name, State_Cd, Region Required columns: Region, State_Cd
@gurunathad13
@gurunathad13 3 года назад
For this what columns are needed that you can check and uncheck it at source component level...So for this combining all 4 sources data you can easily use union all component also you need to use sorting as per name .....use union all it will work fine.... 👍
@milagroscuyafrancia4995
@milagroscuyafrancia4995 2 года назад
Hello sir, i'm getting this error Failure inserting into the read-only column "CustomerID".
@gurunathad13
@gurunathad13 2 года назад
Yes in an identity column you cannot insert any record .....make it simple int column to insert record
@nehal4094
@nehal4094 Год назад
I have this error could you help me solve it SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB r....
@manojsiddharths7792
@manojsiddharths7792 2 года назад
hi sir , i m getting error in excel connection manager configuration , could you please tell me how to solve it .
@gurunathad13
@gurunathad13 2 года назад
Kindly change connection type to 32 bit
Далее
Слушали бы такое на повторе?
01:00
Beginner to T-SQL [Full Course]
2:45:54
Просмотров 318 тыс.
01 SSIS Load From Excel Files with For Each Loop
12:43
58 Load Multiple Excel Sheets with different schema
16:41