SQL Server Pro http://sqlmag.com/rss.xml en 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 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 How Old Are Your Backups? http://sqlmag.com/database-backup-and-recovery/how-old-are-your-backups <div class="node-body article-body">Do you want a quick view into how old your backups are or if you're missing any backups on your SQL Server instances? Here is a query for determining just that.</div> <p><a href="http://sqlmag.com/database-backup-and-recovery/how-old-are-your-backups" target="_blank">read more</a></p> http://sqlmag.com/database-backup-and-recovery/how-old-are-your-backups#comments Database Backup and Recovery age Backup database Microsoft missing SQL Server Fri, 30 Dec 2016 19:30:00 +0000 34611 at http://sqlmag.com Querying Secure Information from a Restored Master Database Backup http://sqlmag.com/security/querying-secure-information-restored-master-database-backup <div class="node-body article-body">I was recently asked if it was possible to get security information from a restored copy of the SQL Server master database. This article touches on just how easy it is to get information about that and other things from a restored copy of master and without rights in the original master database.</div> <p><a href="http://sqlmag.com/security/querying-secure-information-restored-master-database-backup" target="_blank">read more</a></p> http://sqlmag.com/security/querying-secure-information-restored-master-database-backup#comments Security Database Administration copy database login master restore security SQL Server Thu, 29 Dec 2016 17:08:00 +0000 34601 at http://sqlmag.com Build your Cloud Analytics Solution from an Azure Template http://sqlmag.com/power-bi/build-your-cloud-analytics-solution-azure-template <div class="field-byline"> Quickly generate building blocks needed for analytics using templates </div> <div class="node-body article-body">Cloud computing presents a unique platform for generating complex analytics solutions quickly. With the use of pre-build solution templates, Azure provides an easy mechanism to get started.</div> <p><a href="http://sqlmag.com/power-bi/build-your-cloud-analytics-solution-azure-template" target="_blank">read more</a></p> http://sqlmag.com/power-bi/build-your-cloud-analytics-solution-azure-template#comments Power BI Analytics Azure Business Intelligence Business Intelligence Professional Cloud BI Power BI Tue, 27 Dec 2016 14:24:00 +0000 34591 at http://sqlmag.com SQL Server IO Analysis Part 1 http://sqlmag.com/database-administration/sql-server-io-analysis-part-1 <div class="node-body article-body">The SQL Server Dynamic Management Objects provide a wealth of information about performance within the internal structures of Microsoft SQL Server. In this series Tim Ford will start with identifying the base Dynamic Management Function involved in collecting IO baselines. In subsequent articles in this series he'll expose collection, benchmarking, statistical analysis and reporting of the metadata collected for use in root cause analysis as well as in refuting misconceptions about performance issues rooting themselves in "poor storage performance rather than burdensome untuned queries.</div> <p><a href="http://sqlmag.com/database-administration/sql-server-io-analysis-part-1" target="_blank">read more</a></p> http://sqlmag.com/database-administration/sql-server-io-analysis-part-1#comments Database Administration DMF DMO DMV dm_io_virtual_file_stats IO latency Performance script SQL Fri, 23 Dec 2016 20:10:00 +0000 23341 at http://sqlmag.com Quick T/SQL Tip: Parsing Drive and File Information in SQL Server http://sqlmag.com/sql-server/quick-tsql-tip-parsing-drive-and-file-information-sql-server <div class="node-body article-body"><p>Parsing full physical file names for information is one of those tasks a Database Administrator finds they do on a semi-frequent basis; from looking up SQL Agent Job output paths or reviewing database file metadata.&nbsp; Recently,&nbsp;I found myself&nbsp;updating a SQL Server Reporting Services report&nbsp;which provides SQL Agent Job failure history to the DBA Team.&nbsp; I was adding functionality that would include the output file for any job hitting the report.&nbsp; This allows the DBA to troubleshoot the failure details without having to navigate to the job on the instance and pull </p></div> <p><a href="http://sqlmag.com/sql-server/quick-tsql-tip-parsing-drive-and-file-information-sql-server" target="_blank">read more</a></p> http://sqlmag.com/sql-server/quick-tsql-tip-parsing-drive-and-file-information-sql-server#comments SQL Server file parse path String Transact SQL Fri, 16 Dec 2016 17:00:00 +0000 20331 at http://sqlmag.com What You Need to Know about DATETIMEOFFSET and SQL Server 2016's AT TIME ZONE Function http://sqlmag.com/sql-server/what-you-need-know-about-datetimeoffset-and-sql-server-2016s-time-zone-function <div class="node-body article-body">Time zone related calculations with DATETIMEOFFSET values can get quite tricky. Prior to the introduction of the AT TIME ZONE function the two main tools that we had for time zone conversions were the TODATETIMEOFFSET and SWITCHOFFSET functions.</div> <p><a href="http://sqlmag.com/sql-server/what-you-need-know-about-datetimeoffset-and-sql-server-2016s-time-zone-function" target="_blank">read more</a></p> http://sqlmag.com/sql-server/what-you-need-know-about-datetimeoffset-and-sql-server-2016s-time-zone-function#comments SQL Server AT TIME ZONE DATETIMEOFFSET sql server 2016 SQL Server Administration Tue, 13 Dec 2016 10:44:00 +0000 34581 at http://sqlmag.com Configuring R on SQL Server 2016 http://sqlmag.com/sql-server/configuring-r-sql-server-2016 <div class="node-body article-body"><p>As people look to incorporate R code into their SQL Server environment there are a lot of questions surrounding how it works. &nbsp;As R is very memory intensive, is it possible that people running R code will prevent other processes from running? What processes should be monitored to determine the impact of R code on SQL Server performance? Does the server need to have internet access to run R? Is it possible with R to consume server memory without even loading something onto the server? Why do you have to run R code as an external script within SQL Server?</p></div> <p><a href="http://sqlmag.com/sql-server/configuring-r-sql-server-2016" target="_blank">read more</a></p> http://sqlmag.com/sql-server/configuring-r-sql-server-2016#comments SQL Server Tue, 06 Dec 2016 15:45:00 +0000 34511 at http://sqlmag.com Top 10 Free SQL Server eBooks http://sqlmag.com/resources/top-10-free-sql-server-ebooks <div class="node-body article-body">Looking for more resources on SQL Server? Explore these top 10 SQL Server ebooks. From Introducing Microsoft SQL Server 2016 to SQL Server Execution Plans, in this guide you will find ebooks covering the most trending topics on SQL Server. </div> <p><a href="http://sqlmag.com/resources/top-10-free-sql-server-ebooks" target="_blank">read more</a></p> SQL Server 2016 Resources Thu, 01 Dec 2016 19:15:00 +0000 34561 at http://sqlmag.com Microsoft Announces Enterprise Edition Features Across all Editions of SQL Server 2016 http://sqlmag.com/sql-server-2016/microsoft-announces-enterprise-edition-features-across-all-editions-sql-server-2016 <div class="node-body article-body">Major announcements from Scott Guthrie of Microsoft at the 2016 Connect Conference concerning enterprise edition features availability and SQL Server on Linux.</div> <p><a href="http://sqlmag.com/sql-server-2016/microsoft-announces-enterprise-edition-features-across-all-editions-sql-server-2016" target="_blank">read more</a></p> http://sqlmag.com/sql-server-2016/microsoft-announces-enterprise-edition-features-across-all-editions-sql-server-2016#comments SQL Server 2016 2016 always encrypted connect 2016 docker edition Enterprise in memory oltp linux PolyBase preview SP1 sql sever standard Mon, 21 Nov 2016 16:25:00 +0000 34501 at http://sqlmag.com https://www.baboo.com.br/eventos-treinamentos/microsoft-connect-2016-ao-vivo/ ETL in the Cloud with Azure http://sqlmag.com/sql-server-integration-services/etl-cloud-azure <div class="field-byline"> Mark Kromer, Microsoft Azure Cloud Data Solution Architect </div> <div class="field-deck"> Here are a few options for using the Azure platform for ETL </div> <div class="node-body article-body">As you transition your data platform into the Cloud, it will be important to consider options for data movement, transformation and aggregation. Let's take a quick look at a few options that enable Cloud ETL in Azure.</div> <p><a href="http://sqlmag.com/sql-server-integration-services/etl-cloud-azure" target="_blank">read more</a></p> http://sqlmag.com/sql-server-integration-services/etl-cloud-azure#comments SQL Server Integration Services Analytics Azure azure data factory Business Intelligence Business Intelligence Professional cloud Cloud BI DataWarehousing elt ETL Machine Learning Thu, 17 Nov 2016 14:52:00 +0000 34491 at http://sqlmag.com Logical Query Processing Part 8 : SELECT and ORDER BY http://sqlmag.com/sql-server/logical-query-processing-part-8-select-and-order <div class="node-body article-body">Logical query processing defines the conceptual interpretation of queries. A good understanding of this topic is key to writing correct and robust queries. </div> <p><a href="http://sqlmag.com/sql-server/logical-query-processing-part-8-select-and-order" target="_blank">read more</a></p> http://sqlmag.com/sql-server/logical-query-processing-part-8-select-and-order#comments SQL Server logical query processing SQL Server sql server 2016 Wed, 16 Nov 2016 01:46:00 +0000 34481 at http://sqlmag.com Don't Panic: Busting a File Space Myth http://sqlmag.com/database-administration/dont-panic-busting-file-space-myth <div class="node-body article-body">Just because a data file is almost out of space doesn't mean it's going to endure an auto-grow event.</div> <p><a href="http://sqlmag.com/database-administration/dont-panic-busting-file-space-myth" target="_blank">read more</a></p> http://sqlmag.com/database-administration/dont-panic-busting-file-space-myth#comments Database Administration auto AutoGrow data file filegroup group grow proportional fill space SQL Mon, 14 Nov 2016 23:12:00 +0000 34461 at http://sqlmag.com Don't Expect Good Decisions from Bad Data http://sqlmag.com/analysis/dont-expect-good-decisions-bad-data <div class="node-body article-body"><p><strong>Bad Data Bad Decisions</strong></p></div> <p><a href="http://sqlmag.com/analysis/dont-expect-good-decisions-bad-data" target="_blank">read more</a></p> http://sqlmag.com/analysis/dont-expect-good-decisions-bad-data#comments Analysis bad data IoT Machine Learning sentiment analysis Wed, 09 Nov 2016 19:42:00 +0000 34451 at http://sqlmag.com PASS Summit 2016 Women in Technology Luncheon http://sqlmag.com/sql-server/pass-summit-2016-women-technology-luncheon <div class="node-body article-body">Kelly Lockwood Primus, SVP, Strategic Client Solutions at Leading Women, was the keynote speaker at the annual PASS Women in Technology Luncheon that took place at the recent PASS Summit. Her talk was titled Leadership, The Missing 33%TM and Career Success for Women and presented research identifying nine critical differentiators for moving from middle management into senior and executive positions. </div> <p><a href="http://sqlmag.com/sql-server/pass-summit-2016-women-technology-luncheon" target="_blank">read more</a></p> http://sqlmag.com/sql-server/pass-summit-2016-women-technology-luncheon#comments SQL Server #sqlsummit PASS SQL technology WIT women Fri, 04 Nov 2016 18:50:00 +0000 34441 at http://sqlmag.com <p>Kelly Lockwood Primus talks with attendees right after her discussion at SQL PASS. <a href="https://twitter.com/sqlpass/status/791737136080977921">Image via SQL PASS</a></p> What Every Accidental DBA Needs to Know Now: SQL Server Agent Part 1 - Job Scheduling http://sqlmag.com/database-administration/what-every-accidental-dba-needs-know-now-sql-server-agent-part-1-job-schedul <div class="node-body article-body"><p><strong>Introduction</strong></p></div> <p><a href="http://sqlmag.com/database-administration/what-every-accidental-dba-needs-know-now-sql-server-agent-part-1-job-schedul" target="_blank">read more</a></p> http://sqlmag.com/database-administration/what-every-accidental-dba-needs-know-now-sql-server-agent-part-1-job-schedul#comments Database Administration Job schedule sql server agent Wed, 02 Nov 2016 11:58:00 +0000 34351 at http://sqlmag.com One Month Free Trial for Azure Data Warehouse http://sqlmag.com/business-intelligence/one-month-free-trial-azure-data-warehouse <div class="node-body article-body">Looking to test out Microsoft Azure Data Warehouse? How about doing so for free for one month?</div> <p><a href="http://sqlmag.com/business-intelligence/one-month-free-trial-azure-data-warehouse" target="_blank">read more</a></p> http://sqlmag.com/business-intelligence/one-month-free-trial-azure-data-warehouse#comments Business Intelligence Azure cloud datawarehouse free Microsoft warehouse Wed, 02 Nov 2016 03:45:00 +0000 34341 at http://sqlmag.com Microsoft Announces Azure Analysis Services Preview at PASS Summit 2016 http://sqlmag.com/sql-server/microsoft-announces-azure-analysis-services-preview-pass-summit-2016 <div class="node-body article-body">The PASS Summit - the largest conference for Microsoft Data Professionals - kicked off the 2016 event in Seattle today with a number of exciting announcements; including news about Analysis Services availability on the Azure cloud platform.</div> <p><a href="http://sqlmag.com/sql-server/microsoft-announces-azure-analysis-services-preview-pass-summit-2016" target="_blank">read more</a></p> http://sqlmag.com/sql-server/microsoft-announces-azure-analysis-services-preview-pass-summit-2016#comments SQL Server Analysis Services Azure PASS Thu, 27 Oct 2016 03:13:00 +0000 34301 at http://sqlmag.com At SQL PASS, a vision of analyzing any data, anywhere, by anyone http://sqlmag.com/sql-server/sql-pass-vision-analyzing-any-data-anywhere-anyone <div class="field-byline"> Michael Morisy </div> <div class="field-deck"> The democratization of analytics means more opportunities in the SQL world </div> <div class="node-body article-body">There's a lot of news coming out of SQL PASS Summit 2016, and the annual gathering only just begun. At the keynote, Joseph Sirosh, corporate vice president of Microsoft's data group, gave a whirlwind tour of a number of key items, ranging from a new version (and new name) for Microsoft's Cognitive Toolkit to free month-long test drives of Azure SQL Data Warehouse.</div> <p><a href="http://sqlmag.com/sql-server/sql-pass-vision-analyzing-any-data-anywhere-anyone" target="_blank">read more</a></p> http://sqlmag.com/sql-server/sql-pass-vision-analyzing-any-data-anywhere-anyone#comments SQL Server Thu, 27 Oct 2016 03:02:00 +0000 34331 at http://sqlmag.com Azure SQL Data Warehouse free — for a month http://sqlmag.com/sql-server/azure-sql-data-warehouse-free-month <div class="field-deck"> Take Azure SQL Data Warehouse for a spin risk free with new trial program </div> <div class="node-body article-body"><p>Who doesn&#39;t like getting something free? At SQL PASS Summit 2016, Microsoft announced free month-long trials of&nbsp;SQL Data Warehouse between now and December 31, 2016.</p></div> <p><a href="http://sqlmag.com/sql-server/azure-sql-data-warehouse-free-month" target="_blank">read more</a></p> http://sqlmag.com/sql-server/azure-sql-data-warehouse-free-month#comments SQL Server Wed, 26 Oct 2016 21:37:00 +0000 34321 at http://sqlmag.com <p>Image licensed under <a href="https://creativecommons.org/licenses/by/2.0/">Creative Commons</a> by&nbsp;<a href="https://www.flickr.com/photos/f-r-a-n-k/225761539">Frank Hebbert</a>.</p> At SQL PASS 2016, Microsoft releases beta of Cognitive Toolkit 2.0 http://sqlmag.com/business-intelligence/sql-pass-2016-microsoft-releases-beta-cognitive-toolkit-20 <div class="field-byline"> Michael Morisy </div> <div class="field-deck"> Satya Nadella's vision for Microsoft: Be the "Gutenberg Press" of the AI age </div> <div class="node-body article-body"><p>At SQL PASS Summit 2016, Microsoft&#39;s been making a number of announcements that go beyond SQL and into the future of how data is analyzed. One of those announcements:&nbsp;Joseph Sirosh&#39;s unveiling of the beta of&nbsp;Cognitive Toolkit 2.0, <a href="http://windowsitpro.com/ignite/microsoft-ignite-satya-nadella-positioning-microsoft-be-gutenberg-press-ai-age">one piece of Satya Nadella&#39;s vision for Microsoft to be the Gutenberg press of the AI age</a>.</p></div> <p><a href="http://sqlmag.com/business-intelligence/sql-pass-2016-microsoft-releases-beta-cognitive-toolkit-20" target="_blank">read more</a></p> http://sqlmag.com/business-intelligence/sql-pass-2016-microsoft-releases-beta-cognitive-toolkit-20#comments Business Intelligence Cognitive Toolkit Cognitive Toolkit 2.0 Machine Learning Wed, 26 Oct 2016 20:51:00 +0000 34311 at http://sqlmag.com <p>As Microsoft&#39;s demos have shown, the powers of machine learning are almost unlimited, from curing challenging diseases to identifying what kind of pupper that is.</p> Sending Results of DBCC CHECKDB SQL Agent Job Via Email http://sqlmag.com/database-administration/sending-results-dbcc-checkdb-sql-agent-job-email <div class="node-body article-body">Sending the results of DBCC CHECKDB is not too difficult but there is a couple of things that, if you've not dealt with before, will serve as issues with successfully architecting a solution.</div> <p><a href="http://sqlmag.com/database-administration/sending-results-dbcc-checkdb-sql-agent-job-email" target="_blank">read more</a></p> http://sqlmag.com/database-administration/sending-results-dbcc-checkdb-sql-agent-job-email#comments Database Administration DBCC CHECKDB Email results SQL Agent job Wed, 26 Oct 2016 20:44:00 +0000 34241 at http://sqlmag.com At SQL PASS 2016, Microsoft unveils public preview of Azure Analysis Services http://sqlmag.com/business-intelligence/sql-pass-2016-microsoft-unveils-public-preview-azure-analysis-services <div class="field-byline"> Michael Morisy </div> <div class="field-deck"> Self service BI, now as a service </div> <div class="node-body article-body"><p>As <a href="http://sqlmag.com/sql-server/sql-pass-2016-preview">Michael Otey&nbsp;noted last week</a>, there&#39;s a lot going on at SQL PASS this year. One of the big announcements:&nbsp;Azure Analysis Services public preview.</p> <p>Initially available in&nbsp;South-Central US and West Europe regions,&nbsp;Azure Analysis Services lets developers spin up new servers in seconds and can pull and analyze data from a variety of cloud and on-premise sources.</p></div> <p><a href="http://sqlmag.com/business-intelligence/sql-pass-2016-microsoft-unveils-public-preview-azure-analysis-services" target="_blank">read more</a></p> http://sqlmag.com/business-intelligence/sql-pass-2016-microsoft-unveils-public-preview-azure-analysis-services#comments Business Intelligence Azure Azure Analysis Services Business Intelligence Wed, 26 Oct 2016 18:31:00 +0000 34291 at http://sqlmag.com SQL PASS 2016 Preview http://sqlmag.com/sql-server/sql-pass-2016-preview <div class="field-deck"> What's happening at next week's SQL PASS 2016 Summit </div> <div class="node-body article-body">What's happening at this year's SQL PASS 2016 conference</div> <p><a href="http://sqlmag.com/sql-server/sql-pass-2016-preview" target="_blank">read more</a></p> http://sqlmag.com/sql-server/sql-pass-2016-preview#comments SQL Server SQL PASS Fri, 21 Oct 2016 23:30:00 +0000 34261 at http://sqlmag.com How to Set Up SQL Server Database Mail in One Easy Script http://sqlmag.com/database-administration/how-set-sql-server-database-mail-one-easy-script <div class="node-body article-body">Database Mail in Microsoft SQL Server allows for messaging to occur between SQL Server and anyone with a valid email address. It can be daunting to set up through SQL Server Management Studio but by using the SQL Server Template in this article you'll find you can do so in just a few minutes.</div> <p><a href="http://sqlmag.com/database-administration/how-set-sql-server-database-mail-one-easy-script" target="_blank">read more</a></p> http://sqlmag.com/database-administration/how-set-sql-server-database-mail-one-easy-script#comments Database Administration Database Mail how to setup SQL Server Mon, 17 Oct 2016 13:00:00 +0000 34231 at http://sqlmag.com Logical Query Processing Part 7: GROUP BY and HAVING http://sqlmag.com/sql-server/logical-query-processing-part-7-group-and-having <div class="node-body article-body">This article continues the series about logical query processing, which describes the logical, or conceptual, interpretation of queries.</div> <p><a href="http://sqlmag.com/sql-server/logical-query-processing-part-7-group-and-having" target="_blank">read more</a></p> http://sqlmag.com/sql-server/logical-query-processing-part-7-group-and-having#comments SQL Server group by having logical query processing SQL Server sql server 2016 Thu, 13 Oct 2016 10:27:00 +0000 34221 at http://sqlmag.com What Every Accidental DBA Needs to Know Now: Basics of SQL Security http://sqlmag.com/database-security/what-every-accidental-dba-needs-know-now-basics-sql-security <div class="node-body article-body">Congratulations you're now a DBA! What do you need to know about security for SQL Server? Read on and find out.</div> <p><a href="http://sqlmag.com/database-security/what-every-accidental-dba-needs-know-now-basics-sql-security" target="_blank">read more</a></p> http://sqlmag.com/database-security/what-every-accidental-dba-needs-know-now-basics-sql-security#comments Database Security Database Administration DBA login role schema security SQL Server user Mon, 03 Oct 2016 22:27:00 +0000 34031 at http://sqlmag.com