 




<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Find the SQL value behind the decimal</title>
	<atom:link href="http://itknowledgeexchange.techtarget.com/itanswers/find-the-value-behind-the-decimal/feed/" rel="self" type="application/rss+xml" />
	<link>http://itknowledgeexchange.techtarget.com/itanswers/find-the-value-behind-the-decimal/</link>
	<description></description>
	<lastBuildDate>Sun, 19 May 2013 00:45:31 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	
	<item>
		<title>By: gmalik</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/find-the-value-behind-the-decimal/#comment-115222</link>
		<dc:creator>gmalik</dc:creator>
		<pubDate>Tue, 15 Jan 2013 10:14:44 +0000</pubDate>
		<guid isPermaLink="false">#comment-115222</guid>
		<description><![CDATA[I got my answer&#160;]]></description>
		<content:encoded><![CDATA[<p>I got my answer&nbsp;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: tslake99</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/find-the-value-behind-the-decimal/#comment-78544</link>
		<dc:creator>tslake99</dc:creator>
		<pubDate>Thu, 24 Jun 2010 20:09:23 +0000</pubDate>
		<guid isPermaLink="false">#comment-78544</guid>
		<description><![CDATA[Thank you!  That was exactly what I needed!]]></description>
		<content:encoded><![CDATA[<p>Thank you!  That was exactly what I needed!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kccrosser</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/find-the-value-behind-the-decimal/#comment-78540</link>
		<dc:creator>kccrosser</dc:creator>
		<pubDate>Thu, 24 Jun 2010 19:16:17 +0000</pubDate>
		<guid isPermaLink="false">#comment-78540</guid>
		<description><![CDATA[A marginally faster way to do this (if you have some really big tables) is:

&lt;pre&gt;select &lt;some fields&gt;
from &lt;some table&gt;
where quantity != CAST(quantity as int)&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>A marginally faster way to do this (if you have some really big tables) is:</p>
<pre>select &lt;some fields&gt;
from &lt;some table&gt;
where quantity != CAST(quantity as int)</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlosdl</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/find-the-value-behind-the-decimal/#comment-78516</link>
		<dc:creator>carlosdl</dc:creator>
		<pubDate>Thu, 24 Jun 2010 13:46:58 +0000</pubDate>
		<guid isPermaLink="false">#comment-78516</guid>
		<description><![CDATA[Just modify the above examples to put the integer check in the WHERE clause.

&lt;pre&gt;SELECT  &lt;some fields&gt;
FROM &lt;some table&gt;
WHERE quantity != FLOOR(quantity)&lt;/pre&gt;]]></description>
		<content:encoded><![CDATA[<p>Just modify the above examples to put the integer check in the WHERE clause.</p>
<pre>SELECT  &lt;some fields&gt;
FROM &lt;some table&gt;
WHERE quantity != FLOOR(quantity)</pre>
]]></content:encoded>
	</item>
	<item>
		<title>By: tslake99</title>
		<link>http://itknowledgeexchange.techtarget.com/itanswers/find-the-value-behind-the-decimal/#comment-78513</link>
		<dc:creator>tslake99</dc:creator>
		<pubDate>Thu, 24 Jun 2010 13:06:36 +0000</pubDate>
		<guid isPermaLink="false">#comment-78513</guid>
		<description><![CDATA[My stockroom wants to know when the system shows that we have a fraction of a quantity in stock.  For example, the system shows .333.  He wants to be all items that have a fractional amount on a SQL Report.  I&#039;m trying to come up with the syntax to analyze each quantity amount and only pull those with fractions.  This is a SQL Database.

Thanks in advance.]]></description>
		<content:encoded><![CDATA[<p>My stockroom wants to know when the system shows that we have a fraction of a quantity in stock.  For example, the system shows .333.  He wants to be all items that have a fractional amount on a SQL Report.  I&#8217;m trying to come up with the syntax to analyze each quantity amount and only pull those with fractions.  This is a SQL Database.</p>
<p>Thanks in advance.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 5/8 queries in 0.016 seconds using memcached
Object Caching 325/326 objects using memcached

Served from: itknowledgeexchange.techtarget.com @ 2013-05-19 01:25:27 -->