Focal Point Banner


As of December 1, 2020, Focal Point is retired and repurposed as a reference repository. We value the wealth of knowledge that's been shared here over the years. You'll continue to have access to this treasure trove of knowledge, for search purposes only. Moving forward, myibi is our community platform to learn, share, and collaborate. We have the same Focal Point forum categories in myibi, so you can continue to have all new conversations there. If you need access to myibi, contact us at myibi@ibi.com and provide your corporate email address, company, and name.


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

Read-Only Read-Only Topic
Go
Search
Notify
Tools
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, 2007Report 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: 1948 | Location: New York | Registered: November 16, 2004Report This Post
  Powered by Social Strata  

Read-Only Read-Only Topic

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

Copyright © 1996-2020 Information Builders