otmfaqForumsBlogsRegister
FAQMembers ListCalendarToday's PostsSearch


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

OTM SIG
MavenWire


Installation and Upgrades Getting past the first step - installing and upgrading OTM / G-Log.

Tags:

Reply
 
Submit Tools LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old April 24th, 2008, 19:06
Junior Member
 
Join Date: Dec 2007
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Groans: 1
Groaned at 0 Times in 0 Posts
Rep Power: 0
cmcintos is on a distinguished road
removing saved queries

Hi we upgrade our test environment from 4.0 to 5.5 finally and found several saved queries are now broken. We want to remove them completely but can't through the UI due to getting null pointer exception.

I am wanting to SQL delete out the problem saved queries but am missing the core tables. Can anyone direct me at finding them?
I know about these.
SAVED_QUERY,
SAVED_QUERY_VALUES,
SAVED_QUERY_SORT
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old April 28th, 2008, 00:32
Member
 
Join Date: Dec 2007
Posts: 65
Thanks: 5
Thanked 10 Times in 10 Posts
Groans: 1
Groaned at 1 Time in 1 Post
Rep Power: 1
james_foran is on a distinguished road
Re: removing saved queries

When we upgraded from 4.0 to 5.0, we had a lot of issues with Saved Queries. They were no longer working as expected in Business Monitors, and not appearing in Screen Sets as we were expecting.

I found that it was an issue with the QUERY_NAME. They were changed as part of the upgrade. We had to revert to old Query names (glog.webserver.finder.models.ShipmentBuyFinderMode l changed to glog.server.query.shipment.BuyShipmentQuery
)...

Dont know if this is causing your issue, but I thought it might help with your investigation.

Cheers,

James Foran
Toll Solutions
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old April 28th, 2008, 19:17
Member
 
Join Date: Oct 2007
Posts: 45
Thanks: 2
Thanked 3 Times in 3 Posts
Groans: 0
Groaned at 0 Times in 0 Posts
Rep Power: 0
neoandr is on a distinguished road
Re: removing saved queries

Quote:
Originally Posted by cmcintos View Post
Hi we upgrade our test environment from 4.0 to 5.5 finally and found several saved queries are now broken. We want to remove them completely but can't through the UI due to getting null pointer exception.

I am wanting to SQL delete out the problem saved queries but am missing the core tables. Can anyone direct me at finding them?
I know about these.
SAVED_QUERY,
SAVED_QUERY_VALUES,
SAVED_QUERY_SORT
I generally use a query to find out the constraints related to the main table. For eg. Saved Query is the main table then execute following query

select * from user_constraints where table_name like '%SAVED%'

then i will look into constraint_type 'R' means - refers another table's column.. So you can track these constraints and find out those tables (child tables) that are referring to it which makes your deletion simpler.. Even it gives you more knowledge about hw the tables are being linked apart from functional knowledge.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old April 29th, 2008, 21:59
Junior Member
 
Join Date: Dec 2007
Posts: 14
Thanks: 2
Thanked 0 Times in 0 Posts
Groans: 1
Groaned at 0 Times in 0 Posts
Rep Power: 0
cmcintos is on a distinguished road
Re: removing saved queries

Thanks.

These are saved queries I just want to delete but can't through the UI. I've been going the sql delete route and the tip on the contraints is helpful.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old April 30th, 2008, 00:20
Member
 
Join Date: Dec 2007
Posts: 65
Thanks: 5
Thanked 10 Times in 10 Posts
Groans: 1
Groaned at 1 Time in 1 Post
Rep Power: 1
james_foran is on a distinguished road
Re: removing saved queries

For sure. My response was more into why the saved queries are not working, not how to delete them.

Best of luck
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
saved query nikesh mohanlal Database Administration 0 February 28th, 2008 14:38
riq-saved query rj5316 Rating 1 December 14th, 2007 18:09
[SOLVED] Helpful DBA SQL Queries - Current Processes, Pig SQL chrisplough Database Administration 0 October 26th, 2007 00:51



All times are GMT. The time now is 21:48.
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