Ok, the problem is not the datatype number. The problem is the tableName parameter.
Because it is of type Text tersus surrounds it with single quotes and this leads to a sql syntax error.
So I have to build the <SQL Statement>-Text first "by hand"?
For best results, use the Firefox browser..