Select is a Non-ANSI standard when assigning variables.
We can assign only one variable at a time
We can assign multiple variable at a time
When assigning from a query that returns more than one value, SET will fail with an error.
When assigning from a query that returns more than one value, SELECT will assign the last value returned by the query and hide the fact that the query returned
Join MindStick Community
You need to log in or register to vote on answers or questions.
We use cookies to ensure you have the best browsing experience on our website. By using our site, you
acknowledge that you have read and understood our
Cookie Policy &
Privacy Policy.
Select is a Non-ANSI standard when assigning variables.
We can assign multiple variable at a time
When assigning from a query that returns more than one value, SELECT will assign the last value returned by the query and hide the fact that the query returned