0
我在T-SQL存储过程中有以下选择语句。具有多个连续的选择语句的结果是什么?结果是串联在一起的吗? 这是存储过程的几行内容。假设各变量的定义等存储过程中多个连续的Select语句的结果是什么?
Select @MaxEventId=Max(EventId) From Events Where [email protected]
Select @LastEventId=EventDefId From Events Where [email protected] and [email protected]
Select @Redirect=Redirect From vEventStates Where [email protected] and [email protected]
你的'select'只是给变量赋值,没有什么更多 – Lamak