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

  Рет қаралды 11,038

Gurunatha D

Gurunatha D

Күн бұрын

Пікірлер: 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
@alirezamogharabi8733
@alirezamogharabi8733 Жыл бұрын
Really helpful thank you ❤
@gurunathad13
@gurunathad13 Жыл бұрын
welcome happy learning
@tadivamsi4759
@tadivamsi4759 3 жыл бұрын
Nice Explination sir
@prashanthtalla
@prashanthtalla 5 ай бұрын
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.
@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 ...
@bhavikdaruwala5135
@bhavikdaruwala5135 3 жыл бұрын
Thank you Guru Sir.. Learned something new today.
@gurunathad13
@gurunathad13 3 жыл бұрын
Thanks
@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
@selambedada5490
@selambedada5490 3 жыл бұрын
How do you know your Excel version is 2016 on connection manager????
@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 👍
@anukolushivareddy
@anukolushivareddy Жыл бұрын
very useful information, tq you so much mam. can you upload how to load text file to table in ssis
@abebetaye6003
@abebetaye6003 2 жыл бұрын
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 2 жыл бұрын
Sure will do in few couple of days
@abebetaye6003
@abebetaye6003 2 жыл бұрын
Thank you Gurunatha.
@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
@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 kzbin.info/www/bejne/rGfXf3ubg5d-l8U
@manojsiddharths7792
@manojsiddharths7792 3 жыл бұрын
hi sir , i m getting error in excel connection manager configuration , could you please tell me how to solve it .
@gurunathad13
@gurunathad13 3 жыл бұрын
Kindly change connection type to 32 bit
@KCchamp007
@KCchamp007 3 жыл бұрын
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 3 жыл бұрын
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 3 жыл бұрын
@@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
@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!!!
@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....
@sathiyamoorthi9224
@sathiyamoorthi9224 3 жыл бұрын
Nice explanation sir. Can please upload the same but multiple excel files from different directory
@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.... 👍
111 How to export data to new excel file every time in ssis
14:35
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН
24 Часа в БОУЛИНГЕ !
27:03
A4
Рет қаралды 7 МЛН
SSIS Multiple Excel Files Import | using foreach object
14:33
Database Tales
Рет қаралды 12 М.
Querying 100 Billion Rows using SQL, 7 TB in a single table
9:07
Arpit Agrawal (Elastiq.AI)
Рет қаралды 59 М.
154 How to export data to multiple excel files in SSIS
27:42
Learn SSIS
Рет қаралды 2,7 М.
151 How to merge data from multiple flat files using ssis
9:31
Learn SSIS
Рет қаралды 3,3 М.
01 SSIS Load From Excel Files with For Each Loop
12:43
Ted on MSSQL
Рет қаралды 17 М.
-5+3은 뭔가요? 📚 #shorts
0:19
5 분 Tricks
Рет қаралды 13 МЛН