querybuilder icon indicating copy to clipboard operation
querybuilder copied to clipboard

Querying a function

Open magomedov opened this issue 8 years ago • 2 comments

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.

magomedov avatar Oct 16 '18 08:10 magomedov

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.

magomedov avatar Oct 16 '18 09:10 magomedov

Not an issue. Can be resolved with "WithRaw" method, just found it on the documentation page.

magomedov avatar Oct 16 '18 09:10 magomedov