A user-defined function can be used, subject to permissions,
in any place you would use a built-in nonaggregate function.
Sybase IQ example
Note: For examples, use the Sybase IQ demo database iqdemo.db.
SELECT fullname (GivenName, SurName)FROM Employees;
fullname (GivenName, SurName)
Fran Whitney Matthew Cobb Philip Chin...