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

Поділитися
Вставка
  • Опубліковано 17 лис 2024

КОМЕНТАРІ • 35

  • @raghavendrapani6353
    @raghavendrapani6353 2 роки тому +1

    Thank you bro ! This was helpful, I was missing delay validation and you video helped me lol , should have watched long back

  • @prashanthtalla
    @prashanthtalla 3 місяці тому

    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 роки тому +1

    Nice Explination sir

  • @alirezamogharabi8733
    @alirezamogharabi8733 Рік тому +1

    Really helpful thank you ❤

  • @bhavikdaruwala5135
    @bhavikdaruwala5135 3 роки тому +1

    Thank you Guru Sir.. Learned something new today.

  • @abebetaye6003
    @abebetaye6003 2 роки тому +1

    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!

  • @sumanyarlagadda6271
    @sumanyarlagadda6271 3 роки тому +1

    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

  • @selambedada5490
    @selambedada5490 2 роки тому +1

    How do you know your Excel version is 2016 on connection manager????

  • @sathiyamoorthi9224
    @sathiyamoorthi9224 3 роки тому

    Nice explanation sir.
    Can please upload the same but multiple excel files from different directory

  • @prateeksharma5662
    @prateeksharma5662 2 роки тому +1

    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*

  • @madhurao404
    @madhurao404 3 роки тому +1

    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 роки тому +1

    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

  • @rajd621
    @rajd621 3 роки тому +1

    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.... 👍

  • @KCchamp007
    @KCchamp007 2 роки тому +1

    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

  • @milagroscuyafrancia4995
    @milagroscuyafrancia4995 2 роки тому +1

    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 роки тому +1

    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 роки тому +1

      @@gurunathad13
      Please share the related videos sir

    • @gurunathad13
      @gurunathad13  2 роки тому

      @@saddalaharinadh6368
      ua-cam.com/video/v6tNHeN2Kac/v-deo.html

  • @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 роки тому +1

    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