Report question

Question: How do I create a SQL Server function to return an int?