🚧 Functions: Scalar vs TVF

🚧 Coming soon: Pros/cons of each function type; inlining and performance.

-- Placeholder
CREATE OR ALTER FUNCTION dbo.AddOne(@n INT) RETURNS INT AS
BEGIN
  RETURN @n + 1;
END;