A Java class whose methods illustrate uses of the SQLJ feature of ASE 12.5.
The methods are referenced with example SQLJ
create function and create procedure commands.
- The region and correctStates methods
are used for simple SQLJ create function and create procedure commands.
- The bestTwoEmps method is used
for an SQLJ create procedure with output parameter values.
- The orderedEmps method is used
for an SQLJ create procedure that returns an SQL result set.
- The job method is used
for an SQLJ create function that illustrates the null on null input clause.