execute-immediate Questions
3
Solved
I want to assign a value to a rowtype's field but I don't know how to do it.
Suppose that I have a table X inside my database.
Suppose also that I have the following variables
a ( X%ROWTYPE ), ...
Goldie asked 6/2, 2014 at 15:39
0
When I execute stored procedure which contain EXECUTE IMMEDIATE along with create table statement inside the stored procedure then getting error while execute this stored procedure.
Here is ...
Rashid asked 17/7, 2019 at 7:0
4
I have a problem where I am creating a table using the execute immediate command in the stored procedure. However I get the error of "insufficient privileges". I checked other threads and made sure...
Fungi asked 18/11, 2015 at 7:2
5
Solved
I have a question regarding where bind variables can be used in a dynamic SQL statement in PL/SQL.
For example, I know that this is valid:
CREATE OR REPLACE FUNCTION get_num_of_employees (p_loc V...
Lawana asked 19/10, 2011 at 4:2
1
Solved
I've been going over some PL/SQL (In Oracle SQL Developer), and have seen several different formats of SQL being called.
For the consistency and speed of current and future code, I'd like to know ...
Spratt asked 1/5, 2015 at 5:52
1
Solved
I am trying to execute an SQL command within dynamic SQL with bind variables:
-- this procedure is a part of PL/SQL package Test_Pkg
PROCEDURE Set_Nls_Calendar(calendar_ IN VARCHAR2)
IS
BEGIN
EXE...
Fye asked 25/8, 2014 at 15:10
1
Solved
What does := mean in oracle when we use it
Please give me some demonstrations...
and also how do we usually use a dynamic query in a stored procedure in oracle...
Inainability asked 6/8, 2013 at 12:43
1
Solved
I'm trying to get this dynamic SQL running ( using EXECUTE IMMEDIATE)
M_SQL_STATEMENT := 'SELECT MAX(:m_var1)+1 from :m_var2 RETURNING MAX(:m_var1)+1 INTO :m_var3';
EXECUTE IMMEDIATE M_SQL_STATEM...
Standoff asked 10/3, 2011 at 12:39
1
© 2022 - 2024 — McMap. All rights reserved.