<?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>negation value &#8211; Database Research &amp; Development</title>
	<atom:link href="https://www.dbrnd.com/tag/negation-value/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.dbrnd.com</link>
	<description>BIGData &#124; NoSQL &#124; MSSQL &#124; MySQL &#124; PostgreSQL</description>
	<lastBuildDate>Sat, 20 Apr 2019 18:34:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</generator>
	<item>
		<title>PostgreSQL: Find Factorial, Absolute, Negation value</title>
		<link>https://www.dbrnd.com/2019/04/postgresql-find-factorial-absolute-negation-value/</link>
					<comments>https://www.dbrnd.com/2019/04/postgresql-find-factorial-absolute-negation-value/#respond</comments>
		
		<dc:creator><![CDATA[Anvesh Patel]]></dc:creator>
		<pubDate>Mon, 15 Apr 2019 18:34:07 +0000</pubDate>
				<category><![CDATA[PostgreSQL]]></category>
		<category><![CDATA[absolute value]]></category>
		<category><![CDATA[Anvesh Patel]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[database research and development]]></category>
		<category><![CDATA[dbrnd]]></category>
		<category><![CDATA[factorial]]></category>
		<category><![CDATA[negation value]]></category>
		<category><![CDATA[plpgsql]]></category>
		<category><![CDATA[Postgres Query]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[PostgreSQL Administrator]]></category>
		<category><![CDATA[PostgreSQL Error]]></category>
		<category><![CDATA[PostgreSQL Monitoring]]></category>
		<category><![CDATA[PostgreSQL Performance Tuning]]></category>
		<category><![CDATA[PostgreSQL Programming]]></category>
		<category><![CDATA[PostgreSQL Tips and Tricks]]></category>
		<guid isPermaLink="false">https://www.dbrnd.com/?p=6979</guid>

					<description><![CDATA[In this post, I am sharing few mathematical operators for finding factorial, absolute and negation value in PostgreSQL. I was reading the official the official page of PostgreSQL and found few interesting operators which we can use for the mathematical purpose. Check below examples: ! operator for factorial: [crayon-6ab4ec918b4af255296302/] @ operator for absolute: [crayon-6ab4ec918b4b3669149703/] ~ [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a class="a2a_button_facebook" href="https://www.addtoany.com/add_to/facebook?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2019%2F04%2Fpostgresql-find-factorial-absolute-negation-value%2F&amp;linkname=PostgreSQL%3A%20Find%20Factorial%2C%20Absolute%2C%20Negation%20value" title="Facebook" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_twitter" href="https://www.addtoany.com/add_to/twitter?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2019%2F04%2Fpostgresql-find-factorial-absolute-negation-value%2F&amp;linkname=PostgreSQL%3A%20Find%20Factorial%2C%20Absolute%2C%20Negation%20value" title="Twitter" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_linkedin" href="https://www.addtoany.com/add_to/linkedin?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2019%2F04%2Fpostgresql-find-factorial-absolute-negation-value%2F&amp;linkname=PostgreSQL%3A%20Find%20Factorial%2C%20Absolute%2C%20Negation%20value" title="LinkedIn" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pinterest" href="https://www.addtoany.com/add_to/pinterest?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2019%2F04%2Fpostgresql-find-factorial-absolute-negation-value%2F&amp;linkname=PostgreSQL%3A%20Find%20Factorial%2C%20Absolute%2C%20Negation%20value" title="Pinterest" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_reddit" href="https://www.addtoany.com/add_to/reddit?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2019%2F04%2Fpostgresql-find-factorial-absolute-negation-value%2F&amp;linkname=PostgreSQL%3A%20Find%20Factorial%2C%20Absolute%2C%20Negation%20value" title="Reddit" rel="nofollow noopener" target="_blank"></a><a class="a2a_button_pocket" href="https://www.addtoany.com/add_to/pocket?linkurl=https%3A%2F%2Fwww.dbrnd.com%2F2019%2F04%2Fpostgresql-find-factorial-absolute-negation-value%2F&amp;linkname=PostgreSQL%3A%20Find%20Factorial%2C%20Absolute%2C%20Negation%20value" title="Pocket" rel="nofollow noopener" target="_blank"></a><a class="a2a_dd addtoany_share_save addtoany_share" href="https://www.addtoany.com/share#url=https%3A%2F%2Fwww.dbrnd.com%2F2019%2F04%2Fpostgresql-find-factorial-absolute-negation-value%2F&#038;title=PostgreSQL%3A%20Find%20Factorial%2C%20Absolute%2C%20Negation%20value" data-a2a-url="https://www.dbrnd.com/2019/04/postgresql-find-factorial-absolute-negation-value/" data-a2a-title="PostgreSQL: Find Factorial, Absolute, Negation value"></a></p><p>In this post, I am sharing few mathematical operators for finding factorial, absolute and negation value in PostgreSQL. </p>
<p>I was reading the official the official page of PostgreSQL and found few interesting operators which we can use for the mathematical purpose.</p>
<p><strong>Check below examples:</strong></p>
<p><strong>! operator for factorial:</strong></p>
<pre class="crayon-plain-tag">SELECT 8 ! AS "8 factorial";

8 factorial
------------
'40320'</pre> </p>
<p><strong>@ operator for absolute:</strong></p>
<pre class="crayon-plain-tag">SELECT @ '-8.8' AS "absolute value";

absolute values
------------
'40320'</pre> </p>
<p><strong>~ operator for negation:</strong></p>
<pre class="crayon-plain-tag">SELECT ~ CAST('16' AS int8) AS "negation value";

negation value
---------------
'-17'</pre> </p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.dbrnd.com/2019/04/postgresql-find-factorial-absolute-negation-value/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
