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

Daily Coping Tip

Share your most important goals with the people you trust

I also have a thread at SQLServerCentral dealing with coping mechanisms and resources. Feel free to participate.

For many of you out there working in a new way, I'm including a thought of the day on how to cope in this challenging time from The Action for Happiness Coping Calendar. My items will be on my blog, feel free to share yours.

Chopping Off Data

Do you know the difference between XLS and XLSX? They're both Excel formats, and many of us might just use one or the other. After all, the latest versions of Excel work with both, and if you've been using a spreadsheet for years, perhaps you stick with the older format when exchanging data with others.
As many of you might have seen, Public Health England recently learned there is a difference with large amounts of data. They found data was being chopped off in a spreadsheet because they were using the old XLS format, which only supports 65k rows. The newer XLSX format will support a million rows, but both numbers are far below what SQL Server, MySQL, PostgreSQL, and other platforms support. Those platforms support billions, and most are limited only by the storage available.
 
I know that pandemic has had many groups scrambling to assemble and analyze data. We have people building dashboards and gathering data together in numerous ways, from paper and pencil to Excel to (hopefully) enterprise databases. An import into a relational store would make more sense than Excel, but I also understand that setting a schema, dealing with ETL and different formats from different sources, and other issues are a pain. There is a reason data professionals get paid a lot of money for these tasks.
 
To me, this highlights one of the issues of working with SQL Server, MySQL, PostgreSQL, etc., in that they are cumbersome and difficult to get started with. Even if scientists chose Cassandra or MongoDB, there would be issues, because there aren't easy, simple client tools that facilitate work with data sets coming in disparate text files and formats.
 
I don't mean to excuse this, because IT professionals should know better. If you're using XLS, stop. Data volumes increase and you don't want to realize you've hit the limit after data is lost.
 
I get the ease and convenience of using Excel, but stop using it for major projects once we realize these are important. Once you realize this is data that needs to be intact, secured, and protected, put it in a real platform. Excel, PowerBI, and most tools can query SQL Server.
Use them, just not as your database.

Steve Jones - SSC Editor

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

 
 Featured Contents

Connecting to SQL Server with MuleSoft AnyPoint 3.9

The xTEN Team from SQLServerCentral

I usually write about SQL Server, but I thought I'd share my experience of using SQL Server from MuleESB. If you haven't used Mule before, it's an open-source ESB (enterprise service bus), which also has a paid-for Enterprise version. I've been using it since 2015 and have been impressed with how quickly we can create […]

Bringing Data Catalog into your CI/CD pipeline

Additional Articles from Redgate

As business rules shift and data structures change, organizations need to be able to maintain and update their data catalog. Discover how you can implement an automated solution using PowerShell and Redgate’s SQL Change Automation.

Orchestrating Azure Databricks Notebooks with Azure Data Factory

Additional Articles from MSSQLTips.com

Learn how to orchestrate your Databricks notebooks through Azure Data Factory in this article with a step by step walkthrough.

From the SQL Server Central Blogs - T-SQL Tuesday 131: Data Analogies, or: Explain Databases Like I’m Five!

Diligentdba 46159 from Mala's Data Blog

This month’s TSQL2sday is hosted by one of my favorite presenters, Rob Volk. His challenge for us is to use analogies and explain a database concept like you would...

From the SQL Server Central Blogs - Most Costly Statement in a Stored Procedure

Grant Fritchey from The Scary DBA

A lot of stored procedures have multiple statements and determining the most costly statement in a given proc is a very common task. After all, you want to focus...

 

 Question of the Day

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

 

Setting Affinity

I want to set an affinity mask in SQL Server 2019. What sp_configure setting would I choose to alter to make this change?

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)

Stopping Compute in Azure VMs

I have created an Azure VM, but I don't need to use it for the next two weeks while I am on vacation. What should I do to reduce the cost of my resource as much as possible, while making it easy to restart later?

Answer: Deallocate the VM

