ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Database Node : UPDATE query..

Post new topic  Reply to topic
 Database Node : UPDATE query.. « View previous topic :: View next topic » 
Author Message
Jithesh shetty
PostPosted: Tue Nov 27, 2007 11:01 pm    Post subject: Database Node : UPDATE query.. Reply with quote

Acolyte

Joined: 30 Oct 2007
Posts: 51

hi,

i'm using the Database Node to UPDATE the values in a table...

Declare i integer;
SET i = THE(select max(S.AUDIT_SEQ_NO) from Database.VMI_AUDIT_LOGS as S);

UPDATE Database.VMI_AUDIT_LOGS SET PRCS_START_DT = CURRENT_DATE, PRCS_START_TIME = CURRENT_TIME WHERE AUDIT_SEQ_NO = i;

its not inserting the value..when i am deploying message flow i got
"The correlation name 'AUDIT_SEQ_NO' is not valid" error....

Please anyone help in this...........
Back to top
View user's profile Send private message
Gaya3
PostPosted: Tue Nov 27, 2007 11:08 pm    Post subject: Reply with quote

Jedi

Joined: 12 Sep 2006
Posts: 2493
Location: Boston, US

Hi Jithesh shetty

Are you getting any value for the Variable i (check this first)

Regards
Gayathri
_________________
Regards
Gayathri
-----------------------------------------------
Do Something Before you Die
Back to top
View user's profile Send private message
Jithesh shetty
PostPosted: Tue Nov 27, 2007 11:20 pm    Post subject: Database Node : UPDATE query.. Reply with quote

Acolyte

Joined: 30 Oct 2007
Posts: 51

Thank u.....i got the answer.....

Declare i integer;
SET i = THE(select max(S.AUDIT_SEQ_NO) from Database.VMI_AUDIT_LOGS as S);

UPDATE Database.VMI_AUDIT_LOGS as V SET PRCS_START_DT = CURRENT_DATE, PRCS_START_TIME = CURRENT_TIME WHERE V.AUDIT_SEQ_NO = i;
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Database Node : UPDATE query..
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.