The Function of MaxValue

xiaoxiao2021-03-06  74

create function MaxValue (@ int1 int, @ int2 int) returns intasbegin declare @maxValue int if (@ int1> @ int2) select @maxValue = @ int1 else select @maxValue = @ int2 return @maxValueend

Select Dbo.maxvalue (300, 200)

转载请注明原文地址:https://www.9cbs.com/read-92983.html

New Post(0)