I have problem with multi-statement table-valued function . Whats wrong whit this code
SET ANSI_NULLS ON; GO SET QUOTED_IDENTIFIER ON; GO CREATE FUNCTION FN