T-SQL, updating more than one variable in a single select

前端 未结 0 1457
执笔经年
执笔经年 2021-02-11 12:41

Is it possible to update more than one local variable in a single select?

Something like:

set
    @variableOne = avg(someColumn),
    @variableTwo = avg(         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题