Problems displaying this newsletter? View online.
SQL Server Central
Featured Contents
Question of the Day
The Voice of the DBA
 

Words vs Data

I would guess that most of you reading this are very comfortable looking at data for insights and answers. You might even prefer to provide a result set instead of a picture or chart to a user when they are asking for help with data analysis. However, do you add any words to your analysis to help? Any descriptions, summaries, or conclusions that could be drawn from the data or the picture?

I ran across a blog asking about the right ratio of words to data. The post uses the childhood story of Goldilocks and the Three Bears. Many of you might know the story and have drawn your own conclusions of what the story shows or means. If you read this post, you will find a very different interpretation. While some of you may not think that's a valid interpretation, it's possible that some thought that when they first heard the story.

The point of the post is that we can provide data and pictures, but others might interpret things differently. Each of us has our own point of view, our own experiences, and our mood. That last one might lead us to focus on a piece of data or a part of the picture that the author didn't intend for us to focus on, or didn't think was relevant. Without any sort of guidance on the narration from the author, we don't know how closely our interpretation matches theirs.

Many of us have certainly seen others spin data, especially aggregates and statistics, to suit a narrative. However, the idea of providing some narrative isn't to hide or mislead, but rather give context to what you see in the report. As the blog notes, don't leave their interpretation to chance. Give them a "well-crafted, objectively reasonable narrative that is supported by your data."

Or, if you don't have one, let them know that and ask them to send you one back showing what they see or what they expect.

Steve Jones - SSC Editor

Join the debate, and respond to today's editorial on the forums

 
  Featured Contents
SQLServerCentral Article

An Effective Approach for High Volume Data in Azure Synapse

hanza12 from SQLServerCentral

Learn about how you can efficiently load data in Azure Synapse.

External Article

SSMS Export to Excel

Additional Articles from MSSQLTips.com

You’re running an ad-hoc query in a Microsoft SQL Server database with SQL Server Management Studio (SSMS) and need to further analyze the result set in an Excel spreadsheet. How do you export the data?

Blog Post

From the SQL Server Central Blogs - Using OneLake for Excel Files in Microsoft Fabric

DataOnWheels from DataOnWheels

Hey data friends! This blog is to discuss an edge case I’ve run into in Microsoft Fabric. I won’t go into all the context, but the goal was to...

Blog Post

From the SQL Server Central Blogs - Monday Monitor Tips: Using the PowerShell API

Steve Jones - SSC Editor from The Voice of the DBA

Redgate Monitor has grown tremendously from its early days and I find many customers using this to monitor lots of servers, like thousands. In those cases, some of tasks...

Pro SQL Server 2022 Wait Statistics: A Practical Guide to Analyzing Performance in SQL Server and Azure SQL Database

Site Owners from SQLServerCentral

Use this practical guide to analyze and troubleshoot SQL Server performance using wait statistics. You'll learn to identify precisely why your queries are running slowly. And you'll know how to measure the amount of time consumed by each bottleneck so you can focus attention on making the largest improvements first. This edition is updated to cover analysis of wait statistics current with SQL Server 2022. Whether you are new to wait statistics, or already familiar with them, this book provides a deeper understanding on how wait statistics are generated and what they mean for your SQL Server instance’s performance. 

 

  Question of the Day

Today's question (by Steve Jones - SSC Editor):

 

Taking File Backups

What options do I have in SQL Server 2022 for file and filegroup backups?

Think you know the answer? Click here, and find out if you are right.

 

 

  Yesterday's Question of the Day (by Steve Jones - SSC Editor)

Precision and Scale I

I have this number: 456.23

What is the scale of this number?

Answer: 2

Explanation: The scale of this number is 2 and the precision is 5. Ref: Precision, scale, and length - https://learn.microsoft.com/en-us/sql/t-sql/data-types/precision-scale-and-length-transact-sql?view=sql-server-ver16

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.


