Report question

Question: Getting result of dynamic SQL into a variable for sql-server