SQL Server's OpenJson function will let you dismantle JSON structures into relational tables, including tables with foreign ...
What the best way to work around this? I have the same SELECT statement but there are different criteria depending on the IF check.