trouble shooting cloudscape for WPS5.1
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > WebSphere > WebSphere Portal Server > trouble shooting cloudscape for WPS5.1




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    trouble shooting cloudscape for WPS5.1  
bnaha


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-18-05 07:49 AM

My cloudscape database is perhaps corrupted.I download some fixes and one th
em needs the following query to be executed.

Execute the statement
UPDATE @DbUser@.COMP_INST AS a SET a.SHADOW_OID = (SELECT b.SHADOW_OID FROM 
@DbUser@.COMP_INST AS b WHERE b.OID = a.SHADOW_OID) WHERE a.SHADOW_OID IN (S
ELECT c.OID FROM @DbUser@.COMP_INST AS c WHERE c.SHADOW_OID IS NOT NULL)
as long as the next select statement returns a value greater than 0:
SELECT COUNT(a.OID) FROM @DbUser@.COMP_INST AS a, @DbUser@.COMP_INST AS b WH
ERE a.SHADOW_OID IS NOT NULL AND a.OID = b.SHADOW_OID

2. Execute this statement:
DELETE FROM @DbUser@.COMP_INST AS a WHERE a.SHADOW_OID IS NOT NULL AND a.OID
 < (SELECT MAX(b.OID) FROM @DbUser@.COMP_INST AS b WHERE b.SHADOW_OID = a.SH
ADOW_OID)

Problem is these queries are not getting executed giving a funny error "As" 
encountered which is definately a valid sql syntax.

My questions are two. In respect to the above query how do i solve it?
Secondly is there anyother cloudscape script which can get my WPS configurat
ion to its original state?





[ Post a follow-up to this message ]



    Re: trouble shooting cloudscape for WPS5.1  
Craig Yerger


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
11-22-05 10:58 PM

Running the command with @DBUser@... will not work.  See this technote for instructions
....  http://www-1.ibm.com/support/docvie...uid=swg21221049





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 09:54 PM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register