Table 32. User-Defined Function Sample programs
Sample Program Name | Program Description |
---|---|
DB2Udf.java
| A Java UDF that demonstrates several tasks, including integer division, manipulation of Character Large Objects (CLOBs), and the use of Java instance variables. |
tblsrv.c
| Demonstrates a table function (server-side) that processes weather information for a number of cities. |
udf.c
| Creates a library of User-Defined Functions (UDFs) made specifically for the sample database tables, but can be used with tables of compatible column types. |
UDFsrv.java
| Demonstrates the use of Java User-Defined Functions (UDFs). |