I'm a bit new to dynamic queries and don't fully understand them, mostly, I've been using code developed by other programmers to learn it. Here's a problem I've encountered that I'm not sure how to approach.
Heres the situation:
I have 2 dynamic temp-tables (t-hdl-tbl1, t-hdl-tbl2) and...