<?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: SQL Puzzle: SQL Advance Query &#8211; Check number is an Integer or not an Integer	</title>
	<atom:link href="https://www.dbrnd.com/2017/10/sql-puzzle-sql-advance-query-check-number-is-an-integer-or-not-an-integer-try_parse/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com/2017/10/sql-puzzle-sql-advance-query-check-number-is-an-integer-or-not-an-integer-try_parse/</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Tue, 24 Oct 2017 06:55:02 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.4</generator>
	<item>
		<title>
		By: Jagan Kumar		</title>
		<link>https://www.dbrnd.com/2017/10/sql-puzzle-sql-advance-query-check-number-is-an-integer-or-not-an-integer-try_parse/#comment-5957</link>

		<dc:creator><![CDATA[Jagan Kumar]]></dc:creator>
		<pubDate>Tue, 24 Oct 2017 06:55:02 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=6564#comment-5957</guid>

					<description><![CDATA[DECLARE @str AS VARCHAR(10) = &#039;1q&#039;
IF PATINDEX(&#039;%[^0-9]%&#039;,@str) &#062; 0 
    SELECT &#039;Not an Integer&#039; AS IsInteger
ELSE
    SELECT &#039;An Integer&#039; AS IsInteger]]></description>
			<content:encoded><![CDATA[<p>DECLARE @str AS VARCHAR(10) = &#8216;1q&#8217;<br />
IF PATINDEX(&#8216;%[^0-9]%&#8217;,@str) &gt; 0<br />
    SELECT &#8216;Not an Integer&#8217; AS IsInteger<br />
ELSE<br />
    SELECT &#8216;An Integer&#8217; AS IsInteger</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dinesh.IS		</title>
		<link>https://www.dbrnd.com/2017/10/sql-puzzle-sql-advance-query-check-number-is-an-integer-or-not-an-integer-try_parse/#comment-5955</link>

		<dc:creator><![CDATA[Dinesh.IS]]></dc:creator>
		<pubDate>Tue, 24 Oct 2017 05:05:48 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=6564#comment-5955</guid>

					<description><![CDATA[DECLARE @str AS VARCHAR(10) = &#039;1&#039;
Select (Case When PatIndex(&#039;%[^0-9]%&#039;,@Str)=0 Then &#039;An Integer&#039; Else &#039;Not An Integer&#039; End) As IsInteger]]></description>
			<content:encoded><![CDATA[<p>DECLARE @str AS VARCHAR(10) = &#8216;1&#8217;<br />
Select (Case When PatIndex(&#8216;%[^0-9]%&#8217;,@Str)=0 Then &#8216;An Integer&#8217; Else &#8216;Not An Integer&#8217; End) As IsInteger</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Dinesh.IS		</title>
		<link>https://www.dbrnd.com/2017/10/sql-puzzle-sql-advance-query-check-number-is-an-integer-or-not-an-integer-try_parse/#comment-5954</link>

		<dc:creator><![CDATA[Dinesh.IS]]></dc:creator>
		<pubDate>Tue, 24 Oct 2017 05:01:38 +0000</pubDate>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=6564#comment-5954</guid>

					<description><![CDATA[If add the space in string value showing “an integer “


Example : 
DECLARE @str AS VARCHAR(10) = &#039;8     &#039;
IF TRY_PARSE(@str AS INT) IS NULL
    SELECT &#039;Not an Integer&#039; AS IsInteger
ELSE
    SELECT &#039;An Integer&#039; AS IsInteger
GO]]></description>
			<content:encoded><![CDATA[<p>If add the space in string value showing “an integer “</p>
<p>Example :<br />
DECLARE @str AS VARCHAR(10) = &#8216;8     &#8216;<br />
IF TRY_PARSE(@str AS INT) IS NULL<br />
    SELECT &#8216;Not an Integer&#8217; AS IsInteger<br />
ELSE<br />
    SELECT &#8216;An Integer&#8217; AS IsInteger<br />
GO</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
