Referring SSIS Variables from SSIS Script Task

Today I got a very valued feedback from a reader of my SSIS 2012 book, and based on that feedback I’ve found that I had a mistake in one of the exersizes of the book. an important note was not mentioned there.

So in this post I want to mention that and applogize for any inconvinence that it caused for readers of my book.

 

If you want to refer to a package variable from SSIS Script Task, the golden rule is that variable name is Case Sensitive!

 

 

In chapter 2 of the book Microsoft SQL Server 2012 Integration Services: An Expert Cookbook, in page 38 (the exersize starts from page 36), in step 13 the script mentioned, but we forgot to mention that variable name is case sensitive.

so if you get an error out of this script please double check case sensitivity of it.

in below I highlighted the part the I am talking about.

 

I apologize again for the mistake that we didn’t mentioned this important note there.

** This blog post originally was shared in my old blog

Reza Rad on FacebookReza Rad on LinkedinReza Rad on TwitterReza Rad on Youtube
Reza Rad
Trainer, Consultant, Mentor
Reza Rad is a Microsoft Regional Director, an Author, Trainer, Speaker and Consultant. He has a BSc in Computer engineering; he has more than 20 years’ experience in data analysis, BI, databases, programming, and development mostly on Microsoft technologies. He is a Microsoft Data Platform MVP for 12 continuous years (from 2011 till now) for his dedication in Microsoft BI. Reza is an active blogger and co-founder of RADACAD. Reza is also co-founder and co-organizer of Difinity conference in New Zealand, Power BI Summit, and Data Insight Summit.
Reza is author of more than 14 books on Microsoft Business Intelligence, most of these books are published under Power BI category. Among these are books such as Power BI DAX Simplified, Pro Power BI Architecture, Power BI from Rookie to Rock Star, Power Query books series, Row-Level Security in Power BI and etc.
He is an International Speaker in Microsoft Ignite, Microsoft Business Applications Summit, Data Insight Summit, PASS Summit, SQL Saturday and SQL user groups. And He is a Microsoft Certified Trainer.
Reza’s passion is to help you find the best data solution, he is Data enthusiast.
His articles on different aspects of technologies, especially on MS BI, can be found on his blog: https://radacad.com/blog.

Leave a Reply