Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

stored procedure to update materialized view 1

Status
Not open for further replies.

mikedaruke

Technical User
Mar 14, 2005
199
US
Can someone write me a stored procedure that updates a materialized view? Reason is I am trying to use perl to update the view, via cron, and it gives me errors, so I am thinking maybe just running a stored procedure to update it.

Any ideas?
 
Mike said:
Can someone write me a stored procedure that updates a materialized view?
Yes, I'm sure someone can <grin>.


But how about you take a stab at it first and then post the code here. We'll be happy to help on that basis.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
 
Some kindly person in Oracle already did this for you. Try dbms_mview.refresh.
 
I liiiiiiiike it! Hava
star.gif
, Dagon, for not only helping out Mike, but showing me something that I didn't know was there.

[santa]Mufasa
(aka Dave of Sandy, Utah, USA)
[I provide low-cost, remote Database Administration services: www.dasages.com]
Deuparth gwaith yw ei ddechrau.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top