 | A community of more than 1,600,000 database professionals and growing |
| Featured ContentsFeatured Script |
| The Bad Data Shutdown I'm a car guy. I like cars, I like driving, and I've spent a lot of time and money over the years on vehicles. I've swapped and enjoyed a few dozen automobiles as part of my life. If you are on Twitter, you might occasionally see @BrentO and myself go back and forth on some car topic, usually Porsche related. This usually results in an hour or so of life wasted on dreaming of a new car (including getting distracted while writing this piece and pasting that last link in, where I spent quite some time drooling over the Macan). Recently there was an issue with the navigation system in Lexus vehicles. Apparently bad data was sent during a software update, which is not exactly what you want to happen in a car. I've had a few modern vehicles, some of which would be quite handicapped if they onboard computer were frozen or rebooting. In my current vehicle, this would cause issues with climate, navigation, entertainment, and potentially other systems. After all, I suspect many things from door locks to speed control are all integrated together. Certainly the drivetrain is as an open door will automatically shift my car from drive to park, at least at low speeds. As we move to more drive by wire, bad data or bad software that disrupts the computer systems could be very dangerous. It's not just updates, but this could even be some internal Denial of Service issue from a USB device or bluetooth connection. In this case, Lexus acknowledged the problem, which I'm glad to see. The Internet ensures that problems can be reported from many users quickly and very publicly. That makes it hard to deny a widespread problem. Delivering updates across wireless links is great. It's cheaper for everyone, saves time, and owners appreciate convenience. However, moving to this model often requires some sort of continuous delivery (CD) process, which should also allow for rolling forward, and releasing fixes for problems. However, if the updates you deliver cause the system to cease functioning, then this doesn't help. At the last, your QA system needs work and you don't have a well designed software delivery process. Various companies are getting better at delivering updates to our systems without downtime, but there's still work to be done. The smaller your domain of clients, the easier this is. For many of us that work on small systems, an application server or two and a database, we can certainly get much better at ensuring our updates are tested, and more importantly, that we can quickly deploy a second patch if we find an issue. That requires engineering a process that is known and stable, with the ability to respond quickly. For larger systems, with many clients, you need a really solid engineering and deployment process. Above all, however, no matter what your deployment mechanism for updates, you need to be sure that any data you include is at the quality level you'd expect would be delivered to you. 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.7MB) 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 |  | How to track every change to your SQL Server database See who’s changing your database, alongside affected objects, date, time, and reason for the change with SQL Source Control. Get a full change history in your source control system. Learn more. |
|  | SQL Toolbelt – everything you need to work with SQL Server Redgate’s SQL Toolbelt contains the industry-standard tools you need to make you and your team more productive, to protect your data and manage performance, and to include your database in agile processes. Find out more and download your free trial. |
|  | Join SQL Clone early access program Redgate’s building a new tool to enable rapid SQL Server provisioning, while safeguarding your data and making efficient use of disk space. SQL Clone takes the pain out of creating and managing multiple copies of production databases, helping you and your team deliver new features and upgrades fast. Join the early access program to try the latest release. Join now. |
|
|
|
| |  | Daniel Calbimonte from SQLServerCentral.com In this demo, we will give an introduction from 0 about Power BI and how to connect to Azure SQL Databases and Google Analytics More » |
 | Additional Articles from SimpleTalk DBAs can be more effective in managing their workload by centralizing their procedures. There are several features of SQL server that can be harnessed to this end: PowerShell is only part of the solution: there is also Central Management Server, Master /Target Agent and the Remote Server Administration Tools. It's time to work out your objectives and pick the most suitable technologies to meet them. More » |
 | Kenneth Fisher from SQLServerCentral Blogs Like many other programming languages T-SQL uses parentheses () for a number of tasks. To help determine precedence, function calls etc.... More » |
 | Devin Knight from SQLServerCentral Blogs In this module you will learn how to use the KPI Indicator (This is kind of like saying “ATM Machine”... More » |
|
|
| | Today's Question (by Steve Jones): What is the default path mode for querying JSON documents in SQL Server with OPENJSON? |
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 2 points in this category: JSON. 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 | Pro Power BI Desktop This book shows how to deliver eye-catching Business Intelligence with Microsoft Power BI Desktop. You can now take data from virtually any source and use it to produce stunning dashboards and compelling reports that will seize your audience’s attention. Slice and dice the data with remarkable ease then add metrics and KPIs to project the insights that create your competitive advantage. |  | |
|
|
|
|
|
| Yesterday's Question of the Day |
| |
| | Sheraz Mirza from SQLServerCentral.com This Script will Generate a Script as a ResultSet, which need to be run to create Foreign Keys, or could be saved for future use. This is a useful script to Regenerate Foreign Key Constraint , if its been deleted accidently or on purpose, and situation can be critical if those constaints name are been used within our Application code, When you run the script it will give you 2 ResultSets, First one is information about fetched Foreign Keys , and other one is Alter Script to add those foreign keys in corresponding tables.  You can save that Second ResultSet to use as a whole or as a part to recover any Foreign Key. There is a drawback in the script, i.e For Composite Foreign Keys, it generates create command twice, which cause an error, which needs to be fix manually. In this case you need to delete second command and modify first one with appropriate syntax. See you next time guys.... More » |
|
|
| Database Pros Who Need Your Help |
| Here's a few of the new posts today on the forums. To see more, visit the forums. Finding a substring and extracting a number associated with it - Hi, I have a text string that appears in files as below: 'There were 6 discharges and 3 admission since reporting 21/04/2016' However... Job doesn't run as per schedule at 1:05a, but runs when triggered manually. - Hi, I am not sure if this is a unique issue for me or is it a known issue for others... Stored Procedure execution - Hi Team, In one of our prod server one stored procedure is taking long time to execute than normal execution. It is... Can I recover Missing Database File From Backup? - So another DBA stopped the SQL Server service and deleted a .ndf file last night in the Dev environment as... DB Single User mode - Hi All, Some body has put one of my DBs in single user mode. But not sure who did it. I... Monitoring Log File Autogrowth. - I am in a need to track database log file growth. I googled a lot but did not get the... Using SSIS to copy rows from SQL server 2008R2 to MySQL - I'm hoping that someone might have some good advice on this one. Basically I have a table with 3.5M rows... Correct MAXDOP setting - Hi All, I have a VM with 32GB RAM and 12 processors (SQL 2012 SP3 Ent 64bit) What would be the correct... Deadlocks with Object Locks - NO objectids - Getting deadlocks between 2 or more SPIds. It gives you the spids, but does not specify what resource is involved.... Query - Hi I have 1 query which returns record order by ID like this. Now i want that in addition to the... HTML Backup Report Design Considerations & T-SQL script - I'll be quick on this one. Basically, I have a requirement to develop a script that would provide the client... Help with SQL please - Hello, I hoping somebody can help with a sql issue I have. WE have sales orders and works orders. I am... Help creating a dynamic table of numbers - Hello all, I'm trying to dynamically create a table of days spanned for a aging report. I would like the end... Date Range overlaps - hi I have the sample data:Insert Into @Table (Id,Code, StartDate, EndDate, TimeDiff) [code="sql"]SELECT 1, 'DA6310', '2016-06-20 09:25:00.000', '2016-06-20 11:15:00.000', 110 Union... UNION with CASE statement - Hi Experts, I am getting error in running this query, It has to do with data type conflict. But I am... CPU Usage 100% - I sometimes find one of my SQL server CPU usage pegged at 100% and I don’t know what to do... SSRS report manager not rendering charts - We have built out a new report server using SQL 2012. After deploying our new and old reports to this... SQL in SSIS - I have an SSIS package where I gather servernames within execute sql task. Then I have a for each loop which... Multidimensional vs Tabular - Hey, I'm completely new to SSAS and doing some research whilst working through tutorials to build my first analysis database. One thing... Rename file - prefix with file date - I receive three versions of a file each day, which I then import. But the file names are such that... |
|
| This email has been sent to newsletter@newslettercollector.com. To be removed from this list, please click here. If you have any problems leaving the list, please contact the webmaster@sqlservercentral.com.
| 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 ©2015 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved. Contact: webmaster@sqlservercentral.com |
|
|