CREATE FUNCTION and ALTER FUNCTION now permit Transact-SQL syntax

You can now create user-defined functions in the Transact-SQL dialect that return a scalar value to the calling environment. CIS functional compensation performance considerations apply to all user-defined functions. For more information see CREATE FUNCTION statement in Sybase IQ Reference Manual, or ALTER FUNCTION in Adaptive Server Anywhere SQL Reference.