CREATE FUNCTION getsort (@first varchar(100),@second varchar(100))
RETURNS int
AS
BEGIN
declare @rv int
if(@[email protected]) set @rv=1
else
set @rv=0
-- Return the result of the function
RETURN @rv
END
GO
时间: 2024-12-24 18:19:29
CREATE FUNCTION getsort (@first varchar(100),@second varchar(100))
RETURNS int
AS
BEGIN
declare @rv int
if(@[email protected]) set @rv=1
else
set @rv=0
-- Return the result of the function
RETURN @rv
END
GO