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

IBM FileNet: Bulk Processing using JavaScript

ASP.NET Web API Tutorial for Beginners

DB2 Date Time Functions