title: SQL Server Managment Studio Failures after Windows Updates
body: <p>Greeting; I have a development virtual machine I use daily for my job.  Today I had a Windows Updates KB3212646, KB3197868, KB3185330 install and request reboot.  After rebooting, I started getting errors in applications that ran SQL Statements.  I opened SSMS 2014 to test and was getting different errors on simple selects.  Example, I got all three of these errors from running the simple select a few times in a row.</p>
  
  <pre><code>select * from MVXJDTA.MITMAS
  --An error occurred while executing batch. Error message is: Internal connection fatal error. Error state: 18
  --An error occurred while executing batch. Error message is: Index was outside the bounds of the array.
  --An error occurred while executing batch. Error message is: Object reference not set to an instance of an object.
  </code></pre>
  
  <p>I'm running Windows 7 x64 SP1.
  I have Visual Studio 2010, 2012, and 2013 installed.
  I have SQL Server 2008 R2, 2012, 2014, and 2016 installed.</p>
  
  <p>I have removed the updates after the failure and I still have the errors. The errors don't occur on SMALL select statements, only larger ones. (MITMAS has 171,252 rows, 224 columns)  Not a massive table by any means, but not a simple one either.  If I do <code>select top 100 MMCONO, MMITNO from MVXJDTA.MITMAS</code> I do not seem to get the error.  I have tested in SSMS for 2012, 2014, 2016, and in Visual Studio 2013.</p>
  
  <p>I have not had the problem to till today, I know several Windows Updates installed Tuesday, but I didn't have issues yesterday after that reboot.  I have not installed or uninstalled any other software.</p>
  
  <p>Any assistance is appreciated.</p>
  
  <p>In response to the comment that is can't be happening with the query listed:</p>
  
  <p><a href="https://i.stack.imgur.com/xqyQL.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/xqyQL.png" alt="Example of Issue in SSMS"></a></p>
  
  <p><a href="https://i.stack.imgur.com/avbCI.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/avbCI.png" alt="Example of Issue in SSMS"></a></p>