INSERT v13
The INSERT
command available in the SQL language can also be used in SPL programs.
An expression in the SPL language can be used wherever an expression is allowed in the SQL INSERT
command. Thus, SPL variables and parameters can be used to supply values to the insert operation.
The following is an example of a procedure that performs an insert of a new employee using data passed from a calling program.