The EXECUTE IMMEDIATE statement allows statements to be built up inside procedures using a combination of literal strings (in quotes) and variables.
See ”Using the EXECUTE IMMEDIATE statement in procedures” in SQL Anywhere Server - SQL Usage.