Quantcast
Channel: SET vs. SELECT - What's the difference? - Stack Overflow
Viewing all articles
Browse latest Browse all 6

Answer by TStamper for SET vs. SELECT - What's the difference?

$
0
0

SET is the ANSI standard way of assigning values to variables, and SELECT is not. But you can use SELECT to assign values to more than one variable at a time. SET allows you to assign data to only one variable at a time. So that in performance is where SELECT will be a winner.

For more detail and examples refer to: Difference between SET and SELECT when assigning values to variables


Viewing all articles
Browse latest Browse all 6

Trending Articles