select isNull(max(EvenId),0) as teevenid from info_hotelevent where hotelcode like '4506020003%'
select max(EvenId) as teevenid from info_hotelevent where hotelcode like '4506020003%'
select isNull(max(EvenId),0) as teevenid from info_hotelevent where hotelcode like '4506020003%'
select max(EvenId) as teevenid from info_hotelevent where hotelcode like '4506020003%'