<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Answers to: Problem while accessing an IBM Informix DB</title><link>https://answers.axonivy.com/questions/1788/problem-while-accessing-an-ibm-informix-db</link><description>&lt;p&gt;I have connected an IBM Informix DB to my IVY Designer (6.1.0). Within the Database Configuration Editor I'm able to execute a simple query (see image 1).&lt;img alt="alt text" src="http://answers.axonivy.com/upfiles/1.PNG"&gt;
But as soon I try to do the same within a database step (without mapping something to the Ivy DATA), I'll get an error (see image 2) &lt;img alt="alt text" src="http://answers.axonivy.com/upfiles/2.PNG"&gt; Does anybody has an idea how to fix it?&lt;/p&gt;</description><atom:link href="https://answers.axonivy.com/questions/1788/problem-while-accessing-an-ibm-informix-db" rel="self"></atom:link><language>en</language><lastBuildDate>Wed, 01 Jun 2016 13:31:04 -0400</lastBuildDate><item><title>Answer by Reguel Wermelinger</title><link>https://answers.axonivy.com/questions/1788/problem-while-accessing-an-ibm-informix-db/1789</link><description>&lt;p&gt;You can use "any other query" and within this query you directly need to cast the specifc INFORMIX types in types we can use. For example:
SELECT &lt;strong&gt;(bsk_nummer::DECIMAL)&lt;/strong&gt; bsk_nummer FROM bsk_kopf&lt;/p&gt;
&lt;p&gt;Anyways, I would be interesting to know why the DB Config Editor can execute the statement but the DB step not!?&lt;/p&gt;
&lt;hr&gt;
&lt;p&gt;Casts with Informix SQL
&lt;a href="http://stackoverflow.com/questions/178216/casting-in-informix"&gt;http://stackoverflow.com/questions/178216/casting-in-informix&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt="alt text" src="http://answers.axonivy.com/upfiles/dbActivity_otherQuery.png"&gt;&lt;img alt="alt text" src="http://answers.axonivy.com/upfiles/dbActivity_mapFromRecord.png"&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Reguel Wermelinger</dc:creator><pubDate>Wed, 01 Jun 2016 13:31:04 -0400</pubDate><guid>https://answers.axonivy.com/questions/1788/problem-while-accessing-an-ibm-informix-db/1789</guid></item></channel></rss>