Focal Point Banner
Community Center Education Summit Technical Support User Groups
Let's Get Social!

Facebook Twitter LinkedIn YouTube
Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    iSM Microsoft Access target problem
Go
New
Search
Notify
Tools
Reply
  
iSM Microsoft Access target problem
 Login/Join
 
Platinum Member
posted
I have created an Access target in iWay Service Manager 6. I then create a statement which is a select on a table named "My_Table". When I do a Test Run, it gives me an error b/c it's converting the table name to My Table. The iwaf operation is:

select from My Table

I tried using [] and "" around the table name but no luck. How can I fix this?


Thanks.

Mark
WF 7.6 Windows
 
Posts: 150 | Registered: July 26, 2007Reply With QuoteReport This Post
Expert
posted Hide Post
Hi Mark,

Per our iWay technicals:

If I use the same statement:
SELECT FROM My_Table

Which is not specifying what to select, I get the following error message:

com ibi rdbms exceptions RDBMSException com microsoft sqlserver jdbc SQLServerException Incorrect syntax near the keyword FROM

The correct syntax is “SELECT * FROM My_Table”; don’t forget the star or a specific column name to retrieve...FYI I have created an “Adapter” target to my database server, created a prepared statement to select all rows on the table My_Table and used the “Test Run” option to test the prepared statement. The “SQL Code” of the prepared statement is:

SELECT * FROM My_Table

And it returns all the rows.


Cheers,

Kerry


Kerry Zhan
Focal Point Moderator
Information Builders, Inc.
 
Posts: 1950 | Location: New York | Registered: November 16, 2004Reply With QuoteReport This Post
  Powered by Social Strata  
 

Focal Point    Focal Point Forums  Hop To Forum Categories  iWay Software Product Forum on Focal Point    iSM Microsoft Access target problem

Copyright © 1996-2018 Information Builders, leaders in enterprise business intelligence.