SQL Carriage Return in a Host language
In SQL, the carriage return is coded by chr(13),
and the concatenation operator by || ...
But in your case, SQL is used as an "embedded language",
in the "Host language", you have to build a string which looks like :
control = " 'test' || chr(10) ||...