Posts

Showing posts with the label UDF

SQL Schema Binding

CREATE FUNCTION dbo . ComputeNum ( @i int ) RETURNS int WITH SCHEMABINDING BEGIN RETURN @i * 2 + 50 END In SQL 2005 it improves the performance.