User Defined Functions

Advantage Database Server v8.1: A Developer’s Guide

by Cary Jensen and Loy Anderson

  © 2007 Cary Jensen and Loy Anderson. All rights reserved.

  Previous topic Next topic  

User defined functions are reusable routines that you write in SQL. Once you have defined a user defined function, it can be used just like a SQL scalar function.

User defined functions return a value. That value can be used in any expression that supports data of that type returned by your user defined function. Creating and using user defined functions is described in Chapter 13.