It also lets you do some string-concatenation tricks, like the one I posted. RE: where it executes, it'll run in whatever database you're currently in. Note that you could just do "exec @SQL", but ...
当前正在显示可能无法访问的结果。
隐藏无法访问的结果当前正在显示可能无法访问的结果。
隐藏无法访问的结果