execute-immediate

How do I debug Oracle dynamic sql in sqlplus?

I have a PL/SQL statement that uses EXECUTE IMMEDIATE to execute a query. However, I'm having difficulty figuring out how to even get the text of the query that's being executed. I can't use dbms_output as the query is greater than 255 characters. Is there any way to make sqlplus echo the string that's passed in to EXECUTE IMMEDIATE? ...

Oracle EXECUTE IMMEDIATE changes explain plan of query.

I have a stored procedure that I am calling using EXECUTE IMMEDIATE. The issue that I am facing is that the explain plan is different when I call the procedure directly vs when I use EXECUTE IMMEDIATE to call the procedure. This is causing the execution time to increase 5x. The main difference between the plans is that when I use exec...

The passed entity bound to my BindingSource is updated in realtime, how can I prevent that?

Hello, I have a Mainform + smallDialog. scenario: The Mainform has a datagrid with entities bound. The smallDialog updates the entity double-clicked-on-the-datagrid-in-Mainform wich is passed to the smallDialog and bound there again to a bindingsource. When I change now some data in the textfiels AND leave the textfield so the focus...