SQL Server 2016 - Administration
Over period of time application stop connecting to AG database - Hello. SQL version - 2016 , windows 2019 both are enterprise edition Over period of time application stop connecting to Alwayson availability group database. what could be reason why application stop working automatically? please suggest. Checked SQL Error logs not found any errors regarding connections. also windows event viewer not found cluster related errors. application […]
SQL Server 2016 - Development and T-SQL
Calculating Numerator and Denominator - Good evening, I have a rather peculiar issue while trying to calculate Numerator and Denominator for a Final Temporary Table I have built (using a couple of Intermediary Temporary Tables along the way).   ATTEMPT 1 The following two lines were my initial attempt (on the Final Temp): Cast(SUM(CASE When  Then 1 Else 0 […]
trying to call powershell from TSQL statement - Hello, trying to call a powershell file I created, locally on the server, but also, made sure since this has an always on cluster, to first check if its PRIMARY, BUT, what i am having trouble with, is using the xp_cmdshell command... when i run the following: EXEC xp_cmdshell 'powershell.exe -File E:\folder\RunToExport.ps1' it gives the […]
Administration - SQL Server 2014
Getting below error - An error occurred during recovery, preventing the database 'XXXXX' (28:0) from restarting. Diagnose the recovery errors and fix them, or restore from a known good backup. If errors are not corrected or expected, contact Technical Support. (.Net SqlClient Data Provider) (Microsoft SQL Server, Error: 3414) Version : Microsoft SQL Server 2012 (SP4-GDR) (KB4583465) - 11.0.7507.2 […]
Development - SQL Server 2014
Why is "SELECT *" about 10 times faster than "SELECT (ALL Columns)" - Dear all, I have noticed that  a "SELECT * ..."  is about 10 time faster than "SELECT Column1, Column2, ... LastColumn  FROM Table WHERE ID = (number)" 70 ms <-> 650 ms The Queryplans are equal and so are the costs - in both cases it is a grouped index scan with a Cost of […]
SQL Server 2019 - Administration
File date from Extended Event .xel files - I know this, but I do not remember it. I have scoured by saved scripts as well a lot of google-fu. I have multiple extended event files. Activity_0_133820397244150000.xel Activity_0_133820364382140000.xel Activity_0_133820332071900000.xel This portion of the file name is a representation of the date and time, correct??? 133820397244150000 133820364382140000 133820332071900000 How can I calculate this????
restore db as db_copy. resolve hardcoded references within procedures to db. - So I backup & restore db as db_copy. within both there is a proc that does: update [db]..[column] I need it to say: update [db_copy]..[column] (Simplified, above x 1000) Is there a step in backup / restore to do this?  Is there a quick resolution?  Is this poor coding in the first place?   Thank […]
SQL Server 2019 - Development
Is it possible to create a parameter and use different datasets? - Hello, I have an SSRS report, version 2019,  that has two parameters, which will call for three different datasets.  Parameter:  Continent >  3 values (Label)  = ASIA, EUROPE, SOUTH_AMERICA Parameter: Country -> cascading from the first parameter. Values are generated from the following datasets. Datasets  - DS_Asia;  Fields:  Continent, Country;  DS_Europe: Fields: Continent, Country; DS_South_America: […]
Select statement with in using multiple columns - I inherited a mess.   The previous developer did not understand how to set up a database properly. Beside not using proper data types, he did not use normalization, One of the things I need to do now is query on a table, see below, that has 4 columns now (it was multiple tables, 1 for […]
any thoughts on datasphere? - hi my boss asked me to take a look at sap's datasphere product as a reporting alternative to ssrs. does the community have any thoughts on it?   specifically how it compares to ssrs in user friendliness, time to market, cost of ownership maintenance wise?   we have maybe one user who writes ssrs.   in IT one […]
Final SELECT with WHERE based on passing in variable from Dropdown box - Is there a way to base the final select statement based on whether a user chooses, from a report dropdown box, a date range based on e.g.: PaidDate or DateOfService similar to the below (which doesn't work): SELECT CASE WHEN @dateChoice = 'DOS' THEN ( SELECT DISTINCT tp.client_id AS Member_ID ,tp.PaidDate AS Paid_Date ,tp.DOS FROM […]
AD, powershell and ssis - Hi, i have a requirement that involves visiting multiple folders in AD for active, disabled etc computers.   Other attributes  might need to be extracted as well including associated users and locations.   From what im seeing in AD,  at least sometimes the description column here has the user name.  And the folder can be the location.  […]
SQL Server 2022 - Administration
DbDefence - how does work this tool? - How it is implemented?  I have installed, tried, it is free for dbs <=30 mb. I have asked their support: MS declared XP's are legacy and do not use them, they will be removed in the future versions. It was written some versions ago. What you will do? But DbDefence support answered: MS wrote but […]
SSMS gets very messy - At work we have quite a few databases that I'm frequently browsing. This is quickly becoming a real mess when I need to switch between different SSMS'es (I need to start them with different credentials) and different databases. My questions is, do you guys have any hints to make working with lots of databases/tables within […]
SQL Server 2022 - Development
Transpose sql table rows into columns - I want to transpose sql table rows to columns. I have written a query for that already but its taking a very long time (around 15 min) as the number of rows in the table is high like 8M+. Is there any other way to write the query to get the same output with improved […]
 

 

RSS FeedTwitter

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.
©2019 Redgate Software Ltd, Newnham House, Cambridge Business Park, Cambridge, CB4 0WZ, United Kingdom. All rights reserved.
webmaster@sqlservercentral.com

 

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -