SQL Server Pro http://sqlmag.com/rss.xml en Ordered Set Functions: What's New--and Missing--in SQL Server vNext http://sqlmag.com/sql-server/ordered-set-functions-whats-new-and-missing-sql-server-vnext <div class="node-body article-body">This article provides a reminder of what ordered set functions are, what’s new in vNext, and what’s still missing. </div> <p><a href="http://sqlmag.com/sql-server/ordered-set-functions-whats-new-and-missing-sql-server-vnext" target="_blank">read more</a></p> http://sqlmag.com/sql-server/ordered-set-functions-whats-new-and-missing-sql-server-vnext#comments SQL Server ordered set function SQL Server SQL Server vNext Thu, 13 Apr 2017 08:07:00 +0000 35031 at http://sqlmag.com Containers at work: .NET and SQL Server containers for Dev and QA http://sqlmag.com/sql-server/containers-work-net-and-sql-server-containers-dev-and-qa <div class="field-byline"> Paul Stanton </div> <div class="node-body article-body"><p class="p1" style="font-size: 12.8px;"><span class="s1" style="font-size: 12.8px;">Windocks&nbsp;1.0 was released in Q1 of 2016, as the first port of Docker&rsquo;s open source to Windows. Some were skeptical of&nbsp;Windocks, as Microsoft planned an implementation for Windows Server 2016. We&rsquo;re glad to have persevered, as&nbsp;Windocks&nbsp;now delivers a more complete and practical solution for .NET and SQL Server developers.&nbsp;</span></p></div> <p><a href="http://sqlmag.com/sql-server/containers-work-net-and-sql-server-containers-dev-and-qa" target="_blank">read more</a></p> http://sqlmag.com/sql-server/containers-work-net-and-sql-server-containers-dev-and-qa#comments SQL Server Thu, 30 Mar 2017 13:02:00 +0000 35001 at http://sqlmag.com Analyzing Wait Events for Faster Database Troubleshooting http://sqlmag.com/sql-server/analyzing-wait-events-faster-database-troubleshooting <div class="field-byline"> Thomas LaRock, Head Geek, SolarWinds </div> <div class="node-body article-body"><p class="p1"><span class="s1">Most database administrators, regardless of platform, are familiar with the concept of wait events. Wait events are a natural part of a database engine processing requests. When a connection is made to the database engine, a session ID (SPID) is assigned, which allows for requests to be sent; we often just call these queries.&nbsp;</span></p></div> <p><a href="http://sqlmag.com/sql-server/analyzing-wait-events-faster-database-troubleshooting" target="_blank">read more</a></p> http://sqlmag.com/sql-server/analyzing-wait-events-faster-database-troubleshooting#comments SQL Server Tue, 28 Mar 2017 22:05:00 +0000 34971 at http://sqlmag.com How to Share Management Studio Templates http://sqlmag.com/sql-server/how-share-management-studio-templates <div class="node-body article-body">It's not possible to change the template directory in any version of SQL Server Management Studio which means sharing any custom templates you create between team members or different devices you own is not possible... out of the box that is. Tim Ford, the world's biggest advocate for SQL Server templates and how they allow you to be a lazier AND more powerful DBA in one fell swoop explains how you can overcome these obstacles to share your templates across devices and installs of Micrsosoft SQL Server.</div> <p><a href="http://sqlmag.com/sql-server/how-share-management-studio-templates" target="_blank">read more</a></p> http://sqlmag.com/sql-server/how-share-management-studio-templates#comments SQL Server Dropbox onedrive sharing SQL SQL Server templates Tue, 28 Mar 2017 21:52:00 +0000 34951 at http://sqlmag.com SQL Server 2016 SP1 CU2 Released http://sqlmag.com/sql-server-2016/sql-server-2016-sp1-cu2-released <div class="node-body article-body">The latest cumulative update for Microsoft's flagship data platform, SQL Server 2016, has been released. Learn more about how to obtain the latest update as well as the new source page for updates on Microsoft SQL Server now.</div> <p><a href="http://sqlmag.com/sql-server-2016/sql-server-2016-sp1-cu2-released" target="_blank">read more</a></p> http://sqlmag.com/sql-server-2016/sql-server-2016-sp1-cu2-released#comments SQL Server 2016 cu2 Download latest service pack Microsoft service pack 1 SP1 sql server 2016 update center Tue, 28 Mar 2017 15:28:00 +0000 34961 at http://sqlmag.com Upgrading to SQL Server 2016: New Data Privacy and Security Features http://sqlmag.com/sql-server/upgrading-sql-server-2016-new-data-privacy-and-security-features <div class="field-byline"> Thomas LaRock, Head Geek, SolarWinds </div> <div class="node-body article-body"><p class="p1"><span class="s1">Released last June, Microsoft</span><span class="s1">&nbsp;SQL Server</span><span class="s1">&nbsp;2016 has been available for about eight months, even longer if you were using one of the CTP versions as far back as 2015. Now well into the New Year, if they&rsquo;re not already, most infrastructure teams and management, including yours, will soon be evaluating the costs, benefits, and risks of upgrading to SQL Server 2016.</span></p></div> <p><a href="http://sqlmag.com/sql-server/upgrading-sql-server-2016-new-data-privacy-and-security-features" target="_blank">read more</a></p> http://sqlmag.com/sql-server/upgrading-sql-server-2016-new-data-privacy-and-security-features#comments SQL Server Thu, 23 Mar 2017 19:55:00 +0000 34921 at http://sqlmag.com Parsing Denormalized Strings with the STRING_SPLIT Function in SQL Server 2016 http://sqlmag.com/sql-server-2016/parsing-denormalized-strings-stringsplit-function-sql-server-2016 <div class="node-body article-body">There is a new string parsing function available to you if you're dealing with SQL Server 2016 databases.</div> <p><a href="http://sqlmag.com/sql-server-2016/parsing-denormalized-strings-stringsplit-function-sql-server-2016" target="_blank">read more</a></p> http://sqlmag.com/sql-server-2016/parsing-denormalized-strings-stringsplit-function-sql-server-2016#comments SQL Server 2016 comma csv delimited denormalize function parse sql server 2016 string_split Wed, 22 Mar 2017 14:39:00 +0000 34911 at http://sqlmag.com Accelerating Analytics in a Hybrid Cloud Environment http://sqlmag.com/attunity/accelerating-analytics <div class="field-deck"> Sponsored by: Attunity </div> <div class="node-body article-body">View On Demand</div> <p><a href="http://sqlmag.com/attunity/accelerating-analytics" target="_blank">read more</a></p> Attunity Business Intelligence Wed, 15 Mar 2017 20:28:00 +0000 35021 at http://sqlmag.com How to Compute Date and Time Difference in Parts http://sqlmag.com/sql-server/how-compute-date-and-time-difference-parts <div class="node-body article-body">Sometimes you need to use T-SQL to compute the time passed between two events whose date and time values you get as inputs. For some purposes, it’s sufficient to compute the difference as a duration in terms of some part. What’s significantly trickier is to compute the difference as a combination of parts. </div> <p><a href="http://sqlmag.com/sql-server/how-compute-date-and-time-difference-parts" target="_blank">read more</a></p> http://sqlmag.com/sql-server/how-compute-date-and-time-difference-parts#comments SQL Server date and time SQL Server sql server 2016 T-SQL Wed, 15 Mar 2017 14:14:00 +0000 34901 at http://sqlmag.com DATA TALES #12: The Case of the Code that Refused to Execute http://sqlmag.com/sql-server/data-tales-12-case-code-refused-execute-1 <div class="node-body article-body"><p><span class="s1">Over recent months the articles that I&rsquo;ve written have focussed on the database engine. I&rsquo;ve recently rolled many of the tools that I&rsquo;ve been building for working with the database engine into a set of free downloads. You&rsquo;ll find them here:&nbsp;</span></p> <p class="p2"><span class="s2"><a href="http://www.sqldownunder.com/Resources/SDUTools">http://www.sqldownunder.com/Resources/SDUTools</a></span></p></div> <p><a href="http://sqlmag.com/sql-server/data-tales-12-case-code-refused-execute-1" target="_blank">read more</a></p> http://sqlmag.com/sql-server/data-tales-12-case-code-refused-execute-1#comments SQL Server Mon, 13 Mar 2017 16:17:00 +0000 34891 at http://sqlmag.com New Technology Considerations – SQL Server 2016 on Hyperconverged Infrastructure http://sqlmag.com/nutanix/new-technology-considerations <div class="field-deck"> Sponsored by: Nutanix </div> <div class="node-body article-body">Wednesday, April 19, 2017 at 2:00 PM EDT - Duration: 1 hour</div> <p><a href="http://sqlmag.com/nutanix/new-technology-considerations" target="_blank">read more</a></p> Nutanix SQL Server 2016 Resources Fri, 10 Mar 2017 16:41:00 +0000 34931 at http://sqlmag.com Quickly Identify Database and File Sizing for Any SQL Server Instance http://sqlmag.com/database-administration/quickly-identify-database-and-file-sizing-any-sql-server-instance <div class="node-body article-body">I frequently find myself needing to see the sizing information for my SQL Server databases or their files. I also need to periodically check to ensure I've the right auto grow settings enabled to meet best practices when I engage with a new client. I've created a single script that does this and I want to share it with my readers.</div> <p><a href="http://sqlmag.com/database-administration/quickly-identify-database-and-file-sizing-any-sql-server-instance" target="_blank">read more</a></p> http://sqlmag.com/database-administration/quickly-identify-database-and-file-sizing-any-sql-server-instance#comments Database Administration database size file size growth setting sizing SQL Server Stored procedure Fri, 03 Mar 2017 00:41:00 +0000 34851 at http://sqlmag.com An Introduction to Docker and Containers for SQL Server Developers and DBAs http://sqlmag.com/sql-server/introduction-docker-and-containers-sql-server-developers-and-dbas <div class="field-byline"> Paul Stanton </div> <div class="node-body article-body"><p class="p1"><span class="s1">In March 2013 Soloman Hykes announced what would become known as the Docker open source project.&nbsp; &nbsp; In the months that followed there was a ground swell of adoption by the Linux community, and in the fall of 2014 Microsoft announced plans to implement containers in Windows Server 2016.&nbsp; &nbsp; WinDocks, where I am a co-founder, released an independent port of Docker&rsquo;s open source to Windows in early 2016, with a focus on first-class container support to SQL Server. &nbsp;</span></p></div> <p><a href="http://sqlmag.com/sql-server/introduction-docker-and-containers-sql-server-developers-and-dbas" target="_blank">read more</a></p> http://sqlmag.com/sql-server/introduction-docker-and-containers-sql-server-developers-and-dbas#comments SQL Server Thu, 02 Mar 2017 20:09:00 +0000 34861 at http://sqlmag.com 2017 Training Resolutions from the SQL Cruise Technical Leads http://sqlmag.com/sql-server/2017-training-resolutions-sql-cruise-technical-leads <div class="node-body article-body"><p>Granted calendars as we know them are subjective and not all cultures honor the same calendar but we are at that time of the year that is known for setting resolutions for the coming twelve months and I thought it would be an interesting exercise to see what some of the Thought Leaders in SQL Server (and the broader Microsoft Data Platform) are planning on spending time learning this year.</p></div> <p><a href="http://sqlmag.com/sql-server/2017-training-resolutions-sql-cruise-technical-leads" target="_blank">read more</a></p> http://sqlmag.com/sql-server/2017-training-resolutions-sql-cruise-technical-leads#comments SQL Server 2017 data platform Microsoft SQL Server thought leaders training recommendations Fri, 24 Feb 2017 17:39:00 +0000 34671 at http://sqlmag.com Call for Speakers for 2017 IT/Dev Connections Extended Until February 20, 2017 http://sqlmag.com/sql-server/call-speakers-2017-itdev-connections-extended-until-february-20-2017 <div class="node-body article-body"><p>The 2017 IT/Dev Connections conference is coming to San Francisco, CA&nbsp;after many years in Las Vegas, NV. This year&#39;s conference takes place October 23-26, 2017 at the Hilton Union Square in the heart of the San Francisco Financial District. As in years past there will be tracks covering:</p></div> <p><a href="http://sqlmag.com/sql-server/call-speakers-2017-itdev-connections-extended-until-february-20-2017" target="_blank">read more</a></p> http://sqlmag.com/sql-server/call-speakers-2017-itdev-connections-extended-until-february-20-2017#comments SQL Server 2017 IT/Dev Connections Call for Speakers Thu, 16 Feb 2017 19:08:00 +0000 34821 at http://sqlmag.com The Future of Managing Databases in a Hybrid IT World http://sqlmag.com/sql-server/future-managing-databases-hybrid-it-world <div class="field-byline"> Thomas LaRock, Head Geek, SolarWinds </div> <div class="node-body article-body">When you work in information technology long enough, you get to see how people react when something new comes along. Some people embrace change, even to the point of being an early adopter. Others might use a wait-and-see approach. And then there is the group of people who are afraid of change in any form. </div> <p><a href="http://sqlmag.com/sql-server/future-managing-databases-hybrid-it-world" target="_blank">read more</a></p> http://sqlmag.com/sql-server/future-managing-databases-hybrid-it-world#comments SQL Server Tue, 14 Feb 2017 04:34:00 +0000 34811 at http://sqlmag.com <p>Don&#39;t let fear of the unknown keep you from moving forward.</p> Identifying Existence of Intersections in Intervals http://sqlmag.com/sql-server/identifying-existence-intersections-intervals <div class="node-body article-body">Identifying the existence of intersections in intervals is a classic task where, given a table with a set of intervals, you need to check whether any intersections exist. This is often done to verify the validity of data that holds intervals that are not supposed to have any intersections between them. For example, when you keep history of changes to rows by maintaining multiple versions of a row, the same row is not supposed to have intersecting versions.</div> <p><a href="http://sqlmag.com/sql-server/identifying-existence-intersections-intervals" target="_blank">read more</a></p> http://sqlmag.com/sql-server/identifying-existence-intersections-intervals#comments SQL Server intersections in intervals SQL Server Wed, 08 Feb 2017 19:40:00 +0000 34771 at http://sqlmag.com Introduction to the Availability Group Dynamic Management Objects in SQL Server 2016 http://sqlmag.com/database-high-availability/introduction-availability-group-dynamic-management-objects-sql-server-201 <div class="node-body article-body"><p>Availability Groups &ndash; a hybrid of SQL Server Database Mirroring and Windows Failover Clustering &ndash; are becoming the de-facto standard for implementation of high availability solutions for Microsoft SQL Server. While the learning curve can be steep it&rsquo;s also a fairly short learning curve.</p></div> <p><a href="http://sqlmag.com/database-high-availability/introduction-availability-group-dynamic-management-objects-sql-server-201" target="_blank">read more</a></p> http://sqlmag.com/database-high-availability/introduction-availability-group-dynamic-management-objects-sql-server-201#comments Database High Availability 2016 Availability Groups DMF DMO DMV dynamic management objects dynamic management views ha/dr SQL Server Mon, 30 Jan 2017 19:45:00 +0000 34721 at http://sqlmag.com Replacement Release for SQL Server Management Studio 16.5.2 is Available http://sqlmag.com/sql-server-2016/replacement-release-sql-server-management-studio-1652-available <div class="node-body article-body">Earlier this month Microsoft released version 16.5.2 of SQL Server Management Studio. Customers identified issues with the release causing Microsoft to pull the download. The replacement is now available.</div> <p><a href="http://sqlmag.com/sql-server-2016/replacement-release-sql-server-management-studio-1652-available" target="_blank">read more</a></p> http://sqlmag.com/sql-server-2016/replacement-release-sql-server-management-studio-1652-available#comments SQL Server 2016 16.5.2 16.5.3 Download Microsoft SQL Server Management Studio SSMS Mon, 30 Jan 2017 19:12:00 +0000 34711 at http://sqlmag.com Power Apps and Flow http://sqlmag.com/sql-server/power-apps-and-flow <div class="node-body article-body"><p>If you are looking to create an application to monitor or track a process and do not want to have to write much code, take a look at Power Apps and Flow. &nbsp;These products are designed to be able to provide a more self-service development environment as you can use templates and drop and click your way to an application which can work on the web, tablet or phone. &nbsp;</p> <p><strong>Use Cases for PowerApps</strong></p></div> <p><a href="http://sqlmag.com/sql-server/power-apps-and-flow" target="_blank">read more</a></p> http://sqlmag.com/sql-server/power-apps-and-flow#comments SQL Server Wed, 25 Jan 2017 15:48:00 +0000 34701 at http://sqlmag.com SQL Server Management Studio Version 16.5.2 Now Available for Download http://sqlmag.com/sql-server-2016/sql-server-management-studio-version-1652-now-available-download <div class="node-body article-body">The latest release from the SQL Server product group at Microsoft has just gone public and is available for download today. Read on to see what has changed.</div> <p><a href="http://sqlmag.com/sql-server-2016/sql-server-management-studio-version-1652-now-available-download" target="_blank">read more</a></p> http://sqlmag.com/sql-server-2016/sql-server-management-studio-version-1652-now-available-download#comments SQL Server 2016 16.5.2 Download SQL Server Management Studio SSMS Mon, 23 Jan 2017 19:40:00 +0000 34661 at http://sqlmag.com Infrastructure Challenges with Microsoft SQL Server In-Memory Features http://sqlmag.com/pure-storage/infrastructure-challenges <div class="field-deck"> Sponsored by: Pure Storage </div> <div class="node-body article-body">View On Demand</div> <p><a href="http://sqlmag.com/pure-storage/infrastructure-challenges" target="_blank">read more</a></p> Pure Storage Systems Management SQL Server Fri, 20 Jan 2017 15:07:00 +0000 34801 at http://sqlmag.com Tips Concerning Temporal Tables http://sqlmag.com/sql-server/tips-concerning-temporal-tables <div class="node-body article-body">Here are a few tips on working with temporal tables, which were introduced in SQL Server 2016 to enable tracking history of changes to data. </div> <p><a href="http://sqlmag.com/sql-server/tips-concerning-temporal-tables" target="_blank">read more</a></p> http://sqlmag.com/sql-server/tips-concerning-temporal-tables#comments SQL Server SQL Server sql server 2016 Temporal Tables Tue, 17 Jan 2017 23:55:00 +0000 34651 at http://sqlmag.com Identifying SQL Server Logins without Default Database Users http://sqlmag.com/security/identifying-sql-server-logins-without-default-database-users <div class="node-body article-body">Have you run into a connection issue in SQL Server where you have a valid login and password yet still can't connect to the database? It may be because your login doesn't have a user assignment in its default database (whether that this the database you're querying or not.) Read on to see how this happens and how to identify and correct it.</div> <p><a href="http://sqlmag.com/security/identifying-sql-server-logins-without-default-database-users" target="_blank">read more</a></p> http://sqlmag.com/security/identifying-sql-server-logins-without-default-database-users#comments Security connection default database login Microsoft SQL Server missing problem user Mon, 16 Jan 2017 19:20:00 +0000 34641 at http://sqlmag.com SQL Server Security Challenges and Best Practices http://sqlmag.com/idera/sql-server-security-challenges-and-best-practices <div class="field-deck"> Sponsored by: IDERA </div> <div class="node-body article-body">View On Demand Now</div> <p><a href="http://sqlmag.com/idera/sql-server-security-challenges-and-best-practices" target="_blank">read more</a></p> Idera Systems Management SQL Server Database Administration Mon, 16 Jan 2017 00:18:00 +0000 34781 at http://sqlmag.com PowerShell eBook http://sqlmag.com/idera/powershell-ebook <div class="node-body article-body">Download this e-book will dive deep into defining function parameters, creating new function and adding help to your functions. It will also cover conditions, which are what you need to make scripts clever, as well as creating your own functions.</div> <p><a href="http://sqlmag.com/idera/powershell-ebook" target="_blank">read more</a></p> Idera Systems Management SQL Server Database Administration Mon, 16 Jan 2017 00:18:00 +0000 34751 at http://sqlmag.com How To Deal With an Inherited SQL Server http://sqlmag.com/idera/how-deal-inherited-sql-server <div class="node-body article-body">In this whitepaper, SQL Savant Andy Warren walks you through a set of Week 1 Best Practices. It provides insight on how to prioritize the tasks necessary to navigate the new SQL database to ensure you provide maximum results with minimal negative impact to the organization.  </div> <p><a href="http://sqlmag.com/idera/how-deal-inherited-sql-server" target="_blank">read more</a></p> Idera Systems Management SQL Server Database Administration Mon, 16 Jan 2017 00:18:00 +0000 34741 at http://sqlmag.com SQL Server in Simple Words http://sqlmag.com/idera/sql-server-simple-words <div class="node-body article-body">In this eBook, learn  tips and techniques that utilize some of the capabilities available with SSMS that can help you enhance your productivity.</div> <p><a href="http://sqlmag.com/idera/sql-server-simple-words" target="_blank">read more</a></p> Idera Systems Management SQL Server Database Administration Mon, 16 Jan 2017 00:18:00 +0000 34731 at http://sqlmag.com Identifying Logins with Default Database Connectivity Issues in SQL Server http://sqlmag.com/database-security/identifying-logins-default-database-connectivity-issues-sql-server <div class="node-body article-body">You've a valid login and password. You've rights to the database you're trying to query. You've verified the sids (unique identifier for a SQL Server login and a database user) match. That's all that is needed to run a query on your database given you have no network issues between you and the database server right? Wrong. In this article Tim Ford looks at another way in which you or your customers may not be able to reach their data and provides a script for identifying those logins that may be involved.</div> <p><a href="http://sqlmag.com/database-security/identifying-logins-default-database-connectivity-issues-sql-server" target="_blank">read more</a></p> http://sqlmag.com/database-security/identifying-logins-default-database-connectivity-issues-sql-server#comments Database Security can't connect default database login missing rights script security SQL Server user Fri, 13 Jan 2017 13:56:00 +0000 34631 at http://sqlmag.com DATA TALES #11: The Case of the Ballooning Tables http://sqlmag.com/sql-server/data-tales-11-case-ballooning-tables <div class="node-body article-body"><p>Over recent months I have written a <a href="http://sqlmag.com/database-performance-tuning/data-tales-case-database-diet-part-1">series of articles</a> on how the overall size of a financial services database was tamed by the application of table compression, XML compression, and PDF size reduction. I have applied this approach at many sites but recently came across one where the outcome seemed to constantly be getting worse rather than better. Every time I tried to improve the situation, it got worse. Let&rsquo;s discuss why.</p> <p><strong>Transforming the Database</strong></p></div> <p><a href="http://sqlmag.com/sql-server/data-tales-11-case-ballooning-tables" target="_blank">read more</a></p> http://sqlmag.com/sql-server/data-tales-11-case-ballooning-tables#comments SQL Server Mon, 09 Jan 2017 17:34:00 +0000 34621 at http://sqlmag.com