Question Kaveh Kaviani · Oct 30, 2024 dynamic SQL in object script code i am trying to embed a dynamic SQL into Objectscript code , but the %NEXT() will return 0 , however when i copy the same query and run it in the SQL bit it will give me the result i want the code : #HealthShare #InterSystems IRIS #InterSystems IRIS for Health #ObjectScript #SQL 0 0 0 0