Top "Execute-immediate" questions

An Oracle statement to execute a dynamic query or anonymous PL/SQL block.

Using bind variables with dynamic SELECT INTO clause in PL/SQL

I have a question regarding where bind variables can be used in a dynamic SQL statement in PL/SQL. For …

sql oracle plsql oracle11g execute-immediate
PL/SQL EXECUTE IMMEDIATE inside LOOP (procedure to truncate all tables in schema)

I need to create procedure which will delete all data from tables in one schema. I try something like that …

oracle plsql procedure execute-immediate
Ref cursor with Execute immediate

I want to get the results in ref_cursor, but I am not able to do that. Please suggest me …

sql oracle plsql sys-refcursor execute-immediate
Execute Immediate fails even with CREATE table grant

I have a problem where I am creating a table using the execute immediate command in the stored procedure. However …

oracle plsql oracle11g grant execute-immediate
What does := mean in oracle when we use it

What does := mean in oracle when we use it Please give me some demonstrations... and also how do we usually …

oracle execute-immediate colon-equals
EXECUTE IMMEDIATE with multiple lines of columns to insert

just want to get an idea if this is the correct way to do an EXECUTE IMMEDIATE with multiple columns …

plsql insert concatenation execute-immediate
Why cannot I use bind variables in DDL/SCL statements in dynamic SQL?

I am trying to execute an SQL command within dynamic SQL with bind variables: -- this procedure is a part …

oracle plsql dynamic-sql execute-immediate
Difference between EXEC_SQL, EXECUTE IMMEDIATE, DBMS_SQL and inline SQL

I've been going over some PL/SQL (In Oracle SQL Developer), and have seen several different formats of SQL being …

oracle plsql oracle-sqldeveloper execute-immediate
execute immediate truncate table in sqlplus

Why does execute immediate 'truncate table trade_economics'; in a sqlplus script give the following error ? BEGIN immediate 'truncate table …

sqlplus truncate execute-immediate
PL/SQL - execute immediate in pipelined function

I want to execute dynamic query in my pipelined function and return results of this query. Is it possible to …

oracle plsql execute-immediate pipelined-function