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 Query problem

Post new topic  Reply to topic
 Database Query problem « View previous topic :: View next topic » 
Author Message
WBI_developer
PostPosted: Fri Jun 11, 2004 2:51 pm    Post subject: Database Query problem Reply with quote

Apprentice

Joined: 02 Jun 2004
Posts: 25

Hi,
I am using WBI MB on Windows XP and have created broker on it. I need to access a remote SQL 2000 database which is on Windows2000 and retrive some data from it. I dont know where I have a mistake but the toolkit says that it is unable to resolve Database table reference. My SELECT statement is

SET OutputRoot.XML.Data.Results[] = SELECT T.* from Database.ctd.Customertable;

The warning that I get is unable to resolve Database table. Even if I deploy also it doesn't get deployed. The log says that the message flow is improper.

I have run this query from .net environment and it ran well. The query that I can in .net is

SELECT dbo.FirstName from ctd.Customertable;

Can somebody tell me where I am making a mistake. Thank you very much.

-Rupesh
Back to top
View user's profile Send private message
WBI_developer
PostPosted: Fri Jun 11, 2004 2:54 pm    Post subject: Reply with quote

Apprentice

Joined: 02 Jun 2004
Posts: 25

Sorry in the ESQL statement I wrote above I missed the last word that I wrote. The complete statement

SET OutputRoot.XML.Data.Results[] = SELECT T.* from Database.ctd.Customertable as T;
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 Query problem
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.