Function myFunction( myInt int? inOut )
;
end
Function myFunction ( myInt int inOut sqlNullable )
;
end
When the modifier sqlNullable is in place, the input argument can be a null, the parameter can be set to null in the function, and the parameter can return a null. The business data in the parameter is preceded with four bytes, as described in “SQL record internals.”
The modifier sqlNullable allows for a loose type conversion when the function is being invoked with a variable that does not accept a null.