Create the following UDF:
CREATE FUNCTION rrr (@id2 INT, @id int)
RETURNS INT AS
BEGIN
RETURN (@id)
END
Now do:
SELECT dbo.rrr(
I see both params -- very useful -- but they're out of order. How about ordering them based on the actual required input order, rather than alphabetically?
CREATE FUNCTION rrr (@id2 INT, @id int)
RETURNS INT AS
BEGIN
RETURN (@id)
END
Now do:
SELECT dbo.rrr(
I see both params -- very useful -- but they're out of order. How about ordering them based on the actual required input order, rather than alphabetically?