Re: Variable Table name in Stored Procedure issue
Posted by:
A G
Date: March 10, 2012 04:11AM
Hi Irek,
Firstly, thank you for reading.
I like the method you have mentioned.
However, upon thinking a little, I got to a simple way.
Option 4)
I created a new table name from the incoming unique table name
I then converted all the functions into stored procedures.
The new stored procedure accepts this new table name as an IN param.
These new stored procedures allow dynamic sqls, so changed the hardcoding in the accessing of the variables to dynamic (as compared to the prev. code)
So, in summary, I converted the functions to stored procedures.
Seems to be working as of now. Please feel free to point out any flaw in this method.
Thanks for reading,
Amit
Subject
Views
Written By
Posted
3961
March 08, 2012 11:18PM
1654
March 09, 2012 11:25AM
Re: Variable Table name in Stored Procedure issue
2024
March 10, 2012 04:11AM
1407
March 10, 2012 06:22PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.