如下例:

declare @name varchar(30), @wage money

select @name=e_name,@wage=e_wage
from employee
where emp_id='10010001'

赋予的值应通过WHERE筛选成唯一值

相关文章:

  • 2021-12-05
  • 2021-09-24
  • 2022-12-23
  • 2022-12-23
  • 2021-12-05
  • 2021-08-29
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-06-11
  • 2021-09-28
  • 2021-05-19
相关资源
相似解决方案