Nonstop Database, HiRDB Version 9 UAP Development Guide

[Contents][Index][Back][Next]

10.2.4 Executing the external C stored routine

You use the CALL statement or a function call to execute an external C stored routine. When the CALL statement or an SQL statement specifying a function call executes, the C function is called as the external C stored routine and executed on the server machine.

For details about the CALL statement and function calls, see the HiRDB Version 9 SQL Reference manual.

The following figure shows an example of executing an external C stored routine.

Figure 10-8 Example of external C stored routine execution

[Figure]