Hi All,
I have a variable which stores the table name.
i.e
[code=oracle]
DECLARE
V_TEMP VARCHAR2(10) := 'EMP';
BEGIN
SELECT * FROM V_TEMP;
END;
[/code]
BUT I am getting the error like V_TEMP is not the table name.
How can I access the value of the V_TEMP value?
First of all Is It acceptable or not?
please help me.
Thankyou.
I have a variable which stores the table name.
i.e
[code=oracle]
DECLARE
V_TEMP VARCHAR2(10) := 'EMP';
BEGIN
SELECT * FROM V_TEMP;
END;
[/code]
BUT I am getting the error like V_TEMP is not the table name.
How can I access the value of the V_TEMP value?
First of all Is It acceptable or not?
please help me.
Thankyou.
Comment