Yearly Archives

3 Articles

Stepping back into the ring.

I am happy to share with you all that I am stepping back into the ring. After a ‘brief’ period (“It has been 6 months, how can you call that brief?”) I am back. And better than before – or at least – I hope.

Ever since my move to the US to work at Microsoft headquarters I have been waiting for the opportunity to be more visible ‘outside’. And now I will! We are getting started with YouTube: we just re-launched the Data Exposed show!

Data Exposed is all about data; relational and non-relational, on-premises and in the cloud, big and small. Join us as we demonstrate features, discuss the latest news, and share the love for data technology including SQL Server, Azure Data Services like SQL DB, Cosmos DB, SQL DW, Data Factory, Databricks and more. 

Azure SQL is partnering with Data Exposed to keep you in the know on everything related to Azure SQL. Find us on YouTube and subscribe.

I am proud to say that my team and I will make this a reality – expect to see me in future episodes. For more details, See my blog post on Tech Communities.

It feels good to be part of this. Stay tuned, there will be more to come, including videos with me (goodbye comfort zone!).

Passing command line settings to SQL Server Integration Services (SSIS) packages using dtexec on Linux

This is my first blog post since I moved to Redmond. A lot of time has passed, sorry for that! I kept busy filling out forms, forms and some more forms. After that came more forms. I dream about forms, I breath forms. I am a form. Wait, let’s stop there.

Recently I had to figure out how to pass in settings to an SQL Server Integration Services (SSIS) package when calling it using dtexec from bash on Linux.

The dtexec utility is utility to execute a SSIS packages. The name goes back to the time that SSIS was called Data Transformation Services (DTS) – that is also the reason why SSIS packages carry the .dtsx extension. The dtexec utility is available for both Windows and Linux.

One of the interesting things you can do with dtexec is passing in values to variables (using the /Par(ameter) option or even change a connection string at runtime (using the /Conn[ection]). I had to do the latter. Here is where the fun started. The /Par and /Conn options (and maybe others) expect something like this: [name];[value]. For example:

Notice the ‘;’ between the name of the source connection and the connection string. This is all great, unless you are trying to call dtexec from the bash command line in Linux, because ; actually means something in bash: when bash sees ; it thinks the current command has ended and the next instruction follows. That is not what we want here.

I had to escape a number of items to get this to work correct in bash:

See what I did there? I had to escape the first ; (between ‘MasterSQL’ and ‘Data Source’) as well as escape the quotes that surround the data source definition itself and have it double quoted.

If you need to pass in a value to a string parameter you need to follow the same logic:

For a string variable you can pass in the value like this:

Hope this helps!

Updated: Annual radio countdown Top 2000 in Power BI

This is starting to become a tradition, sort of. My Power BI analysis of the Top 2000 has been updated to include 2018’s edition!

Read all about it in the original post from 2016.

Full screen

Enjoy and happy holidays! See you next year.

%d bloggers like this: