declare @b char(1) select @b = flag_running from hr_position where id = 1 if @b = '1' select @b = '0' else select @b = '1' exec('update from hr_position set flag_running =' + @b + ' where id = 1')
另外要是我转到在ACCESS里面改怎么描述
...全文
1113打赏收藏
这段存储过程什么意思?多谢
declare @b char(1) select @b = flag_running from hr_position where id = 1 if @b = '1' select @b = '0' else select @b = '1' exec('update from hr_position set flag_running =' + @b + ' where id = 1') 另外要是我转到在ACCESS里面改怎么描述