A more complex mechanism is available to call BASIC subroutines when longer parameter lengths or parameters containing spaces are required. This mechanism utilizes an SQL INSERT statement to set up the input arguments followed by a SELECT statement to return the results.