Asynchrony call procedure PL/SQL [message #195249] |
Wed, 27 September 2006 10:21 |
ibrnadic
Messages: 1 Registered: September 2006
|
Junior Member |
|
|
Hi,
My question is in subject this e-mail. I have to call procedure from my main procedure, but this sub procedure has been working asynchrony, something like as threading.
Reason, I would like this situation because sub procedure work a batch job.
Thanks
|
|
|
|
|
|
Re: Asynchrony call procedure PL/SQL [message #202768 is a reply to message #201985] |
Sun, 12 November 2006 03:16 |
yuvallavi
Messages: 2 Registered: November 2006
|
Junior Member |
|
|
Thanks
Yes I can add the identifier but this will cancel the idea of working with temporary tables,
I can just rebuild the tables as regular tables.
I use the temp tables for security issues, after I login to my application I populate the temp tables with the items the current user can see,
All my views are link to those temp tables and this way I have “population privilege” .
If I will change it to regular tables I will have to use PL/SQL syntax in my view, and as I understand this will give me bad performers.
Is there a better way?
Thanks
|
|
|
Re: Asynchrony call procedure PL/SQL [message #202847 is a reply to message #202768] |
Mon, 13 November 2006 01:09 |
Frank
Messages: 7901 Registered: March 2000
|
Senior Member |
|
|
Quote: | I use the temp tables for security issues [...] If I will change it to regular tables I will have to use PL/SQL syntax in my view, and as I understand this will give me bad performers.
|
A couple of things here:
First you say you use temporary tables for security issues, followed by an explanation that has nothing to do with security.
Then you say you need PL/SQL if you'd use regular tables instead of Global Temporary tables, which (to me) doesn't make sense.
And finally you say that using PL/SQL will give bad performance, which is not necessarily so, especially if PL/SQL gets you what you want and not using PL/SQL does not...
So please take back one or two steps and explain what exactly it is you are doing and what you want to achieve.
|
|
|