in that case I get the error below.
I tried the same query on SqlServer, it works fine.
itgenase302: Data reader not set.
Message ID: 64672898-e79c-4488-8d78-f65e51382cf9Occurred (UTC): 04/01/2023 12:28:55Declare l_value varchar2;begin execute native âSELECT MAX(ID) FROM tbllogâ into l_value DATACONTAINER âcatserverâ ; dbms_output.put_line('Value: â || l_value);end;ValidationException Ă Invantive.Basics.ValidationExceptionâŠctor(GlobalState owner, ExecutionOptions executionOptions, String messageCode, String errorMessage, String kindRequest, String localStackTrace, String nk, Exception innerException, Boolean inheritMessageCodeWhenPresent, Nullable1 uid, Boolean isRecoverable, String poolIdentityId, String url) Ă Invantive.Data.AnsiSqlProviderBase.PassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String loggingTableName) Ă Invantive.Sql.V1.PSqlParser.PassthroughSqlActionTableNative(GlobalState owner, ExecutionOptions executionOptions, IProviderManager manager, String sqlStatement, IDataProvider provider, ParameterList parameters, ISparseArray variablesRow, DatabaseColumn[] variablesInScope, DatabaseColumn[] intoVariables) Ă LambaExecutePSqlTree42(Closure , GlobalState , ExecutionOptions , IQueryStatePerExecution , ISparseArray , ISparseArray ) Ă Invantive.Sql.V1.PSqlStatementTree.<Fetch>d__29.MoveNext() Ă Invantive.Data.CompressedEnumerable
1.d__10.MoveNext() Ă Invantive.Sql.V1.FirehoseResultSet.CX.MoveNext() Ă Invantive.Sql.V1.QueryPlan.WW.MoveNext() Ă Invantive.Data.ExtensionMethods.STR1.KTR.MoveNext() Ă System.Collections.Generic.List
1âŠctor(IEnumerable1 collection) Ă System.Linq.Enumerable.ToList[TSource](IEnumerable
1 source) Ă Invantive.Data.ConnectionManager.EG.L(QueryPlan ) Ă System.Linq.Enumerable.WhereSelectArrayIterator2.MoveNext() Ă System.Linq.Buffer
1âŠctor(IEnumerable1 source) Ă System.Linq.Enumerable.ToArray[TSource](IEnumerable
1 source) Ă Invantive.Data.ConnectionManager.ExecuteAndCombineQueryPlansV1(GlobalState owner, ExecutionOptions executionOptions, QueryPlan queryPlans, String sqlStatement, ParameterList parameters) Ă Invantive.Data.ConnectionManager.ExecuteProviderPassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String callSafeNameOverrule) Ă Invantive.Data.ConnectionManager.PassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String callSafeNameOverrule) Ă Invantive.Data.ActionProceduresBase.PassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters) Ă Invantive.Producer.Windows.Forms.QueryToolResults.AZQ(GlobalState , ExecutionOptions , IProgressNotifier , String , ParameterList , Boolean , Boolean , Boolean , Boolean ) Ă Invantive.Producer.Windows.Forms.QueryToolResults.UZQ(GlobalState , ExecutionOptions , String , ParameterList ) Ă Invantive.Producer.Windows.Forms.QueryToolResults.OB.G() Ă System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) Ă System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) Ă System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) Ă System.Threading.ThreadHelper.ThreadStart() Ă Invantive.Data.AnsiSqlProviderBase.PassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String loggingTableName)â Fin de la trace de la pile Ă partir de lâemplacement prĂ©cĂ©dent au niveau duquel lâexception a Ă©tĂ© levĂ©e â Ă System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() Ă Invantive.Data.AnsiSqlProviderBase.PassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String loggingTableName) Ă Invantive.Sql.V1.PSqlParser.PassthroughSqlActionTableNative(GlobalState owner, ExecutionOptions executionOptions, IProviderManager manager, String sqlStatement, IDataProvider provider, ParameterList parameters, ISparseArray variablesRow, DatabaseColumn variablesInScope, DatabaseColumn intoVariables) Ă LambaExecutePSqlTree42(Closure , GlobalState , ExecutionOptions , IQueryStatePerExecution , ISparseArray , ISparseArray ) Ă Invantive.Sql.V1.PSqlStatementTree.d__29.MoveNext() Ă Invantive.Data.CompressedEnumerable1.<GetEnumerator>d__10.MoveNext() Ă Invantive.Sql.V1.FirehoseResultSet.CX.MoveNext() Ă Invantive.Sql.V1.QueryPlan.WW.MoveNext() Ă Invantive.Data.ExtensionMethods.STR
1.KTR.MoveNext() Ă System.Collections.Generic.List1..ctor(IEnumerable
1 collection) Ă System.Linq.Enumerable.ToList[TSource](IEnumerable1 source) Ă Invantive.Data.ConnectionManager.EG.L(QueryPlan ) Ă System.Linq.Enumerable.WhereSelectArrayIterator
2.MoveNext() Ă System.Linq.Buffer1..ctor(IEnumerable
1 source) Ă System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source) Ă Invantive.Data.ConnectionManager.ExecuteAndCombineQueryPlansV1(GlobalState owner, ExecutionOptions executionOptions, QueryPlan queryPlans, String sqlStatement, ParameterList parameters) Ă Invantive.Data.ConnectionManager.ExecuteProviderPassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String callSafeNameOverrule)â Fin de la trace de la pile Ă partir de lâemplacement prĂ©cĂ©dent au niveau duquel lâexception a Ă©tĂ© levĂ©e â Ă System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() Ă Invantive.Data.ConnectionManager.ExecuteProviderPassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String callSafeNameOverrule) Ă Invantive.Data.ConnectionManager.PassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String callSafeNameOverrule)â Fin de la trace de la pile Ă partir de lâemplacement prĂ©cĂ©dent au niveau duquel lâexception a Ă©tĂ© levĂ©e â Ă System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() Ă Invantive.Data.ConnectionManager.PassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters, String callSafeNameOverrule) Ă Invantive.Data.ActionProceduresBase.PassthroughSqlActionTable(GlobalState owner, ExecutionOptions executionOptions, String actionSql, ParameterList parameters) Ă Invantive.Producer.Windows.Forms.QueryToolResults.AZQ(GlobalState , ExecutionOptions , IProgressNotifier , String , ParameterList , Boolean , Boolean , Boolean , Boolean ) dans c:\smoke\ws-22.0\Invantive.Producer\src\Invantive.Producer.Windows.Forms\QueryTool\QueryToolTraceViewModel.cs:ligne 17 Ă Invantive.Producer.Windows.Forms.QueryToolResults.UZQ(GlobalState , ExecutionOptions , String , ParameterList ) dans c:\smoke\ws-22.0\Invantive.Producer\src\Invantive.Producer.Windows.Forms\QueryTool\QueryToolDbmsOutputViewModel.cs:ligne 135