SELECT "Value" INTO datasetSchema FROM :configuration WHERE "Key"='Schema';
SELECT "Value" INTO datasetName FROM :configuration WHERE "Key"='Name';
-- then select this data
datasetFull := '"' || :datasetSchema || '"."' || :datasetName || '"';
EXEC 'CREATE LOCAL TEMPORARY TABLE #data LIKE ' || datasetFull;
EXEC 'INSERT INTO #data SELECT * FROM ' || datasetFull;