SQLServerCentral - www.sqlservercentral.com

A community of more than 1,600,000 database professionals and growing

Featured Contents

The Voice of the DBA

Data Clarity

There was an Associated Press (AP) report recently that noted Google applications track your location, even if you're turned off Location History on your Android phone. The article has details about what the AP noted, as well as the report from some researchers that were testing the functionality. You can read the details, but the issue doesn't seem to be as simple as the headline of the report.

Google has responded to the claims, saying that they document and explain the various settings that need to be changed in the applications themselves to prevent any tracking. That might be the case in the eyes of the engineers that built the functionality, but I would tend to argue that the expectations, the descriptions, and explanations we use as technology professionals might not be clear enough for most users. We ought to be documenting, explaining, and even coding systems for users that aren't as familiar as we are with the technology.

This is an interesting issue. Not the location tracking, since I assume Apple, Google, government, and more can track my phone if they really want. To me, the issue is that we have data practices that are not clear to the end user. What Google documents, what they do with new services and features, and what the clients expect are not necessarily the same. That's an issue, and I suspect it's a similar issue for many companies.

Most of us collect some level of detail from our software on how the user interacts with it. This might be a local log, or it might be some sort of telemetry, similar to what Microsoft collects from SQL Server. In either case, I think it's important to spell out what data is being collected and to what extent this data is related to a specific individual or company. The changes to data handling as a result of the GDPR and other legislation might require that we do a better job of disclosing any data we collect, and in which specific circumstances.

I know that data matters, but I also think that lots of the information that is collected doesn't need to be related to a specific individual. Aggregates or tokenized data is often enough, though if you need to track a particular individual over time, such as the features they use in their install, be sure that you are very careful with any sensitive data, such as names, locations, etc. Most of us don't have Google's resources to combat legal action if customers find we are infringing on their privacy.

Steve Jones from SQLServerCentral.com

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


The Voice of the DBA Podcast

Listen to the MP3 Audio ( 3.6MB) podcast or subscribe to the feed at iTunes and Libsyn. feed

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
SQL Monitor

What’s the top challenge faced by SQL Server professionals in 2018?

Learn how 626 SQL Server professionals monitor their estates in our new report on the State of SQL Server Monitoring. Discover the challenges currently facing the industry, and what is coming next.  Download your free copy of the report

SQL Prompt

Write, format, analyze, and refactor SQL fast with SQL Prompt

Writing SQL is 50% faster with SQL Prompt. Your SQL code can be formatted just the way you like it, you can create and share snippets with your team, and with code analysis you get suggestions to improve your SQL as you type. Download your free trial

Featured Contents

 

Creating an Azure SQL Database - Level 3 of the Stairway to Azure SQL Database

Arun Sirpal from SQLServerCentral.com

Learn how to create a SQL Server database in Azure in this level. More »


 

Free eBook: Fundamentals of SQL Server 2012 Replication

Press Release from Redgate

Fundamentals of SQL Server 2012 Replication provides a hands-on introduction to SQL Server replication. The book introduces you to the technologies that make up replication, and then walks you through setting up different replication scenarios. When you've finished reading, you should be able to implement your own multi-server replication setup while following the principle of least privilege. More »


 

Handling error converting data type varchar to numeric in SQL Server

Additional Articles from MSSQLTips.com

Error converting data type varchar to numeric may occur when trying to import data that looks like numbers, but doesn't act like a number. Read how to solve this issue. More »


 

From the SQLServerCentral Blogs - Cleaning up Query Store data after database restore

carlos10robles from SQLServerCentral Blogs

Query Store is a very powerful tool for performance tuning, if you are not using it already you should!! It... More »


 

From the SQLServerCentral Blogs - What are my permissions?

Kenneth Fisher from SQLServerCentral Blogs

Permissions are a common concern. One of the most frequent requests I get is I need X, Y and Z... More »

Question of the Day

Today's Question (by Steve Jones):

I have a data frame with the passing leaders for the last three seasons of the NFL. The data looks like this:

 > passers Season Player Team Yards 1 2016 Drew Brees NOR 5208 2 2016 Matt Ryan ATL 4944 3 2016 Kirk Cousins WAS 4917 4 2016 Aaron Rodgers GNB 4428 5 2016 Philip Rivers SDG 4386 6 2016 Matthew Stafford DET 4327 7 2016 Joe Flacco BAL 4317 8 2016 Andrew Luck IND 4240 9 2016 Carson Palmer ARI 4233 10 2016 Russell Wilson SEA 4219 

