79449079

Date: 2025-02-18 17:10:33
Score: 1
Natty:
Report link

I found this answer really useful, I would just like to add that, whilst not necessary, adding a "SET" command seems to remove potential errors being flagged in a Synapse notebook, magic SQL cell.

%%sql
SET myapp.myVar;
SELECT * FROM myTable WHERE myVal = '${myapp.myVar}'
Reasons:
  • Low length (0.5):
  • Has code block (-0.5):
  • Low reputation (1):
Posted by: Paul Mattey