otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


 Subscribe Blogs:RSS
 Subscribe Forums:RSS
OTMFAQ Home
OTMFAQ Blogs
OTMFAQ Forums
OTMFAQ Tutorials

OTM SIG
MavenWire

Go Back   Oracle OTM / G-Log GC3 Community Support > OTM / G-Log - Technical Topics > Database Administration
Reload this Page

[SCRIPT] Update Oracle Materialized View - update_oracle_mv.bat


Database Administration Database installation, creation, administration and related topics.

Tags: , ,

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old November 7th, 2007, 12:59
chrisplough's Avatar
Site Moderator
 
Join Date: Jun 2006
Location: West Chester, PA
Posts: 790
Blog Entries: 7
Thanks: 51
Thanked 194 Times in 119 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 10
chrisplough has a spectacular aura aboutchrisplough has a spectacular aura aboutchrisplough has a spectacular aura about
Send a message via AIM to chrisplough
[SCRIPT] Update Oracle Materialized View - update_oracle_mv.bat

All,

Here's a simple script that I use to quickly update materialized views within Oracle. You'll need to edit the script and update the connection parameters to work within your environment (username/password@otmdb).

Usage: mw-UpdateOracleMV.bat <mv_name>
where <mv_name> is the name of the materialized view that you'd like to update.

NOTE: There is one serious issue with this script - in that it keeps the Oracle username and password in clear-text, within the script. There are several ways around this, including passing them in as parameters instead. Please ensure that this meets the security requirements of your organization/environment before using.

File Download:
mw-UpdateOracleMV.bat.zip

Hope this helps!

--Chris
__________________
Chris Plough
MavenWire

www.MavenWire.com
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
View 3D Load Config sknmail@rediffmail.com Planning 2 July 22nd, 2008 16:33
OTM 5.5 - Unable to view Buy Shipments from Order Movements screen via smartlinks ianlo Order Processing 2 June 14th, 2007 01:34
[SCRIPT] Remote Restarts of OTM via RSH chrisplough SysAdmin and Management 1 June 12th, 2007 16:39
[SCRIPT] Remote Restart of OTM via SSH chrisplough SysAdmin and Management 0 June 12th, 2007 16:37
[SCRIPT] DB Usage - mw-dbusage.sql chrisplough Database Administration 2 May 15th, 2007 17:12



All times are GMT. The time now is 22:53.
Copyright © 2008, Open Book Solutions LLC. All rights reserved.

Sponsored by MavenWire - MavenWire.com


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37