I have a request that includes a variable. But when executing the query, it does not display the result. I don't see the details of the error. What's wrong with the request?
DECLARE SQL_TEXT VARCHAR(3000);
DECLARE NumberInst VARCHAR(100);
SET NumberInst = '108';
SET SQL_TEXT = 'SELECT TOP 10 * FROM NRT_'||NumberInst||_'db_tmp.table_list';
CALL dbc.SysExecSQL(:SQL_TEXT);