I want to plot a histogram of the number of times that a player as thrown for certain values of yards. Meaning I want a count of a frequency on one axis with the number of yards on the other.

I decide to use the hist() function, but what do I pass in?

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: R Language.

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

Expert T-SQL Window Functions in SQL Server

Expert T-SQL Window Functions in SQL Server takes you from any level of knowledge of windowing functions and turns you into an expert who can use these powerful functions to solve many T-SQL queries. Replace slow cursors and self-joins with queries that are easy to write and fantastically better performing, all through the magic of window functions. Get your copy from Amazon today.

Yesterday's Question of the Day

Yesterday's Question (by Steve Jones):

In SQL Server 2016, what is a column set?

Answer: This is a defined column that returns the values for all sparse columns in the table

Explanation:

A Column Set is a column that is defined in the table and contained all the values for sparse columns in a table. The column is created as:

 CREATE TABLE t ( i int SPARSE, cs xml column_set FOR ALL_SPARSE_COLUMNS ); 

Ref: Use Column Sets - 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.

SQL Server 2017 : SQL Server 2017 - Development

Convert Varchar field - I have a Varchar field with units in inches :( that i need to convert to an integer (Unfortunately the " and...

Insert with dynamic SQL and Cursor for variable table/columns according to update list - Hi! I have a bit of a problem for a while. I have updated tables in Database A. These tables gets...

Row-by-row insert with error handling -- Stored Procedures vs. SSIS - Hello, I have dynamic inserts and update statements that are created based on a select from sys.columns. My inserts and updates...


SQL Server 2016 : SQL Server 2016 - Administration

Easiest way to show client query results - I'm trying to figure out how I can basically print my query results and give them to the user before...

Best way to prep LOGINS, JOBS, Replication, Proxies for a recovery scenario - Is there a tool out there that will help prep for a RECOVERY scenario (outside of the system and application...

Double Hop - Again - Morning Guys, I am trying to solve the dreaded double-hop issue, whereby I have an SSIS Package on one server that...


SQL Server 2016 : SQL Server 2016 - Development and T-SQL

Absolutely New to this. Need to query a website to get information. - Any help would be much appreciated.  I need to query a website for a number (Sales Figure) and insert it...

index scan where seek expected - On a SQL 2016 instance I have a large table with dozens of columns including: COLA INT COLB BIT and nonclustered index: (COLA...

Executing same SQL code twice - I have an SQL query which uses a DateFrom and DateTo variable. This query later will go into a stored...


SQL Server 2014 : Development - SQL Server 2014

I need some help with Text data type in SQL Server table. - I am trying to insert into table the approximately 74 thousand characters but Text datatype allows me to insert only...


SQL Server 2012 : SQL Server 2012 - T-SQL

Code to list dates end of month dates between specific start and end date ranges - Hello, Looking to list out end of month dates between a start and an end point in specific data set.   For instance,  Id ...

Trying to do a BCP export of a table - Hi, I am Trying to do a BCP export of a table. I am using the following that I got online: EXEC...

Update row values between 2 dates before on the given date on the same account and with flag based on x number of days - I have 2 tables below. Table A contained the Spike value 2 different dates spike reading on the same AccountNum...


SQL Server 2008 : SQL Server 2008 - General

Does SQL compression process takes additional temporary disk space?, 1.2 TB database to compress - Compressing 1.2 TB database. Do I need temporary disk space for compression?. My largest table is 132 GB and for compressing,...


SQL Server 2008 : SQL Server Newbies

Prevent duplicates in a table - I am entering 'salaries' information into a sql server table called 'salaries'. Fields are : id (pk,identity),c_id (int),month,year,salary. I use a stored procedure...


Data Warehousing : Integration Services

Is it possible to retrieve name(s) of SSIS package(s) that have an Exec SQL task that executes a specific SP? - Is it possible to find out names of SSIS packages scheduled via Agent that that execute a specific stored procedure...

Uploading file to SharePoint Document Library using SSIS - Hi all, I am sorry if this is already answered somewhere or does not belong to this forum (or worst to...


SQLServerCentral.com : Articles Requested

TRY_PARSE - A look at this new T-SQL function, along wiht some examples of where this can help prevent errors in code

SQL Server 2016 SSIS Basics - We have the Stairway to SSIS, but things have changed. I had a request for installing SSDT and a basic...

Bending strings - Based on this, which is an interesting problem: http://www.sqlservercentral.com/Forums/Topic1625170-2799-1.aspx Show how to move rows to a delimited string and then summarize.

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