37 Script Component Transformation in SSIS

Поделиться
HTML-код
  • Опубликовано: 22 янв 2025

Комментарии • 52

  • @zraakuladann3946
    @zraakuladann3946 20 дней назад

    I'm having a huge problem when reading from a csv. I go and edit the C# code and use the output.column0 etc... but after I make a change or I add new columns .. it seems the C# code never recognizes the changes. I rebuild, I build, I clean... There's nothing I can do about it.

  • @sasisviewvlog
    @sasisviewvlog Год назад

    Hi sir,
    I need to get the values that are populated in script component inside data flow task to the pacakage variable how to do ?

  • @ashabhumza3394
    @ashabhumza3394 10 месяцев назад

    what a clear explanation, loved it🤩

    • @learnssis
      @learnssis  10 месяцев назад

      Thank you Ashab.

  • @amanahmed6057
    @amanahmed6057 2 года назад

    10:41
    Where you use
    Row.Gender1
    You didn't use than why you created,
    Could you help me related that.

    • @learnssis
      @learnssis  2 года назад

      12:07 if you look at this moment we are using Gender1 as Input column which is getting mapped to Gender1 in the sql table.

    • @amanahmed6057
      @amanahmed6057 2 года назад

      @@learnssis Thanks but I am confuse why we made Row.Gender1 !

    • @learnssis
      @learnssis  2 года назад

      @@amanahmed6057 we just added a new column to show you that we can add multiple columns in the data flow. If you do not want to add Gender1 then it's totally fine.

    • @amanahmed6057
      @amanahmed6057 2 года назад

      @@learnssis Copy that !!

  • @darrylw99
    @darrylw99 2 месяца назад

    without using code to determine the value, can you use a lookup transformation to check Male/Female against the value in a lookup table and return the numeric value for that row?

    • @learnssis
      @learnssis  2 месяца назад

      Yes we can do that as well.

  • @faheemiqbal3865
    @faheemiqbal3865 10 месяцев назад

    Excellent elaboration of the script shape, thanks.

    • @learnssis
      @learnssis  10 месяцев назад +1

      Thank you Faheem Bhai.

  • @sdang003
    @sdang003 5 лет назад +1

    Hi great video, can you advise how to take buffer as an input and spit out the columns according to a certain column into multiple tabs in an excel file. Thank you.

  • @jewelc2770
    @jewelc2770 Год назад

    Salam br. Aqil, great work!

    • @learnssis
      @learnssis  Год назад

      Wa alikum asslam. Thank you.

  • @gihanprabudda7313
    @gihanprabudda7313 7 лет назад +1

    Thank you very much. This is very helpful.

    • @learnssis
      @learnssis  7 лет назад +1

      Thank you Gihan for your comment. Its nice to hear that you liked the video.

  • @premjitchowdhury262
    @premjitchowdhury262 3 года назад

    Amazing video much appreciated brother.

    • @learnssis
      @learnssis  3 года назад

      Thank you brother. Thanks.

  • @gayathriarras6506
    @gayathriarras6506 2 года назад

    Hi ,
    Can you please clarify my doubt can we do script component dynamically like having 5 table with different columns need to work with one script component dynamically ? Can be able to implement that ?

    • @learnssis
      @learnssis  2 года назад

      You can't map the columns dynamically in script component.

  • @thee_draagon
    @thee_draagon 4 года назад

    Hi, thank you it is helpful, however can u tell me how can I read the whole row in script component, my requirement is to remove the unnecessary special characters from the line and process it to ole db.

    • @learnssis
      @learnssis  4 года назад

      Take a look at this blog, it might be helpful to you.
      stackoverflow.com/questions/10387550/how-do-i-remove-spaces-while-importing-flat-file-containing-intermediate-blank-l

  • @KalugampitiyaJayakody
    @KalugampitiyaJayakody 7 лет назад +1

    this is very good. thank you

  • @vamshikrishna7300
    @vamshikrishna7300 Месяц назад

    What is the difference between Script component transformation and Derived component transformation ?

    • @learnssis
      @learnssis  Месяц назад

      The major difference between both is that, In Script Component transformation we can write script using C#.NET or VB.NET, while in derived column transformation we can write code in SSIS expression language.
      Both transformation can be used to add new columns to the data flow and update values in the columns. However you can do a lot more using Script component as compare to Derived column, for example in Script component you can read data from flat file\excel file\sql server\api etc, however you can't do this in derived column transformation. You can only use the functions give by SSIS like date functions (like getdate()), string functions (like substring, replace etc), type cast functions (dt_Wstr etc).

  • @srinumadiraju
    @srinumadiraju 5 лет назад

    All this can be done in derived column transformation of SSIS. Would be great if you do some complex transformations which can only be done by Script Component.

    • @learnssis
      @learnssis  5 лет назад +1

      Thanks for your suggestion, I will try to make a video as per your suggestion.

    • @learnssis
      @learnssis  3 года назад

      @Mohammad Zaman Yeah we can write a complex stuff inside the if else statement. I just tried to make the example easy so that everyone can understand it.

  • @mohanrajcreations3220
    @mohanrajcreations3220 Месяц назад

    How to log the errors in script component

    • @learnssis
      @learnssis  Месяц назад

      here I made 2 videos where in one video I am logging the error details to a sql table and in another one I am logging the error details to a flat file
      ruclips.net/video/pmXIbq_U_L0/видео.html
      ruclips.net/video/-zoNMZtiPBU/видео.html

  • @zeeshanahmad-pg6rs
    @zeeshanahmad-pg6rs 3 года назад

    How to create a flat file having two tables in it?

    • @learnssis
      @learnssis  3 года назад

      Do you mean the data in flat file will come from 2 different tables ? At the end there will only be a single file in flat file. Unalike to excel file where we can have multiple sheets in a single file, we can't have multiple sheets in flat file.

  • @amrselim2167
    @amrselim2167 Год назад

    you forgot to output the firstname without "_", but it's a great playlist.

    • @learnssis
      @learnssis  Год назад

      Thanks for pointing that out Selim.

  • @vinuthackgowda4183
    @vinuthackgowda4183 3 года назад

    Hi sir it's great vedio but, iam not getting value in gender 1&2

  • @dilipkumar-ck1nc
    @dilipkumar-ck1nc 2 года назад

    Script is not opening in ssis

    • @learnssis
      @learnssis  2 года назад

      You might need to reinstall SSIS.

  • @darbardarbar9460
    @darbardarbar9460 2 года назад

    Thanks

    • @learnssis
      @learnssis  2 года назад

      You are most welcome Parveen.

  • @darbardarbar9460
    @darbardarbar9460 2 года назад

    Please explain third-party SSIS components

    • @learnssis
      @learnssis  2 года назад

      Sure Parveen Darbar.

    • @darbardarbar9460
      @darbardarbar9460 2 года назад

      @@learnssis sir am
      waiting

    • @learnssis
      @learnssis  2 года назад

      @@darbardarbar9460 Okay, will make a video on this one soon.

    • @karthikkunala
      @karthikkunala 2 года назад

      @@learnssis Hello Akhil, any videos you made for 3rd party SSIS components? are they trust worthy?

    • @learnssis
      @learnssis  2 года назад +1

      @@karthikkunala Hi Karthik, I have not created videos on third party components but yes they are trust worthy and for most of the components we would need to purchase license to use them.
      For example we have components those pull data from Quickbooks to sql and vice versa. There are components which can do incremental load, so they works fine but you would need to pay for them.

  • @dilipkumar-ck1nc
    @dilipkumar-ck1nc 2 года назад

    Can u copy the code

    • @learnssis
      @learnssis  2 года назад

      Thanks, I have uploaded the code to google drive.

  • @kunchapusrikanth4919
    @kunchapusrikanth4919 Год назад +1

    Today I sent a mail to you can you please check it once