Цитата:
Изначально опубликовано EVGL
После же tmpTable1.setTmpData(tmpTable2) переменная tmpTable1 остается отдельным курсором, но запрашивающим тот же блок данных (по-видимому, тот же файл на диске), что и tmpTable2.
Они будут работать в одной области видимости (scope) временных данных.
См документацию. Ключевое слово "Temporary tables"
Temporary tables are declared just like any other variable, and have the following characteristics:- They do not contain any data when they are first created
- They obey normal scoping rules, that is, their scope is determined by where they are declared
- They are automatically deleted by MorphX when they go out of scope
- Temporary tables are not persistent. They are written to local disk storage but not stored in the database