<?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>SQL Errors &#8211; Sibeesh Passion</title>
	<atom:link href="https://sibeeshpassion.com/tag/sql-errors/feed/" rel="self" type="application/rss+xml" />
	<link>https://sibeeshpassion.com</link>
	<description>My passion towards life</description>
	<lastBuildDate>Tue, 10 Jul 2018 10:31:14 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>/wp-content/uploads/2017/04/Sibeesh_Passion_Logo_Small.png</url>
	<title>SQL Errors &#8211; Sibeesh Passion</title>
	<link>https://sibeeshpassion.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Rule &#8220;Oracle JRE 7 Update 51 (64-bit) or higher is required for Polybase&#8221; failed</title>
		<link>https://sibeeshpassion.com/rule-oracle-jre-7-update-51-64-bit-or-higher-is-required-for-polybase-failed/</link>
					<comments>https://sibeeshpassion.com/rule-oracle-jre-7-update-51-64-bit-or-higher-is-required-for-polybase-failed/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Mon, 28 Mar 2016 00:00:29 +0000</pubDate>
				<category><![CDATA[Database]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[Rule Check Result]]></category>
		<category><![CDATA[SQL Errors]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server RC 1]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=11435</guid>

					<description><![CDATA[In this article we will are going to see how we can fix the error Rule &#8220;Oracle JRE 7 Update 51 (64-bit) or higher is required for Polybase&#8221; failed. You may get this error when you try to install SQL Server. I wast trying to install SQL Server 2016 Release Candidate 1, and I got this error while installation. The complete error is like this Rule Check Result, Rule &#8220;Oracle JRE 7 Update 51 (64-bit) or higher is required for Polybase&#8221; failed. This computer does not have the Oracle Java SE Runtime Environment Version 7 Update 51 (64-bit) or higher [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>In this article we will are going to see how we can fix the error <em>Rule &#8220;Oracle JRE 7 Update 51 (64-bit) or higher is required for Polybase&#8221; failed</em>. You may get this error when you try to install <a href="http://sibeeshpassion.com/category/sql/" target="_blank">SQL </a>Server. I wast trying to install SQL Server 2016 Release Candidate 1, and I got this error while installation. The complete error is like this <em>Rule Check Result, Rule &#8220;Oracle JRE 7 Update 51 (64-bit) or higher is required for Polybase&#8221; failed. This computer does not have the Oracle Java SE Runtime Environment Version 7 Update 51 (64-bit) or higher installed. The Oracle Java SE Runtime Environment is software provided by a third party. Microsoft grants you no rights for such third-party software. You are responsible for and must separately locate, read and accept applicable third-party license terms.</em> I have fixed this issue, and here I am going to share you how you can also fix this error. I hope you will like this.</p>
<p><strong>Background</strong></p>
<p>As you all know, <a href="http://sibeeshpassion.com/category/Microsoft/" target="_blank">Microsoft </a> has already released SQL Server 2018 RC Version 1. So I wanted to give a try, and I decided to install the same. But at a stage in installation, I got an error which was not allowing me to continue further. I started to scratch my head. And finally I could find the solution. Here we will see that.</p>
<p><strong>Fix to Rule &#8220;Oracle JRE 7 Update 51 (64-bit) or higher is required for Polybase&#8221; failed</strong></p>
<p>Once you have started the installation, you can see a window as follows. </p>
<div id="attachment_11436" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2016/03/Installation-Center-SQL-Server-Start-e1459093924479.png"><img fetchpriority="high" decoding="async" aria-describedby="caption-attachment-11436" src="http://sibeeshpassion.com/wp-content/uploads/2016/03/Installation-Center-SQL-Server-Start-e1459093924479.png" alt="Installation Center SQL Server Start" width="650" height="492" class="size-full wp-image-11436" srcset="/wp-content/uploads/2016/03/Installation-Center-SQL-Server-Start-e1459093924479.png 650w, /wp-content/uploads/2016/03/Installation-Center-SQL-Server-Start-e1459093924479-300x227.png 300w, /wp-content/uploads/2016/03/Installation-Center-SQL-Server-Start-e1459093924479-400x303.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-11436" class="wp-caption-text">Installation Center SQL Server Start</p></div>
<p>If you have not installed SQL Server yet, you must select &#8220;New SQL Server stand-alone installation&#8221;, or you can upgrade by selecting &#8220;Upgrade from a previous version&#8221;. So we have started installing the things. When you are step away to finish everything once you have selected the features to add. You will be getting the error as follows. </p>
<blockquote><p>
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Rule Check Result<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
Rule &#8220;Oracle JRE 7 Update 51 (64-bit) or higher is required for Polybase&#8221; failed.</p>
<p>This computer does not have the Oracle Java SE Runtime Environment Version 7 Update 51 (64-bit) or higher installed. The Oracle Java SE Runtime Environment is software provided by a third party. Microsoft grants you no rights for such third-party software. You are responsible for and must separately locate, read and accept applicable third-party license terms. To continue, download the Oracle SE Java Runtime Environment from http://go.microsoft.com/fwlink/?LinkId=526030.<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;<br />
OK<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;
</p></blockquote>
<p>As it is mentioned in the link provided in the link, you can always download and install the Java SE from that link. This link will be redirected to <a href="http://www.oracle.com/technetwork/java/javase/downloads/index.html" target="_blank">http://www.oracle.com/technetwork/java/javase/downloads/index.html</a>. </p>
<div id="attachment_11437" style="width: 644px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2016/03/Java-SE-e1459094342113.png"><img decoding="async" aria-describedby="caption-attachment-11437" src="http://sibeeshpassion.com/wp-content/uploads/2016/03/Java-SE-1024x562.png" alt="Java SE" width="634" height="348" class="size-large wp-image-11437" /></a><p id="caption-attachment-11437" class="wp-caption-text">Java SE</p></div>
<p>Now we have an another option that to disable the Java SE from the features selected. For that go back to the feature selection.</p>
<div id="attachment_11438" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2016/03/Feature-Selection-Installation-Center-SQL-Server-e1459094494609.png"><img decoding="async" aria-describedby="caption-attachment-11438" src="http://sibeeshpassion.com/wp-content/uploads/2016/03/Feature-Selection-Installation-Center-SQL-Server-e1459094494609.png" alt="Feature Selection Installation Center SQL Server" width="650" height="495" class="size-full wp-image-11438" srcset="/wp-content/uploads/2016/03/Feature-Selection-Installation-Center-SQL-Server-e1459094494609.png 650w, /wp-content/uploads/2016/03/Feature-Selection-Installation-Center-SQL-Server-e1459094494609-300x228.png 300w, /wp-content/uploads/2016/03/Feature-Selection-Installation-Center-SQL-Server-e1459094494609-400x305.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-11438" class="wp-caption-text">Feature Selection Installation Center SQL Server</p></div>
<p>Now Uncheck the selection <em>PolyBase query service for external data</em>.</p>
<div id="attachment_11439" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2016/03/Feature-Selection-Installation-Center-SQL-Server-Uncheck-Polybase-Query-Service-e1459094635116.png"><img decoding="async" aria-describedby="caption-attachment-11439" src="http://sibeeshpassion.com/wp-content/uploads/2016/03/Feature-Selection-Installation-Center-SQL-Server-Uncheck-Polybase-Query-Service-e1459094635116.png" alt="Feature Selection Installation Center SQL Server Uncheck Polybase Query Service" width="650" height="490" class="size-full wp-image-11439" srcset="/wp-content/uploads/2016/03/Feature-Selection-Installation-Center-SQL-Server-Uncheck-Polybase-Query-Service-e1459094635116.png 650w, /wp-content/uploads/2016/03/Feature-Selection-Installation-Center-SQL-Server-Uncheck-Polybase-Query-Service-e1459094635116-300x226.png 300w, /wp-content/uploads/2016/03/Feature-Selection-Installation-Center-SQL-Server-Uncheck-Polybase-Query-Service-e1459094635116-400x302.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-11439" class="wp-caption-text">Feature Selection Installation Center SQL Server Uncheck Polybase Query Service</p></div>
<p>Now you can go ahead and click next. At last, you will get the success message.</p>
<div id="attachment_11440" style="width: 660px" class="wp-caption alignnone"><a href="http://sibeeshpassion.com/wp-content/uploads/2016/03/Installation-Center-SQL-Server-Success-e1459094750394.png"><img decoding="async" aria-describedby="caption-attachment-11440" src="http://sibeeshpassion.com/wp-content/uploads/2016/03/Installation-Center-SQL-Server-Success-e1459094750394.png" alt="Installation Center SQL Server Success" width="650" height="489" class="size-full wp-image-11440" srcset="/wp-content/uploads/2016/03/Installation-Center-SQL-Server-Success-e1459094750394.png 650w, /wp-content/uploads/2016/03/Installation-Center-SQL-Server-Success-e1459094750394-300x226.png 300w, /wp-content/uploads/2016/03/Installation-Center-SQL-Server-Success-e1459094750394-400x301.png 400w" sizes="(max-width: 650px) 100vw, 650px" /></a><p id="caption-attachment-11440" class="wp-caption-text">Installation Center SQL Server Success</p></div>
<p>Hooray, we have successfully installed our new version of SQL Server. That&#8217;s fantastic right? Have a happy coding.</p>
<p><strong>Conclusion</strong></p>
<p>Did I miss anything that you may think which is needed? Could you find this post as useful? I hope you liked this article. Please share me your valuable suggestions and feedback.</p>
<p><strong>Your turn. What do you think?</strong></p>
<p>A blog isn&#8217;t a blog without comments, but do try to stay on topic. If you have a question unrelated to this post, you’re better off posting it on C# Corner, Code Project, Stack Overflow, Asp.Net Forum instead of commenting here. Tweet or email me a link to your question there and I’ll definitely try to help if I can.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/rule-oracle-jre-7-update-51-64-bit-or-higher-is-required-for-polybase-failed/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Solution for saving changes not permitted error in SQL</title>
		<link>https://sibeeshpassion.com/solution-for-saving-changes-not-permitted-error-in-sql/</link>
					<comments>https://sibeeshpassion.com/solution-for-saving-changes-not-permitted-error-in-sql/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Mon, 29 Jun 2015 08:07:06 +0000</pubDate>
				<category><![CDATA[Q&A]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Errors]]></category>
		<category><![CDATA[sql table design error]]></category>
		<category><![CDATA[SQL Tips]]></category>
		<category><![CDATA[SQL Tricks]]></category>
		<category><![CDATA[table design]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=5461</guid>

					<description><![CDATA[Introduction Hi All, How are you today? In this article we will see a solution for a fix that we usually encounter when you work in Microsoft SQL server. The error message will be &#8220;Saving changes is not permitted,The changes you have made require the following table to be dropped and re-created. You have either made changes to the table that can&#8217;t be re-created or enabled the option Prevent saving changes that require the table to be re-created.&#8221;. Let us see how we can solve this issue. I hope you will like it. Background As the error message says, it [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>Hi All, How are you today? In this article we will see a solution for a fix that we usually encounter when you work in Microsoft SQL server. The error message will be <em>&#8220;Saving changes is not permitted,The changes you have made require the following table to be dropped and re-created. You have either made changes to the table that can&#8217;t be re-created or enabled the option Prevent saving changes that require the table to be re-created.&#8221;</em>. Let us see how we can solve this issue. I hope you will like it.</p>
<p><strong>Background</strong></p>
<p>As the error message says, it is because of you have enabled the option Prevent saving changes. Now we will see how we can disable that option in SQL Server Management Studio. Before going through the fix, we will see teh screenshot of the error.</p>
<p><img decoding="async" src="http://www.sibeeshpassion.com/content/images/tab1.png" alt="www.sibeeshpassion.com" /></p>
<p><strong>Steps to follow</strong></p>
<p>To fix this issue, you need to follow some certain steps. We will explain that here.</p>
<p><em><strong>Step 1</strong></em></p>
<p>Go to Tools menu and click on options.</p>
<p><img decoding="async" src="http://www.sibeeshpassion.com/content/images/tab2.png" alt="www.sibeeshpassion.com" /></p>
<p><em><strong>Step 2</strong></em></p>
<p>Now you can see a window is opened as follows. You can see some settings there. No need to change anything in that.</p>
<p><img decoding="async" src="http://www.sibeeshpassion.com/content/images/tab3.png" alt="www.sibeeshpassion.com" /></p>
<p><em><strong>Step 3</strong></em></p>
<p>Now go to Designers menu and click on &#8220;Table and Database designers&#8221; </p>
<p><img decoding="async" src="http://www.sibeeshpassion.com/content/images/tab4.png" alt="www.sibeeshpassion.com" /></p>
<p><em><strong>Step 4</strong></em></p>
<p>It is time for changing the settings. As you can see there is a check box which is captioned as <em>&#8220;Prevent saving changes that requires table re-creation&#8221;</em> . Just uncheck that and click OK.</p>
<p><img decoding="async" src="http://www.sibeeshpassion.com/content/images/tab5.png" alt="www.sibeeshpassion.com" /></p>
<p>That is all. Now if you try to save that table, you won&#8217;t be facing above mentioned issue. Have a happy table designing.</p>
<p><strong>Conclusion</strong></p>
<p>I hope you will like this article. Please share me your valuable thoughts and comments. Your feedback is always welcomed.</p>
<p>Thanks in advance. Happy coding!</p>
<p>Kindest Regards<br />
<a href="https://plus.google.com/+sibeeshkv" target="_blank">Sibeesh Venu</a></p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/solution-for-saving-changes-not-permitted-error-in-sql/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>SqlDateTime Overflow, Must be between Error</title>
		<link>https://sibeeshpassion.com/sqldatetime-overflow-must-be-between-error/</link>
					<comments>https://sibeeshpassion.com/sqldatetime-overflow-must-be-between-error/#disqus_thread</comments>
		
		<dc:creator><![CDATA[SibeeshVenu]]></dc:creator>
		<pubDate>Fri, 05 Jun 2015 07:16:12 +0000</pubDate>
				<category><![CDATA[Q&A]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Date Parameter]]></category>
		<category><![CDATA[SQL Errors]]></category>
		<category><![CDATA[SQL Parameter Error]]></category>
		<guid isPermaLink="false">http://sibeecst_passion.com/?p=4482</guid>

					<description><![CDATA[Introduction Hi All, I hope you are fine. We all are using SQL parameter in our application right?Yeah it is a good way to restrict the Injections are hijacks. But still if you pass those parameters in the right way, you will face lots of problems. In this article I am going to share you such an Issue. I hope you will like it. Background Morning I was working in a grid control which editable, and I selected a row to edit and started editing. In a date field I edited the date and clicked update button. I was expecting [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><strong>Introduction</strong></p>
<p>Hi All, I hope you are fine. We all are using SQL parameter in our application right?Yeah it is a good way to restrict the Injections are hijacks. But still if you pass those parameters in the right way, you will face lots of problems. In this article I am going to share you such an Issue. I hope you will like it.</p>
<p><strong>Background</strong></p>
<p>Morning I was working in a grid control which editable, and I selected a row to edit and started editing. In a date field I edited the date and clicked update button. I was expecting an output result as &#8220;Successfully updated&#8221;. But it didn&#8217;t happen. Instead it throws an error. <em>&#8220;SqlDateTime Overflow, Must be between&#8221;</em></p>
<p><strong>Using the code</strong></p>
<p>To resolve this issue, first you must understand the root cause for this. I was passing the parameters as follows.</p>
<p>[csharp]<br />
 SqlParameter[] myParam = new SqlParameter[3];<br />
            myParam[0] = new SqlParameter(&quot;@name&quot;, myObject.name);<br />
            myParam[1] = new SqlParameter(&quot;@ValidFrom&quot;, myObject.hjcValidFrom);<br />
            myParam[2] = new SqlParameter(&quot;@ValidTo&quot;, myObject.hjcValidTo);<br />
[/csharp]</p>
<p>When I run my application with above code, I got the following error.<br />
<img decoding="async" src="http://sibeeshpassion.com/Content/Images/sqldateerror.PNG" alt="" /></p>
<p><strong>So what is the fix/solution?</strong></p>
<p>I changed the parameter as follows. </p>
<p>[csharp]<br />
 SqlParameter[] myParam = new SqlParameter[3];<br />
            myParam[0] = new SqlParameter(&quot;@name&quot;, myObject.name);<br />
            myParam[1] = new SqlParameter(&quot;@ValidFrom&quot;, myObject.hjcValidFrom.ToString(&quot;MM/dd/YYYY&quot;));<br />
            myParam[2] = new SqlParameter(&quot;@ValidTo&quot;, myObject.hjcValidTo.ToString(&quot;MM/dd/YYYY&quot;));<br />
[/csharp]</p>
<p>That solved the issue. Simple right?</p>
<p><strong>Some other case</strong></p>
<p>There are dome other cases you may get this error if you use the codes as follows.<br />
[csharp]<br />
 SqlParameter[] myParam = new SqlParameter[3];<br />
            DateTime myDate=new DateTime();<br />
            myParam[0] = new SqlParameter(&quot;@name&quot;, myObject.name);<br />
            myParam[1] = new SqlParameter(&quot;@ValidFrom&quot;, myDate);<br />
            myParam[2] = new SqlParameter(&quot;@ValidTo&quot;, myDate);<br />
[/csharp]</p>
<p>What you have to do all to fix this issue is just take the now property value from your date time object and pass it your parameter.</p>
<p>[csharp]<br />
 SqlParameter[] myParam = new SqlParameter[3];<br />
            DateTime myDate = DateTime.Now;<br />
            myParam[0] = new SqlParameter(&quot;@name&quot;, myObject.name);<br />
            myParam[1] = new SqlParameter(&quot;@ValidFrom&quot;, myDate);<br />
            myParam[2] = new SqlParameter(&quot;@ValidTo&quot;, myDate);<br />
[/csharp]</p>
<p><strong>Conclusion </strong></p>
<p>I hope you enjoyed reading and found this useful. Please share me your valuable feedback. For me it matters a lot.</p>
<p>Kindest Regards<br />
Sibeesh Venu</p>
]]></content:encoded>
					
					<wfw:commentRss>https://sibeeshpassion.com/sqldatetime-overflow-must-be-between-error/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
