Storing a variable with a SELECT, and why it didn't work.


 * http://www.sqlservercentral.com/articles/T-SQL/170141/

https://www.sqlservercentral.com/Forums/1929941/Storing-a-variable-with-a-SELECT,-and-why-it-didnt-work
 * discussion: