02 Hindi | how to import a csv file into sql server using ssis

Поділитися
Вставка
  • Опубліковано 20 січ 2025

КОМЕНТАРІ • 32

  • @shivaniverma4266
    @shivaniverma4266 2 місяці тому

    aaapki videos kaaafi helping hai mujhe apne job se related work me kaafi help ,mili thank you for such beautiful content ... thank you making learning process more easy by your tutorial

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

    Thank you Akhil bhai for making videos in hindi. It's a visionary move where we can make your videos reach to the rural areas as well. ❤❤❤ Looking forward for this series to complete. 🫡🙏

    • @learnssis
      @learnssis  Рік тому +2

      Bahut shukriya bhai. Me is video series ko start karne se pahle bahut duvidha me tha ke kiya mujhe isko banana chahiye ya nahi, kyonki mere channel ko foreign me bhi kafi dekha jata he specially US and UK me but fir socha ke chalo hindi me SSIS par to series bana hi dete hein.

    • @rajatmaurya6401
      @rajatmaurya6401 Рік тому

      @@learnssis Currently, I am working as a Senior Consultant DB Developer in Tax at Ernst &Young. Apka ashirwad rahega toh me bhi apki is series se MSBI me excel kar paunga. 🙏😊

    • @learnssis
      @learnssis  Рік тому

      @@rajatmaurya6401ha ha. All the best for ssis learning.

  • @rajasatti6492
    @rajasatti6492 5 місяців тому

    Lots of love bro.....keep it up

  • @RamasisYadav-lz8yj
    @RamasisYadav-lz8yj 6 місяців тому

    Great explanation bhai

  • @nileshkumar_3781
    @nileshkumar_3781 Рік тому

    Very important video for beginners like me❤

  • @muhammadmuzammiljamil7831
    @muhammadmuzammiljamil7831 Рік тому

    Thank you. It's very helpful . Akhil bhai

  • @GunsNGuru
    @GunsNGuru Рік тому

    Great thanks!...please share more video..

  • @vishalsingh-vm4rg
    @vishalsingh-vm4rg 8 місяців тому

    Can you help me regarding a similar task?

  • @SuryaA-w5n
    @SuryaA-w5n Рік тому

    Hi,
    I am facing an issue while transferring data from csv to SQL using SSIS
    1.cannot be processed because more than one code page (65000 and 1252) are specified for it.
    for the first issue I changed data type from string[DT_STR] to unicode string [DT-WSTR]
    after that i am getting the error
    2.cannot convert between unicode and non-unicode string data types.
    please help me how to resolve this issue.

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

      You can use a data conversion transformation to convert from unicode to non-unicode data types or vice versa.
      ua-cam.com/video/aQJCky2qfCs/v-deo.html

  • @satishkumar-xt2xo
    @satishkumar-xt2xo Рік тому

    Awesome Bro

  • @DhanyaGowda-l9m
    @DhanyaGowda-l9m 10 місяців тому

    If code page is 65001 Do we have to chnage anything for my package it is working on my local not on other server

    • @learnssis
      @learnssis  10 місяців тому +1

      If it is not working on other server, then you might need to change the code page on other server, maybe try 1252. Or Try to typecasts the columns data type in derived column.

  • @VinayYadav-gu4xb
    @VinayYadav-gu4xb Рік тому

    👌👌

  • @preta4617
    @preta4617 29 днів тому

    thanks a lot

    • @learnssis
      @learnssis  27 днів тому

      You are most welcome.

  • @govindnarayansingh9903
    @govindnarayansingh9903 Рік тому

    sir next videos kb ayegi

    • @learnssis
      @learnssis  Рік тому

      ha ha, bhai views hi nahi aa rahe in hindi videos par kiya karoon. Dekho banata hoon jaldi.

  • @MayankPrajapati-z9r
    @MayankPrajapati-z9r Рік тому

    Warning: 0x80019002 at Package: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (4) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
    SSIS package "C:\Users\Mayank\Desktop\DATA ANALYTICS\SSIS\Project1\Project1\Package.dtsx" finished: Failure.
    Giving the above error , csv file data is not getting inserted in the Sql server Database Table....??!!!!1

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

      This seems like the generic error message, can you paste the full error message from output window.

    • @MayankPrajapati-z9r
      @MayankPrajapati-z9r Рік тому

      SSIS package "C:\Users\Mayank\Desktop\DATA ANALYTICS\SSIS\Project1\Project1\Package.dtsx" starting.
      Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
      Information: 0x4004300A at Data Flow Task, SSIS.Pipeline: Validation phase is beginning.
      Warning: 0x80049304 at Data Flow Task, SSIS.Pipeline: Warning: Could not open global shared memory to communicate with performance DLL; data flow performance counters are not available. To resolve, run this package as an administrator, or on the system's console.
      Information: 0x40043006 at Data Flow Task, SSIS.Pipeline: Prepare for Execute phase is beginning.
      Information: 0x40043007 at Data Flow Task, SSIS.Pipeline: Pre-Execute phase is beginning.
      Information: 0x402090DC at Data Flow Task, Vaccine [49]: The processing of file "C:\Users\Mayank\Desktop\DATA ANALYTICS\Power BI\Project - 1\country_vaccinations.csv" has started.
      Information: 0x4004300C at Data Flow Task, SSIS.Pipeline: Execute phase is beginning.
      Error: 0xC02020A1 at Data Flow Task, Vaccine [49]: Data conversion failed. The data conversion for column "vaccines" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".
      Error: 0xC020902A at Data Flow Task, Vaccine [49]: The "Vaccine.Outputs[Flat File Source Output].Columns[vaccines]" failed because truncation occurred, and the truncation row disposition on "Vaccine.Outputs[Flat File Source Output].Columns[vaccines]" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.
      Error: 0xC0202092 at Data Flow Task, Vaccine [49]: An error occurred while processing file "C:\Users\Mayank\Desktop\DATA ANALYTICS\Power BI\Project - 1\country_vaccinations.csv" on data row 2.
      Error: 0xC0047038 at Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on Vaccine returned error code 0xC0202092. The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing. There may be error messages posted before this with more information about the failure.
      Information: 0x40043008 at Data Flow Task, SSIS.Pipeline: Post Execute phase is beginning.
      Information: 0x402090DD at Data Flow Task, Vaccine [49]: The processing of file "C:\Users\Mayank\Desktop\DATA ANALYTICS\Power BI\Project - 1\country_vaccinations.csv" has ended.
      Information: 0x4004300B at Data Flow Task, SSIS.Pipeline: "OLE DB Destination" wrote 0 rows.
      Information: 0x40043009 at Data Flow Task, SSIS.Pipeline: Cleanup phase is beginning.
      Task failed: Data Flow Task
      Warning: 0x80019002 at Package: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (4) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
      SSIS package "C:\Users\Mayank\Desktop\DATA ANALYTICS\SSIS\Project1\Project1\Package.dtsx" finished: Failure.
      ​ @learnssis I gave the Text qualifier as " then also it is showing the above error

    • @learnssis
      @learnssis  Рік тому

      @@MayankPrajapati-z9rThis is the actual error message
      The data conversion for column "source_website" returned status value 4 and status text "Text was truncated or one or more characters had no match in the target code page.".
      So you would need to increase the length of column source_website.
      In the connection mangers, right click on the flat file connection manager, click edit, go to advance, go to source_website column and increase the length of the column whatever you think should be okay, you can increase upto 4000 for nvarchar and 8000 for varchar. then click ok. Ok.
      Now Re open the flat file source and click ok, ok. and now you also need to increase the length in the sql server table as well, and then open and close the ole db destination so that it can take the latest metadata from the sql table.