不工作
Create Function MyFunction(@enterpriseId uniqueidentifier)
RETURNS TABLE
AS
if @enterpriseId = 1
begin
//Do someThing
end
else
begin
//Do somethin
end
不工作
Create Function MyFunction(@enterpriseId uniqueidentifier)
RETURNS TABLE
AS
if @enterpriseId = 1
begin
//Do someThing
end
else
begin
//Do somethin
end