Return to What is the difference between SET and SELECT?
What is the difference between SET and SELECT?
Written by Bill Graziano on 15 February 2004
Narayana Vyas Kondreddi submitted "Both SET and SELECT can be used to assign values to variables. But when to or when not to use SET or SELECT? Or does it matter? This articles shows you how SET and SELECT are different in various scenarios, along with examples. You will also find a test script that you can run, to identify the performance differences between SET and SELECT"