Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
create function dbo.MinValue(field1 int, field2 int) return int
as
begin
if field1 > field2
return field2
else
return field1
end
select T.Field1, T.Field2, dbo.MinValue(T.Field1, T.Field2) as MinValue from myTable