存储过程中的某些字段前面有一个“@”符号。这是什么意思?
忽略字段和数据本身。
, cast(hi.date_closed as date) hiclose
, @helloclose:=cast(ifnull(audit.date_created,hello.date_entered)
, cast(@hi-INTERVAL WEEKDAY(@hiclose)DAY as datetime) himonclose
, @oppentered:=cast(opp.date_entered - interval 5 hour as datetime) hicreate
, cast(@oppentered - INTERVAL WEEKDAY(@oppentered)DAY as datetime) himoncreate