DAC (Dedicated Administrator Connection) is a well-known function of SQL Server for the case that the server isn’t responding to regular connection for various reasons like heavy-load etc. Having the magic DAC in the pocket can lead administrators to the opinion that they are save in such a case, that…
What is the default data type of NULL?
The more and more is Power BI used everywhere it’s starting to be really painful to incorporate it in any metadata management solution. This article is a result of 10 hours investigation on how to get metadata from Power BI files. To be honest, a lot of workarounds, community tools,…
Using Binary Hash as an Alternate Record Key
Using STRING_AGG() as a dynamic T-SQL generator
One of our customers was facing the issue of how to save responses from Microsoft Forms to Azure SQL database. The initial idea was to go with Google Forms and Zappier but we have recommended the use of Microsoft Forms to stay inside the Azure environment instead of being split…
OdbcPrec() and OdbcScale() functions
Calculating average value of multiple columns
Having fun with square brackets
This article is just for fun. From time to time T-SQL dialect may look like little bit scary. In the example below, we will create such a monster using square brackets. We will create a sample table and remove one square bracket in the column name. Let’s see what will…