Explanation: If you deallocate a VM, you only pay for the storage cost. The definition of the VM remains, and you are not charged for compute, but you can restart it when you return. Ref: Deallocate Azure Virtual Machines - https://support.hostway.com/hc/en-us/articles/360001059850-Deallocate-Azure-Virtual-Machines

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 2017 - Administration
Set permisson user allow connect with application, don't allow connect with ssms - Hello, guys. I use .net to code, can i set permisson a sql user only can connect in connection string in .net code, and not allow that user login with ssms ?
Maint Plan Failing after 'sa' Disabled - I have 4 Maint Plans, 1 of which fails because 'sa' is disabled, but I don't see 'sa' specified in the plan. It rebuilds indexes, updates statistics, deletes old backups, then takes new backups. The other 3 Maint Plans just run DIFFS and T-Log backups. All 4 Scheduled Job Owners are a Windows account. On […]
SQL Server 2016 - Administration
RING_BUFFER_RESOURCE_MONITOR - IndicatorsPool? - Hi all, i've been looking into an odd issue with possible plan cache memory starvation (SQL couldn't generate a query plan prior to timeout for unchanged procs that happily compliled previously) , and spotted quite frequent RESOURCE_MEMPHYSICAL_LOW events. IndicatorsProcess and IndicatorsSystem are both 0, but IndicatorsPool is 2, and I can't find any information around […]
Always On Availability Groups Issue - Hi, I see couple of below errors for 2 sql server instances i.e. primary and secondary. When I see the dashboard, it displayed the state as critical and after few minutes it turned green (I mean the databases we are online and synchronized). I do not see any databases on both the instances in recovery […]
SQL Server 2016 - Development and T-SQL
A real challenge and I need suggestions on efficient ways to solve it - I have a need to determine the site of cancer given some complexities. Each cancer patient has up to 4 diagnosis codes with the first being the primary. I currently have a mapping table that is capable of mapping up to two values to a result value. Currently I only check the primary diagnosis to […]
Varchar to datetime - Hi, How can I convert SCHEDSTART varchar(25)  '2020-06-07-12.30.00.00000'   to datetime  '2020-06-07 12:30:00.000' SELECT convert(datetime,(left([SCHEDSTART],10) +' ' + left(Right([SCHEDSTART],14), 12) ), 127) didnt work. Any help ?
Administration - SQL Server 2014
PBM - result_detail column in syspolicy_policy_execution_history_details - Hello, we use PBM to monitor last full and last log backup. PBM created, nothing special so far. We created a stored procedure and a job querying syspolicy_policy_execution_history joining syspolicy_policy_execution_history_details to get the result of the PBM and send it as e-mail. So far so good. But we want to include the expected result in […]
SQL Server 2012 - T-SQL
using parameter and not using parameter , the result is different - declare @YYMMDD DATETIME set @YYMMDD='2020-09-23 00:00:00.000' select CONVERT(VARCHAR(6), '2020-09-23 00:00:00.000', 112) , CONVERT(VARCHAR(6), @YYMMDD, 112) same value, when we use parameter to pass the value, and not using parameter, the result is not same, what is the reason ? thanks!          
SQL Server 2019 - Administration
How does dns determine what ip to resolve to in an multisubnet AG? - When a SQL Listener is created on a Multi Subnet environment 2 x ip addresses are assigned. AG Name - SQLAG1 AG Listener Name - SQLAG1-LI 10.0.0.1 10.0.10.1 I have given the ip addresses above for example. In DNS there are 2 x entries for the SQLAG1-LI one for each of the IP addresses. A […]
SnapCenter Server Backup for SQL - Hello, do you have any experience with SnapCenter Server 4.3. Can we say that is a valid backup? can we use like a primary backup? I have some testing now, and I am afraid how is working with this web app. Thanks
I've lost the ability to connect to my SQL 2019 instance - On my home Windows 10 Professional desktop PC, I've got SQL Server 2019 Developer Edition installed. I thought I had mixed mode but am not so sure. A month or two ago I had problems with my Windows profile - it became corrupted. So, I disabled it and created a new Windows Profile. I thought […]
SQL Server 2019 - Development
\'DBMS_DATA_MINING\' is not a recognized CURSOR option - Is DBMS_DATA_MINING available in SQL Server 2019? This is error: 'DBMS_DATA_MINING' is not a recognized CURSOR option
Analysis Services
Where is the AdventureWorks 2008R2 Analysis Services project download? - I need the 2008R2 version because I want to climb the Stairway to MDX and in Level 1 it says: Consider working, therefore, with 2008R2, if at all possible: learning the basics of MDX is challenging enough for most that are new to it, without the additional distractions imposed by working with older releases. In […]
Integration Services
SSIS Package that updates two databases on the same SQL Server instance - Hi, I have a large script that is querying and updating two databases on the same SQL Server instance (one client database and the MSDB).  I'd like to publish this script in an SSIS package, but when I do so it complains that I don't have authorization to update the MSDB database.  I have created […]
SSIS package error on remote database - hello everyone, so i have created a SSIS package that i want it to run on another server, so example below: Server A is running the SSIS package, and the destination is Server B, that i want it to run under a certain account, like either the network service or system service, which has the […]
 

 

RSS FeedTwitter

This email has been sent to {email}. 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

 

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