<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>IT Answers &#187; OCIStmtExecute</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/tag/ocistmtexecute/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers</link>
	<description></description>
	<lastBuildDate>Wed, 19 Jun 2013 15:50:13 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
		<item>
		<title>Cannot fetch rows with float values under Oracle 10g</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/cannot-fetch-rows-with-float-values-under-oracle-10g/</link>
		<comments>http://itknowledgeexchange.techtarget.com/itanswers/cannot-fetch-rows-with-float-values-under-oracle-10g/#comments</comments>
		<pubDate>Thu, 30 Jul 2009 15:10:50 +0000</pubDate>
		<dc:creator>Midwesthumptard</dc:creator>
				<category><![CDATA[float values]]></category>
		<category><![CDATA[OCIStmtExecute]]></category>
		<category><![CDATA[Oracle 10g]]></category>
		<category><![CDATA[Oracle Fetch Rows]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[We are currently porting applications from a DEC Unix environment to Solaris. Our previous Oracle version was 8i and we are now using 10g on the Solaris system. We have several tables and are able to insert and fetch from all excpet one of the defined tables. The one table causing the issue contains a [...]]]></description>
				<content:encoded><![CDATA[<p>We are currently porting applications from a DEC Unix environment to Solaris. Our previous Oracle version was 8i and we are now using 10g on the Solaris system. We have several tables and are able to insert and fetch from all excpet one of the defined tables. The one table causing the issue contains a mix of string, integer and floating point values. The definitions of the string and the integers from the old server to the new one has not changed. The floating values had been defined as &#8220;FLOAT&#8221; under 8i but under 10g they are &#8220;FLOAT(126)&#8221;. We are able to insert rows into this table without error, and we are able to fetch all rows in this table using SQL. The problem is that our application, using OCIStmtExecute, receives a -2 return status when the initial fetch is attempted and we continue down an error path. Any thoughts as to why the SQL retrievals are successful but our application (C interface) is not? Is it conceivable that the float values inserted by the same C definition is expanded to fit the &#8220;FLOAT(126)&#8221; definition and when the fetch is attempted, the supplied float variable is not large enough to hold the expanded value but the SQL query is? Any thoughts on the topic would be appreciated.</p>
<!-- wpms-network-global-inserts -->]]></content:encoded>
			<wfw:commentRss>http://itknowledgeexchange.techtarget.com/itanswers/cannot-fetch-rows-with-float-values-under-oracle-10g/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/14 queries in 0.017 seconds using memcached
Object Caching 312/332 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-06-19 15:57:28 -->