Download this FREE eBook and learn all you need to get started with Windows Nano Server, including deployment options, remote management
and troubleshooting tips and tricks
CREATE FUNCTION [dbo].[fct_prg_GetCostsPerProject](@Project_ID int) RETURNS money AS BEGIN DECLARE @Result money SELECT @Result=ISNULL(SUM(Costs),0) FROM dbo.myTable WHERE Mx_Project_fID = @Project_ID return @Result END
Join the community of 500,000 technology professionals and ask your questions.