我有一个存储过程,我目前正在处理它,它使用动态sql查询。
It has one variable assigned to (5000 - 6000 characters of dynamic SQL) and another variable assigned to (5000 - 6000 characters of dynamic SQL) and a UNION ALL between both the variables.
我从过程中获得了动态查询,并在编辑器上运行它。它给我返回了一行数据。如何调试此查询?
我可以:
var1 = "dyamic SQL..."
UNION ALL
var2 = "dynamic SQL..."
任何帮助我调试的建议都将不胜感激。