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.

Comments

Popular posts from this blog

Code Example to Connect to File Net is as Follows: