Often enough, there is a huge benefit in knowing how to leverage SQL Server Integration Services to accomplish a data task that depends on a remote data source. This is a tutorial about a seemingly simple problem and solution that involves calling a web service from a SQL Server Integration Services package, storing the XML in an XML-typed column in a SQL Server database table, then extracting the data using XQuery. Note that web services may also return JSON, which I’ll explain and write a tutorial about later. This simple process and solution can be repeated to gather information from virtually any public web service. Use this method with care and purpose.
Continue reading “Call a Web Service using SQL Server Integration Services then Store and Query the Results”
Solving SQL Server Integration Services Expressions using Expression Builder is a bit of a chore until you have a good understanding and a few working examples of some useful expressions. Here are several common exceptions you might see when working within Expression Builder as well as examples and explanations of correct syntax.
Cannot convert System.Int32 to System.String
Here are a couple more exceptions you may come across:
“Cannot convert expression value to property type.”
“Cannot convert ‘System.DateTime’ to ‘System.String’.
Continue reading “Solving SQL Server Integration Services Expressions”
Time to Migrate from project.json to csproj!
Most of the time I just want the facts. So, here are the facts.
Now that Visual Studio 2017 has been released and my Visual Studio Code updates have brought it to Version 1.10.2, when I opened a recent project, a project created in Visual Studio Code that includes a project.json file, I received the following error when attempting to run dotnet run:
“Couldn’t find a project to run. Ensure a project exists in … Or pass the path to the project using –project”
Continue reading “Dotnet Migrate”