Unix Technical Forum

calling a SP after materialized view refresh

This is a discussion on calling a SP after materialized view refresh within the Oracle Miscellaneous forums, part of the Oracle Database category; --> Hi can any one tell me how can i call a Stored procedure after materialized view refreshes itself autometically ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database > Oracle Miscellaneous

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-08-2008, 11:57 AM
uday
 
Posts: n/a
Default calling a SP after materialized view refresh

Hi
can any one tell me how can i call a Stored procedure after
materialized view refreshes itself autometically {the next refresh
attribute is given to next day}


regards
uday

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 04-08-2008, 11:58 AM
Frank van Bortel
 
Posts: n/a
Default Re: calling a SP after materialized view refresh

uday schreef:
> Hi
> can any one tell me how can i call a Stored procedure after
> materialized view refreshes itself autometically {the next refresh
> attribute is given to next day}
>
>
> regards
> uday
>

Don't understand the question, I'm afraid - one has
nothing to do with the other.
Fact you assume it does, makes me doubt whether I understand
what you are trying to ask.

From SQL*Plus:
define output
exec my_proc(input1 => value, input2 => 'string', output)

That is actually a shortcut for:
declare
output variable_type;
begin
my_proc(input1 => value, input2 => 'string', output);
end;
/

--
Regards,
Frank van Bortel

Top-posting is one way to shut me up...
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 04-08-2008, 11:58 AM
uday
 
Posts: n/a
Default Re: calling a SP after materialized view refresh


actully i had a scenereo where i need to populate a temp. table just
after the materialized view refreshes it self.

for which the logic was so comples that can-not be expressed in a
single select statement, every tuple has to be calculated then
inserted, i did this by a procedure, now i want to call this just after
the M-View gets refreshed.

though i have other options, like seeting a job scheduler either at the
db server or the app server.

thanks for ur response

uday

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 04-08-2008, 11:58 AM
uday
 
Posts: n/a
Default Re: calling a SP after materialized view refresh


Frank van Bortel wrote:
> uday schreef:
> > Hi
> > can any one tell me how can i call a Stored procedure after
> > materialized view refreshes itself autometically {the next refresh
> > attribute is given to next day}
> >
> >
> > regards
> > uday
> >

> Don't understand the question, I'm afraid - one has
> nothing to do with the other.
> Fact you assume it does, makes me doubt whether I understand
> what you are trying to ask.
>
> From SQL*Plus:
> define output
> exec my_proc(input1 => value, input2 => 'string', output)
>
> That is actually a shortcut for:
> declare
> output variable_type;
> begin
> my_proc(input1 => value, input2 => 'string', output);
> end;
> /
>
> --
> Regards,
> Frank van Bortel
>
> Top-posting is one way to shut me up...


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 12:18 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com