Executing multi - statement query in one session
问题 I have asked this question and wanted to edit it , however StackOverflow for some reason did not allow me to edit . So here is the edited version For example a query : create volatile table testTable as (select * from ... blah blah) ; select top 10 * from testTable ; drop table testTable ; It executes perfect in sql assistance as one session. I am sure it is possible to execute it in Java in one session. Goal : need to execute it in one session similar to sql assistant so that it is possible