| A community of more than 1,600,000 database professionals and growing |
| | Using Better Tools There are good tools available to help you work with your SQL Server database or build better applications. Microsoft has built some, most of which I think are basic and not great, but plenty of third parties have offered products in the Microsoft ecosystem that can help you build better systems. I work for a software vendor (Redgate Software). We build all sorts of tools to help you work with SQL Server. I enjoy working for Redgate because I think we build some great software that's valuable, and I hope you check us out. Most of our our utilities cost money, but we have some cool, free tools, like SQL Search and DLM Dashboard. I get that some organizations don't have the budget for third party tools. That's too bad, but there are some good tools out there, and I think many of us vendors do provide value in saving you time and effort in working with the Microsoft platform. If that's worth the cost, you should consider using tools. At the very least, you should be aware of the free and paid extras out there and consider the ones that help you. What I find strange is that some orgs don't allow any third party tools, free or paid, because they don't come from Microsoft. They may even disallow utilities like sp_Blitz, sp_whoisActive, and the dbatools project. What I don't understand is why there is a blanket ban on software from companies other than Microsoft? How can you not take advantage of these tools? I get that many companies might not want a developer or DBA installing some random software on their system whenever they want. There are good reasons to not do that, but there are also good reasons to test and use actual code that is useful, even if produced by someone else. What's also interesting is that rarely find an issue with Ola's backup scripts, so why would Minion Backup or these other tools be different? After all, most of these are open source, so you can see the code. It's really no different than the code that an employee might write, howover many companies don't have employees that can write this software. You can see the Powershell for dbatools on Github, so what's the issue? You can test this code like you might test your own code. In fact, you should aways do this, but you can also count on other people having tested this code as well, perhaps in ways you wouldn't think of exercising it. You might even be doing this, with employees cut and pasting code from one of these utilities on your system and passing it off as their own work. Every company might need restrictions on code that goes to production systems. Certainly they should have ways to patch and update this code, especially as many of the issues found from open source software stem from organizations not applying patches. All code should be tested and verified, whether written by FTEs, contractors, purchased, or downloaded from the Internet. However, once you can verify code, there shouldn't be restrictions on deploying code just because it wasn't written by Microsoft. After all, many in the community might write better code than Microsoft, and often do. Take advantage of the tools that are out there. Use free ones if you can and buy third party products if they give you value for your money. However, don't just say that we can't install something because it's not on the install media. Your build process should be scripted, treating configuration as code, and add those useful (tested) tools to all your systems. Steve Jones from SQLServerCentral.comJoin the debate, and respond to today's editorial on the forums |
| The Voice of the DBA Podcast Listen to the MP3 Audio ( 4.8MB) podcast or subscribe to the feed at iTunes and Libsyn. The Voice of the DBA podcast features music by Everyday Jones. No relation, but I stumbled on to them and really like the music. | |
|
|
| ADVERTISEMENT | | Watch SQL in the City Streamed 2017 The livestream recording for Redgate's December 2017 virtual event is now available. Technical sessions went into the latest Microsoft SQL Server releases, and covered topical issues such as DevOps, data compliance, protection & privacy. Watch the recording |
| | SQL Clone: Now supporting databases up to 64TB Create copies of production databases and SQL backups in seconds and save up to 99% of disk space using SQL Clone. Redgate’s new tool removes much of the time and resource needed to create and manage database copies, allowing teams to work on local environments to develop, test and diagnose issues faster. Try it free |
|
|
|
| | | Additional Articles from SimpleTalk Python is a very popular language used for many purposes including machine learning. SQL Server 2017 supports Python with its Machine Learning Services component. Robert Sheldon explains how to get started using Python in SQL Server in the first article of this series. More » |
| There are so many features in Microsoft Visual Studio Team Services that it can be difficult to wrap your head around what all they do and if you’re utilizing the tool to its fullest potential. More » |
| Solomon Rutzky from SQLServerCentral Blogs So, the actual question is a bit more specific than would reasonably fit into a title, and it is: In a... More » |
| Jason Brimhall from SQLServerCentral Blogs I have been working on this article for far longer than one might think is necessary for something of this... More » |
|
|
| | Today's Question (by Evgeny Garaev): You have a table with a clustered rowstore index in SQL Server 2016. How many non-clustered columnstore indexes you can create on this table if the table definition looks like this: create table numbers ( id int constraint PK_numbers primary key clustered, data1 char(100), data2 varchar(100) ); |
Think you know the answer? Click here, and find out if you are right. We keep track of your score to give you bragging rights against your peers. This question is worth 1 point in this category: Columnstore Indexes. We'd love to give you credit for your own question and answer. To submit a QOTD, simply log in to the Contribution Center. |
|
|
| |
ADVERTISEMENT | The company's new IT initiative, code named Phoenix Project, is critical to the future of Parts Unlimited, but the project is massively over budget and very late. The CEO wants Bill to report directly to him and fix the mess in ninety days or else Bill's entire department will be outsourced. Get your copy from Amazon today. | | |
|
|
|
|
|
| Yesterday's Question of the Day |
| Yesterday's Question (by Steve Jones): I have this function I've built in R. > mycoolfunction <- function(x) + { y <- x * 10 + return paste("my favorite number is ", y) } What happens when I run this code? > a <- 5:7 > sapply(a, mycoolfunction) Answer: I get three strings returned, but the vector is unchanged Explanation: The sapply will use the first argument as an input to the second parameter, which is a function. In this case, that means I get this returned: [1] "My favorite number is 50" "My favorite number is 60" [3] "My favorite number is 70" The vector, a, is unchanged. Ref: Using sapply - click here » Discuss this question and answer on the forums |
|
|
| Database Pros Who Need Your Help |
| Here's a few of the new posts today on the forums. To see more, visit the forums. Rounding a numeric value to nearest integer - Hi , I am trying to round the following numbers to nearest integer. SELECT ROUND(9.6,0) SELECT ROUND(99.6,0) The above two statements failing with the... Find a string with two dots - Hi , I have two values 13.4. and 16.8.7 in a field that is varchar type. I am trying to convert... Restarting SQLServerAgent - Since I have jobs and stored procedures that need to write to network locations, I run both SQL Server and... Multiple AG groups in one Windows failover cluster? - In an organisation I found the following setup: Six VMs SQL1 to SQL6 in the same domain, each host two instances.... Row inserts for groups of rows (Totals for groups of like data). - I want to group data like all invoices from a supplier which is easy enough but when selecting multiple suppliers,... Find a sub string in a column based on values in a reference table - Good morning, I am not quite sure how to approach the problem. I have a table for customer and vendor... Replayable Extended Events? - Before, when we needed to collect workload from production, we used to run replayable trace. But in new versions, since... Extended Events captures query_hash/query_plan_hash to 0 in some queries - Extended Events captures query_hash/query_plan_hash to 0 in dynamic query sometimes, anyone knows why? thanks! XE: The database principal has granted or denied permissions to catalog objects in the database and cannot be dropped - Dear all, I get the following error message when trying to remove a login on SSISDB even though it has no... issue joining on Temp Table - crashes at /* Joining on Prod_Class */ section. Issue has something to do with joining on a created temp table. thoughts? SELECT * INTO #TEMP1 From (Select L.PART_NUM ,Like_PD_ID ,PD_ID from ADHOC.ATS_ESH... create procedure gets stuck on select - CREATE PROCEDURE sp_cenik as begin DECLARE @OD DATETIME, @DO DATETIME, @TipSobe VARCHAR(6), @KodaCenika INT, @Sezona INT SELECT @Od = :a2, @Do = :a3, @TipSobe = :a1, @KodaCenika = :a4; I get: "Msg 102, Lev Skip rows when import a Flat File - Hi, I need to import two Flat Files, but I need to skip the 2nd and 3rd row from one of... Trigger to avoid drop online database - Hey guys, I need to create a trigger which can prevent to drop an online database. Trigger is working with normal... Is there a way to identify dynamic sql that may be vulnerable to sql injection? - Is there a way to identify if there is any dynamic sql in use in a database that may be... On the same server, can you use a TABLE-valued user-defined function from another database? - I did search but could find a specific answer. I can use another db's scalar function, but for whatever reason,... SQL JOB Failing Unable to complete login process due to delay in prelogin response - Hi Experts, One of my SSIS job is failing due to error below. I have one server "A" where all SSIS... XML Query help - Hi, I have below XML and i need to fetch the data for First set of token tag <tokens> <token> <typeid>1</typeid> ... OPENROWSET when Excel worksheet name is unknown - I've created a stored procedure that accepts two arguments: the name of an Excel workbook (@workbookBillRun), and the name of... email with attachment powershell - This code runs successfully but does not send an email.Any help is appreciated. Add-PSSnapin Microsoft.Exchange.Management.Powershell.Admin -erroraction silentlyContinue function sendmail_withAttachment { Param ( # $smtpServer... Is My Foreign Key Table Unnecessary? - I'm sure this has been addressed many times here but none of the search terms I've tried have surfaced anything... |
|
| This email has been sent to [email protected]. To be removed from this list, please click here. If you have any problems leaving the list, please contact the [email protected]. | This newsletter was sent to you because you signed up at SQLServerCentral.com. Feel free to forward this to any colleagues that you think might be interested. If you have received this email from a colleague, you can register to receive it here. | This transmission is ©2018 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. Contact: [email protected] |
|
|