Press "Enter" to skip to content

Setting CONTEXT_INFO from Power Query

Chris Webb is on a mission:

In my quest to check out every last bit of obscure Power Query functionality, this week I looked into the ContextInfo option on the Sql.Database and Sql.Databases M functions. This option allows you to set CONTEXT_INFO in SQL Server (see here for a good article explaining what this is) and here’s an example of how to use it:

Click through for that example.