Advertisement
Guest User

output

a guest
May 8th, 2019
17
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
T-SQL 0.23 KB | None | 0 0
  1. 1> CREATE FUNCTION dbo.TestFunction (@Int INT)
  2. 2> RETURNS INT
  3. 3> AS
  4. 4> BEGIN
  5. 5> SET @Int = @Int + 5
  6. 6> RETURN @Int
  7. 7> END
  8. 8> GO
  9. 1> SELECT dbo.TestFunction(5)
  10. 2> GO
  11.            
  12. -----------
  13.          10
  14.  
  15. (1 rows affected)
  16. 1>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement