Adaptive Server functions are Transact-SQL routines that return information from the database or the system tables. Adaptive Server provides a set of built-in functions. In addition, you can use the create function command to create Transact-SQL and SQLJ functions.
See the Reference Manual:Building Blocks for a complete list and description of the built-in functions. See the Reference Manual:Commands for information about the create function commands.