There's no functionality that maps this specific behavior directly in SQLScript.
Question here would be: why the need for dynamic SQL in the first place?
The general advise is not to use dynamic SQL if there's alternative options to do that - which is easy in your example.
- Lars