19 Debugging Script Task in SSIS

  Рет қаралды 28,160

Learn SSIS

Learn SSIS

Күн бұрын

Пікірлер: 43
@catierobin346
@catierobin346 5 жыл бұрын
Thank you so very much for this tutorial! I am currently learning SSIS and was attempting to do something similar but could not get it to work correctly. Watching this video has helped me figure out where my issue was and correct the package. I look forward to learning from your other tutorials
@learnssis
@learnssis 3 жыл бұрын
Glad to know Catie that it helped you.
@cifufull
@cifufull 6 ай бұрын
Thanks Friend¡¡ great scenario to apply
@learnssis
@learnssis 6 ай бұрын
Thank you Andres.
@rams_here
@rams_here 4 ай бұрын
Thank you once again🤗. I request you to create new channels for Python, AI/ML/GenAI in same format as Learn SSIS...
@learnssis
@learnssis 4 ай бұрын
That's so nice of you, but I don't have experience working with Python, AI/ML/GenAI.
@anandreddy9591
@anandreddy9591 Жыл бұрын
Excellent video sir, Sir I have one scenario package running fine in production but when I check the same package fails saying binary code of the script component failed .
@learnssis
@learnssis Жыл бұрын
There can be multiple reasons for this. 1. Check the target sql server version of the ssis package, if it is not correct then correct it and save and close the package. 2. If you are using any DLL in the script component then make sure that DLL are registered to gac using developer command prompt window using admin rights. 3. Open the script component and try to rebuild it and see if rebuild completes successfully or not.
@sriniwaaskorampalli8145
@sriniwaaskorampalli8145 2 жыл бұрын
hi sri, the same thing can be achieved using foreach loop? if i need to perform same task without using srcipt componet then?
@learnssis
@learnssis 2 жыл бұрын
Yeah same thing can be done using foreach loop container, you can get the file name from there and if you want to check the total record counts in a flat file and do not want to use the script task, then you can use a data flow task, use a flat file source, now use a row count transformation and then instead of an oledb destination, just use a derived column transformation, this way data flow task will read all data from source but won't insert it to anywhere and total record count will be inserted to an SSIS variable inside the rowcount transformation and then in the end you can insert that value to a sql server table like how I did in the end.
@sriniwaaskorampalli8145
@sriniwaaskorampalli8145 2 жыл бұрын
@@learnssis hi sir, do we have jobs offers on ssis if we don't know c# or .net also ?
@learnssis
@learnssis 2 жыл бұрын
@@sriniwaaskorampalli8145 A little bit of C# knowledge is good but not necessary to get a job in SSIS.
@gfenno
@gfenno 7 жыл бұрын
Could you also have used, parameter mapping in the sql task to achieve the same result? Instead of expressions?
@learnssis
@learnssis 7 жыл бұрын
Yes I have used that too. You can check that in my video "Execute SQL Task in SSIS". kzbin.info/www/bejne/bHKsfmauoLRjfpo If you go to 5:20 MM:SS then you will see how I have used that.
@kitykaklyne7730
@kitykaklyne7730 2 жыл бұрын
Excellent !
@learnssis
@learnssis 2 жыл бұрын
Thank you.
@ExonaQ
@ExonaQ 3 жыл бұрын
i didn't understand why you used the "using" statement to read the file.
@learnssis
@learnssis 3 жыл бұрын
To read the file there is a class in C# which is called as System.IO this class has methods to deals with files on the file system. And to access a pre created class like System.IO we need to write a statement like below using System.IO
@ShivamSharma-wt7nu
@ShivamSharma-wt7nu 4 жыл бұрын
can we fetch 5 excel sheets present in a folder directly from one drive to ssis
@learnssis
@learnssis 4 жыл бұрын
Sorry I never tried that.
@ShwetaJadhav-e9f
@ShwetaJadhav-e9f 9 ай бұрын
In Coustomer,txt there are only 6 records, one row is header row, then why it is counting 7 records?
@learnssis
@learnssis 9 ай бұрын
it is including the header row as well because that is a line as well in the Customer.txt file. the code is just checking how many lines are available in the file. If you have header information in the file, then in the end you can subtract -1 from the total record count.
@belaytechbtc5219
@belaytechbtc5219 Жыл бұрын
I want to do something for a SharePoint destination from Ole db, can you help me with some ideas
@learnssis
@learnssis Жыл бұрын
There is no inbuilt components in SSIS to write to a sharepoint destination, you would need to write code in C# and place it inside script task.
@mahmoudhassanine9905
@mahmoudhassanine9905 2 жыл бұрын
could you please make a vedio calling api using script task inside for each
@learnssis
@learnssis 2 жыл бұрын
As of now I don't have an api to test, I will try to find a public api if possible and will make a video on that.
@venkatasureshkakumani8285
@venkatasureshkakumani8285 4 ай бұрын
Good
@learnssis
@learnssis 4 ай бұрын
Thank you.
@kamleshsinghG
@kamleshsinghG 4 жыл бұрын
Thanks for sharing the video... can you please make the same example with multiple files?
@learnssis
@learnssis 4 жыл бұрын
OK, will try to do it in future.
@priyanshidangi6968
@priyanshidangi6968 Жыл бұрын
TITLE: Expression Builder ------------------------------ Cannot convert expression value to property type. Cannot convert 'System.String' to 'System.Int32'. Getting this error
@learnssis
@learnssis Жыл бұрын
Typecast the value to Int32. You can do this by typecasting the existing value like below Convert.ToInt32(Dts.Variables["myvariable"].Value)
@priyanshidangi6968
@priyanshidangi6968 Жыл бұрын
@@learnssis "INSERT INTO FILEINFO VALUES('"+ @[User::FilePath] +"','"+ @[User::FileName] +"',"+ (DT_WSTR,12)@[User::RecordCount] +", getdate( )" How can we ftypecast this to fix the error. I
@priyanshidangi6968
@priyanshidangi6968 Жыл бұрын
Sir Please Help How to resolve this error ..... I m Getting the same error everytime i m using Expreesions
@learnssis
@learnssis Жыл бұрын
@@priyanshidangi6968 Email below things to me 1. the expression 2. screenshot of ssis variables 3. screenshot of table FILEINFO columns with their data type You can email at aqil33@gmail.com
@krishnachaitanyareddy2781
@krishnachaitanyareddy2781 3 жыл бұрын
voice low
@learnssis
@learnssis 3 жыл бұрын
You are right, some of my older videos voice is low, I am trying to upload new videos in proper voice.
@gauntrealities4655
@gauntrealities4655 3 жыл бұрын
I don't understand almost everything this dude says. Horrible accent ((
@learnssis
@learnssis 3 жыл бұрын
Sorry man, if you can't understand it.
@amanahmed6057
@amanahmed6057 2 жыл бұрын
@learner_SSIS
@learner_SSIS Жыл бұрын
Nice 👍
@learnssis
@learnssis Жыл бұрын
You are most welcome Naveen Raja.
20 Sequence container in SSIS example
6:14
Learn SSIS
Рет қаралды 39 М.
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 18 МЛН
The Ultimate Sausage Prank! Watch Their Reactions 😂🌭 #Unexpected
00:17
La La Life Shorts
Рет қаралды 9 МЛН
145 How to deploy ssis package in ssis catalog and schedule it
23:25
SQL Server Integration Services (SSIS) Part 8 - Debugging
12:01
WiseOwlTutorials
Рет қаралды 112 М.
18 Script Task in SSIS | Using script task in SSIS
8:31
Learn SSIS
Рет қаралды 50 М.
69 How do I debug an SSIS package?
8:26
Learn SSIS
Рет қаралды 21 М.
Debugging sql server stored procedures
15:11
kudvenkat
Рет қаралды 243 М.
Introduction to C# Scripting in SSIS
58:36
Pragmatic Works
Рет қаралды 15 М.
Create an ETL package with SSIS! // step-by-step
13:11
Kahan Data Solutions
Рет қаралды 166 М.
How to Debug Errors in Javascript and React JS 😲🔥
16:12
RoadsideCoder
Рет қаралды 14 М.
How to Fight a Gross Man 😡
00:19
Alan Chikin Chow
Рет қаралды 18 МЛН