querybuilder
querybuilder copied to clipboard
Querying a function
How would I generate something like:
SELECT * FROM OPENJSON('["xxx","yyy","zzz"]') as codes
I think I could fudge it sqlsevercompiler wasn't adding square brackets, but it does and I can't find a way to do it.
I need to join result of such a query to real tables in the database - so the query above is just one of subqueries of a big join.
Not an issue. Can be resolved with "WithRaw" method, just found it on the documentation page.